]> git.saurik.com Git - wxWidgets.git/blob - user/wxLayout/wxLayout.h
Various documentation changes, makefile fixes
[wxWidgets.git] / user / wxLayout / wxLayout.h
1 /* -*- c++ -*- */
2
3 #ifndef __WXLAYOUTH__
4 #define __WXLAYOUTH__
5
6 #ifdef __GNUG__
7 #pragma interface
8 #endif
9
10 #include "wx/wx.h"
11
12 #include "wxllist.h"
13 #include "wxlwindow.h"
14 #include "wxlparser.h"
15
16 //-----------------------------------------------------------------------------
17 // derived classes
18 //-----------------------------------------------------------------------------
19
20 class MyFrame;
21 class MyApp;
22
23 //-----------------------------------------------------------------------------
24 // MyFrame
25 //-----------------------------------------------------------------------------
26
27 class MyFrame: public wxFrame
28 {
29 DECLARE_DYNAMIC_CLASS(MyFrame)
30
31 public:
32
33 MyFrame(void);
34 void Edit(void);
35 void AddSampleText(wxLayoutList &llist);
36 void Clear(void);
37 void OnCommand( wxCommandEvent &event );
38 DECLARE_EVENT_TABLE()
39
40 private:
41 wxLayoutWindow *m_lwin;
42
43 };
44
45 //-----------------------------------------------------------------------------
46 // MyApp
47 //-----------------------------------------------------------------------------
48
49 class MyApp: public wxApp
50 {
51 public:
52
53 MyApp(void);
54 virtual bool OnInit(void);
55 };
56
57 #endif // __WXCONVERTH__