diff options
author | obo <obo@openoffice.org> | 2010-07-29 11:05:21 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-07-29 11:05:21 +0200 |
commit | 1542941a47340dcf707e8618571d0a7f399024b6 (patch) | |
tree | fd831209d2df9d412ac3c350c645170933544186 /vcl/source/control/edit.cxx | |
parent | ba8c722c3f5d0edeb307dfa0691669b543672703 (diff) | |
parent | 325dec657f22b698dadc1253bbd13d8cfc40f14c (diff) |
CWS-TOOLING: integrate CWS vcl113
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rwxr-xr-x[-rw-r--r--] | vcl/source/control/edit.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index c0e7b352642c..786b190069c4 100644..100755 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2861,6 +2861,14 @@ Size Edit::CalcMinimumSize() const return aSize; } +Size Edit::GetMinimumEditSize() +{ + Window* pDefWin = ImplGetDefaultWindow(); + Edit aEdit( pDefWin, WB_BORDER ); + Size aSize( aEdit.CalcMinimumSize() ); + return aSize; +} + // ----------------------------------------------------------------------- Size Edit::GetOptimalSize(WindowSizeType eType) const |