diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 12:06:14 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 12:06:14 +0000 |
commit | 7d8d0882d6df8938dea07f397fd3a4e6c341008b (patch) | |
tree | 399521193d066462e23414d67018f04e67eb70d7 /vcl/source | |
parent | 3f30a8abe7e2ce04912d647aa1ba640d4fc02b77 (diff) |
INTEGRATION: CWS awtfixes1 (1.22.10); FILE MERGED
2007/08/17 14:55:02 mmeeks 1.22.10.2: RESYNC: (1.22-1.23); FILE MERGED
2007/08/17 13:52:58 mmeeks 1.22.10.1: Issue number: i#80754#
Submitted by: mmeeks
Start of virtual method for sizing ...
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/msgbox.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 61b73164cc7f..a95527f67598 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -4,9 +4,9 @@ * * $RCSfile: msgbox.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: rt $ $Date: 2007-07-24 10:21:07 $ + * last change: $Author: ihi $ $Date: 2008-01-14 13:06:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -680,3 +680,14 @@ Image QueryBox::GetStandardImage() ImplInitMsgBoxImageList(); return ImplGetSVData()->maWinData.mpMsgBoxImgList->GetImage( 2 ); } + +Size MessBox::GetOptimalSize(WindowSizeType eType) const +{ + switch( eType ) { + case WINDOWSIZE_MINIMUM: + // FIXME: base me on the font size ? + return Size( 250, 100 ); + default: + return Window::GetOptimalSize( eType ); + } +} |