summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2011-11-30 22:27:50 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-11-30 22:28:53 +0400
commit858def93c81ab4c94fdf191b7495eeb01a9c3d2f (patch)
tree0ff0d5ed8f0700c096356e11de088d9d21b289bd /vcl
parent0e3f81ae4d277cd2cfeb1e70204266d769dc2a3e (diff)
fix previous commit, really move initial focus to printer selection
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/printdlg.hxx10
-rw-r--r--vcl/source/window/printdlg.cxx8
2 files changed, 9 insertions, 9 deletions
diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx
index 4afe1c0134a6..7aea96b43e54 100644
--- a/vcl/inc/printdlg.hxx
+++ b/vcl/inc/printdlg.hxx
@@ -212,17 +212,17 @@ namespace vcl
void setupLayout();
};
+ TabControl maTabCtrl;
+ NUpTabPage maNUpPage;
+ JobTabPage maJobPage;
+ OutputOptPage maOptionsPage;
+
PrintPreviewWindow maPreviewWindow;
NumericField maPageEdit;
FixedText maNumPagesText;
PushButton maBackwardBtn;
PushButton maForwardBtn;
- TabControl maTabCtrl;
- NUpTabPage maNUpPage;
- JobTabPage maJobPage;
- OutputOptPage maOptionsPage;
-
FixedLine maButtonLine;
OKButton maOKButton;
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 546fa49fab70..61195552c602 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -718,15 +718,15 @@ void PrintDialog::OutputOptPage::storeToSettings()
PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterController>& i_rController )
: ModalDialog( i_pParent, VclResId( SV_DLG_PRINT ) )
+ , maTabCtrl( this, VclResId( SV_PRINT_TABCTRL ) )
+ , maNUpPage( &maTabCtrl, VclResId( SV_PRINT_TAB_NUP ) )
+ , maJobPage( &maTabCtrl, VclResId( SV_PRINT_TAB_JOB ) )
+ , maOptionsPage( &maTabCtrl, VclResId( SV_PRINT_TAB_OPT ) )
, maPreviewWindow( this, VclResId( SV_PRINT_PAGE_PREVIEW ) )
, maPageEdit( this, VclResId( SV_PRINT_PAGE_EDIT ) )
, maNumPagesText( this, VclResId( SV_PRINT_PAGE_TXT ) )
, maBackwardBtn( this, VclResId( SV_PRINT_PAGE_BACKWARD ) )
, maForwardBtn( this, VclResId( SV_PRINT_PAGE_FORWARD ) )
- , maTabCtrl( this, VclResId( SV_PRINT_TABCTRL ) )
- , maNUpPage( &maTabCtrl, VclResId( SV_PRINT_TAB_NUP ) )
- , maJobPage( &maTabCtrl, VclResId( SV_PRINT_TAB_JOB ) )
- , maOptionsPage( &maTabCtrl, VclResId( SV_PRINT_TAB_OPT ) )
, maButtonLine( this, VclResId( SV_PRINT_BUTTONLINE ) )
, maOKButton( this, VclResId( SV_PRINT_OK ) )
, maCancelButton( this, VclResId( SV_PRINT_CANCEL ) )