From: Gilles Depeyrot Date: Tue, 18 Sep 2001 21:00:05 +0000 (+0000) Subject: corrections related to wxDialog inheritance changes (wxTopLevelWindow) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/563c26064082bc96ad99cd816503e2607fb7e1e5 corrections related to wxDialog inheritance changes (wxTopLevelWindow) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 7943c7a028..eeb65f56d4 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -58,7 +58,7 @@ bool MyApp::OnInit() #endif } -void MyApp::InitTabView(wxNotebook* notebook, wxPanel* window) +void MyApp::InitTabView(wxNotebook* notebook, wxTopLevelWindow* window) { m_okButton = new wxButton(window, wxID_OK, "Close", wxPoint(-1, -1), wxSize(80, 25)); m_cancelButton = new wxButton(window, ID_DELETE_PAGE, "&Delete page", wxPoint(-1, -1), wxSize(80, 25)); diff --git a/samples/notebook/notebook.h b/samples/notebook/notebook.h index 7cad0bed4c..1f6e965f65 100644 --- a/samples/notebook/notebook.h +++ b/samples/notebook/notebook.h @@ -16,7 +16,7 @@ class MyApp: public wxApp { public: bool OnInit(); - void InitTabView(wxNotebook* notebook, wxPanel* window); + void InitTabView(wxNotebook* notebook, wxTopLevelWindow* window); wxButton* m_okButton; wxButton* m_cancelButton;