corrections related to wxDialog inheritance changes (wxTopLevelWindow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1d8dd65e62
commit
563c260640
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user