// Created: 25/10/98
// RCS-ID: $Id$
// Copyright: (c)
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include <wx/notebook.h>
{
public:
bool OnInit(void);
- void InitTabView(wxNotebook* notebook, wxWindow* window);
+ void InitTabView(wxNotebook* notebook, wxPanel* window);
wxButton* m_okButton;
wxButton* m_cancelButton;
DECLARE_APP(MyApp)
+#if USE_TABBED_DIALOG
+
class MyDialog: public wxDialog
{
public:
protected:
wxNotebook* m_notebook;
-DECLARE_EVENT_TABLE()
+ DECLARE_EVENT_TABLE()
};
+#else // USE_TABBED_DIALOG
+
class MyFrame: public wxFrame
{
public:
void OnCloseWindow(wxCloseEvent& event);
void OnAddPage(wxCommandEvent& event);
void OnDeletePage(wxCommandEvent& event);
- void OnSize(wxSizeEvent& event);
void OnIdle(wxIdleEvent& event);
void Init();
wxNotebook* m_notebook;
wxPanel* m_panel; // Panel containing notebook and OK/Cancel/Help
-DECLARE_EVENT_TABLE()
+ DECLARE_EVENT_TABLE()
};
+#endif // USE_TABBED_DIALOG
+
// File ids
#define TEST_ABOUT 2