From 8cf3806b82cf2b80ba8adf3c27b17bbdacf1ba07 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Wed, 5 Dec 2001 21:05:23 +0000 Subject: [PATCH] use wxWindow instead of wxTopLevelWindow (not yet implemented for wxMOTIF) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/notebook/notebook.cpp | 2 +- samples/notebook/notebook.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index e4c5f0eb4d..b8b321e100 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -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)); diff --git a/samples/notebook/notebook.h b/samples/notebook/notebook.h index 1f6e965f65..2fdd3f1a34 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, wxTopLevelWindow* window); + void InitTabView(wxNotebook* notebook, wxWindow* window); wxButton* m_okButton; wxButton* m_cancelButton; -- 2.45.2