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:
@@ -59,7 +59,7 @@ bool MyApp::OnInit()
|
|||||||
#endif
|
#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_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));
|
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:
|
public:
|
||||||
bool OnInit();
|
bool OnInit();
|
||||||
void InitTabView(wxNotebook* notebook, wxTopLevelWindow* window);
|
void InitTabView(wxNotebook* notebook, wxWindow* window);
|
||||||
|
|
||||||
wxButton* m_okButton;
|
wxButton* m_okButton;
|
||||||
wxButton* m_cancelButton;
|
wxButton* m_cancelButton;
|
||||||
|
Reference in New Issue
Block a user