]> git.saurik.com Git - wxWidgets.git/commitdiff
corrections related to wxDialog inheritance changes (wxTopLevelWindow)
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 18 Sep 2001 21:00:05 +0000 (21:00 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 18 Sep 2001 21:00:05 +0000 (21:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/notebook/notebook.cpp
samples/notebook/notebook.h

index 7943c7a028c142a18ea5379f007892f25926412e..eeb65f56d427b1e268e9fdd2da46455fa9e4941b 100644 (file)
@@ -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));
index 7cad0bed4c93ebc7ceca142f1fcf76b0139cdbe6..1f6e965f6539c792bcbc8067174bf9753def5335 100644 (file)
@@ -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;