]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxWindow instead of wxTopLevelWindow (not yet implemented for wxMOTIF)
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 5 Dec 2001 21:05:23 +0000 (21:05 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 5 Dec 2001 21:05:23 +0000 (21:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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

index e4c5f0eb4d14941b161558166782d69f915a0f2f..b8b321e1002d96da45dca2ec11404ac737517d14 100644 (file)
@@ -59,7 +59,7 @@ bool MyApp::OnInit()
 #endif
 }
 
-void MyApp::InitTabView(wxNotebook* notebook, wxTopLevelWindow* window)
+void MyApp::InitTabView(wxNotebook* notebook, wxWindow* 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 1f6e965f6539c792bcbc8067174bf9753def5335..2fdd3f1a341ca01caea8c9ca49b3fcaeb1e8b9cb 100644 (file)
@@ -16,7 +16,7 @@ class MyApp: public wxApp
 {
 public:
     bool OnInit();
-    void InitTabView(wxNotebook* notebook, wxTopLevelWindow* window);
+    void InitTabView(wxNotebook* notebook, wxWindow* window);
 
     wxButton*   m_okButton;
     wxButton*   m_cancelButton;