]> git.saurik.com Git - wxWidgets.git/blame - user/wxLayout/wxLayout.h
(very) small changes for Windows compilation
[wxWidgets.git] / user / wxLayout / wxLayout.h
CommitLineData
a5f81d8c
KB
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
20class MyFrame;
21class MyApp;
22
23//-----------------------------------------------------------------------------
24// MyFrame
25//-----------------------------------------------------------------------------
26
27class 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 );
3ebece2b
KB
38
39 void OnPrint(wxCommandEvent& event);
40 void OnPrintPreview(wxCommandEvent& event);
41 void OnPrintSetup(wxCommandEvent& event);
42 void OnPageSetup(wxCommandEvent& event);
43 void OnPrintPS(wxCommandEvent& event);
44 void OnPrintPreviewPS(wxCommandEvent& event);
45 void OnPrintSetupPS(wxCommandEvent& event);
46 void OnPageSetupPS(wxCommandEvent& event);
47
a5f81d8c
KB
48 DECLARE_EVENT_TABLE()
49
50private:
51 wxLayoutWindow *m_lwin;
52
53};
54
55//-----------------------------------------------------------------------------
56// MyApp
57//-----------------------------------------------------------------------------
58
59class MyApp: public wxApp
60{
61 public:
62
63 MyApp(void);
64 virtual bool OnInit(void);
65};
66
67#endif // __WXCONVERTH__