X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2aea0d1ce77036b2bee9620e1f9947d62bf0e52..40711af81b4a412892045837997211d597d98ff2:/samples/docview/view.cpp?ds=inline diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index a41b00aa0d..a3b072b381 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -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(wxDefaultPosition.x, wxDefaultPosition.y, x, y); + frame->SetSize(wxDefaultCoord, wxDefaultCoord, 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(wxDefaultPosition.x, wxDefaultPosition.y, x, y); + frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y); #endif frame->Show(true);