]> git.saurik.com Git - wxWidgets.git/blob - samples/minifram/test.h
db0f7dc5daebf1e2e2a0de357f8468e10a63b4c4
[wxWidgets.git] / samples / minifram / test.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: test.h
3 // Purpose: wxToolBar sample
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 23/07/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart and Robert Roebling
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/minifram.h"
13
14 // Define a new application
15 class MyApp: public wxApp
16 {
17 public:
18 bool OnInit(void);
19 bool InitToolbar(wxToolBar* toolBar);
20 };
21
22 // Define a new frame
23 class MyFrame: public wxMiniFrame
24 {
25 public:
26 MyFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = "wxToolBar Sample",
27 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize );
28
29 void OnCloseWindow(wxCloseEvent& event);
30
31 DECLARE_EVENT_TABLE()
32 };
33
34 #define ID_TOOLBAR 500
35