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
This commit is contained in:
Gilles Depeyrot
2001-12-05 21:05:23 +00:00
parent 3363eadf72
commit 8cf3806b82
2 changed files with 2 additions and 2 deletions

View 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));

View 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;