Motif updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,7 +57,7 @@ bool DrawingView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
|
||||
// X seems to require a forced resize
|
||||
int x, y;
|
||||
frame->GetSize(&x, &y);
|
||||
frame->SetSize(x, y);
|
||||
frame->SetSize(-1, -1, x, y);
|
||||
#endif
|
||||
frame->Show(TRUE);
|
||||
}
|
||||
@@ -168,7 +168,7 @@ bool TextEditView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
|
||||
// X seems to require a forced resize
|
||||
int x, y;
|
||||
frame->GetSize(&x, &y);
|
||||
frame->SetSize(x, y);
|
||||
frame->SetSize(-1, -1, x, y);
|
||||
#endif
|
||||
|
||||
frame->Show(TRUE);
|
||||
|
Reference in New Issue
Block a user