]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
compilation fix for WXWIN_COMPATIBILITY_2_2
[wxWidgets.git] / samples / notebook / notebook.cpp
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));