Motif and other mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-10-26 17:10:25 +00:00
parent f4a4bd13d4
commit 4b5f3fe655
60 changed files with 618 additions and 203 deletions

View File

@@ -14,8 +14,15 @@ class MyApp: public wxApp
{
public:
bool OnInit(void);
void InitTabView(wxPanelTabView* view, wxWindow* window);
wxButton* m_okButton;
wxButton* m_cancelButton;
wxButton* m_helpButton;
};
DECLARE_APP(MyApp)
class MyDialog: public wxTabbedDialog
{
public:
@@ -24,6 +31,37 @@ public:
void OnOK(wxCommandEvent& event);
void OnCloseWindow(wxCloseEvent& event);
void Init(void);
DECLARE_EVENT_TABLE()
};
class MyFrame: public wxFrame
{
public:
MyFrame(wxFrame* parent, const wxWindowID id, const wxString& title,
const wxPoint& pos, const wxSize& size, const long windowStyle = wxDEFAULT_FRAME_STYLE);
void OnOK(wxCommandEvent& event);
void OnCloseWindow(wxCloseEvent& event);
void OnSize(wxSizeEvent& event);
void Init(void);
protected:
wxTabbedPanel* m_panel;
wxPanelTabView* m_view;
DECLARE_EVENT_TABLE()
};
class MyTabbedPanel: public wxTabbedPanel
{
public:
MyTabbedPanel(wxWindow* parent, const wxWindowID id,
const wxPoint& pos, const wxSize& size, const long windowStyle = 0);
void OnOK(wxCommandEvent& event);
void OnCloseWindow(wxCloseEvent& event);
// void OnAbout(wxCommandEvent& event);
void Init(void);