From: Vadim Zeitlin Date: Wed, 2 Jun 2010 11:58:21 +0000 (+0000) Subject: Don't hard code position of the drawing sample window and increase its size. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5db56cd2e7f658c4f1500d8265e32711590445da?ds=inline Don't hard code position of the drawing sample window and increase its size. Hardcoding position to 50,50 is inconvenient, let the window manager position the window as configured by user. Also, the vertical size of the sample was too small to see the contents of most pages, increase it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 2e2084b62b..36ecfb4489 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -345,7 +345,7 @@ bool MyApp::OnInit() // Create the main application window MyFrame *frame = new MyFrame(wxT("Drawing sample"), - wxPoint(50, 50), wxSize(550, 340)); + wxDefaultPosition, wxSize(550, 840)); // Show it and tell the application that it's our main window frame->Show(true);