diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-02-10 18:55:30 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-02-10 18:55:30 +0100 |
commit | ab8f91dc7359fb53642632d2d9232f90579169ac (patch) | |
tree | 61664dafc2489e81eab0c899e03571388ac5514c /vcl/source | |
parent | e41530c0b891a18eb15a18d57f6bcc2881f6af67 (diff) |
ppp02: #i109022# create automnemonics before layouting
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 4b1f0b850b57..a8259078637a 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1654,6 +1654,12 @@ void PrintDialog::setupOptionalUI() maJobPage.maLayout.setBorders( nIndex-1, 0, 0, 0, aBorder.Width() ); #endif + // create auto mnemomnics now so they can be calculated in layout + ImplWindowAutoMnemonic( &maJobPage ); + ImplWindowAutoMnemonic( &maNUpPage ); + ImplWindowAutoMnemonic( &maOptionsPage ); + ImplWindowAutoMnemonic( this ); + // calculate job page Size aMaxSize = maJobPage.maLayout.getOptimalSize( WINDOWSIZE_PREFERRED ); // and layout page |