work around wx2.8 wierdness
This commit is contained in:
parent
367bfb4e14
commit
898275fa43
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue