work around wx2.8 wierdness

This commit is contained in:
Dick Hollenbeck 2012-08-16 10:34:41 -05:00
parent 367bfb4e14
commit 898275fa43
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ void DIALOG_PRINT_USING_PRINTER::OnPrintPreview( wxCommandEvent& event )
// on first invocation in this runtime session, set to 2/3 size of my parent,
// but will be changed in Show() if not first time as will position.
frame->SetSize( (2 * parent->GetSize()) / 3 );
frame->SetSize( (parent->GetSize() * 2) / 3 );
frame->Center();
frame->Initialize();