X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fe30bceff0445f540e639d2b6d3977d56b34020..cfcc02a8a4f019e3846b73660209080602e44967:/utils/helpview/src/client.cpp diff --git a/utils/helpview/src/client.cpp b/utils/helpview/src/client.cpp index 66dc71fde5..dfcae4f0d0 100644 --- a/utils/helpview/src/client.cpp +++ b/utils/helpview/src/client.cpp @@ -182,7 +182,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title) // Make a panel m_panel = new wxPanel(this ); - m_modalbutton = new wxButton( this, BUTTON_MODAL, "Modal Dialog", + m_modalbutton = new wxButton( this, BUTTON_MODAL, "Modal Dialog", wxPoint(10,10), wxDefaultSize ); } @@ -266,7 +266,6 @@ MyModalDialog::MyModalDialog(wxWindow *parent) sizerTop->Add(m_book1, 0, wxALIGN_CENTER | wxALL, 5); sizerTop->Add(m_book2, 0, wxALIGN_CENTER | wxALL, 5); - SetAutoLayout(true); SetSizer(sizerTop); sizerTop->SetSizeHints(this);