X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/691d944f7e7646df976c0fbd179a0756c1bb182d..a66dece0c5379f15263807f9c89b375cc60c6a31:/samples/docvwmdi/view.cpp diff --git a/samples/docvwmdi/view.cpp b/samples/docvwmdi/view.cpp index 37b2627687..a598fbc132 100644 --- a/samples/docvwmdi/view.cpp +++ b/samples/docvwmdi/view.cpp @@ -54,7 +54,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(wxDefaultPosition.x, wxDefaultPosition.y, x, y); + frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y); #endif frame->Show(true); Activate(true); @@ -147,7 +147,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(wxDefaultPosition.x, wxDefaultPosition.y, x, y); + frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y); #endif frame->Show(true);