]>
git.saurik.com Git - wxWidgets.git/blob - samples/toolbar/test.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxToolBar sample
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // Define a new application
13 class MyApp
: public wxApp
17 bool InitToolbar(wxToolBar
* toolBar
);
21 class MyFrame
: public wxFrame
24 MyFrame(wxFrame
*parent
, wxWindowID id
= -1, const wxString
& title
= "wxToolBar Sample",
25 const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
,
26 long style
= wxDEFAULT_FRAME_STYLE
);
28 void OnCloseWindow(wxCloseEvent
& event
);
29 void OnQuit(wxCommandEvent
& event
);
30 void OnAbout(wxCommandEvent
& event
);
31 void OnToolLeftClick(wxCommandEvent
& event
);
32 void OnToolEnter(wxCommandEvent
& event
);
35 wxTextCtrl
* m_textWindow
;