]>
git.saurik.com Git - wxWidgets.git/blob - samples/richedit/wxLayout.h
13 #include "wxlwindow.h"
14 #include "wxlparser.h"
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
27 class MyFrame
: public wxFrame
29 DECLARE_DYNAMIC_CLASS(MyFrame
)
34 void AddSampleText(wxLayoutList
*llist
);
36 void OnCommand( wxCommandEvent
&event
);
38 void OnPrint(wxCommandEvent
& event
);
39 void OnPrintPreview(wxCommandEvent
& event
);
40 void OnPrintSetup(wxCommandEvent
& event
);
41 void OnPageSetup(wxCommandEvent
& event
);
42 void OnPrintPS(wxCommandEvent
& event
);
43 void OnPrintPreviewPS(wxCommandEvent
& event
);
44 void OnPrintSetupPS(wxCommandEvent
& event
);
45 void OnPageSetupPS(wxCommandEvent
& event
);
50 wxLayoutWindow
*m_lwin
;
51 wxPrintData m_PrintData
;
54 //-----------------------------------------------------------------------------
56 //-----------------------------------------------------------------------------
58 class MyApp
: public wxApp
63 virtual bool OnInit(void);
66 #endif // __WXCONVERTH__