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
This commit is contained in:
Vadim Zeitlin
2010-06-02 11:58:21 +00:00
parent 80d7019761
commit 5db56cd2e7

View File

@@ -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);