]>
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
33 void AddSampleText(wxLayoutList
*llist
);
35 void OnCommand( wxCommandEvent
&event
);
37 void OnPrint(wxCommandEvent
& event
);
38 void OnPrintPreview(wxCommandEvent
& event
);
39 void OnPrintSetup(wxCommandEvent
& event
);
40 void OnPageSetup(wxCommandEvent
& event
);
41 void OnPrintPS(wxCommandEvent
& event
);
42 void OnPrintPreviewPS(wxCommandEvent
& event
);
43 void OnPrintSetupPS(wxCommandEvent
& event
);
44 void OnPageSetupPS(wxCommandEvent
& event
);
48 wxLayoutWindow
*m_lwin
;
49 wxPrintData m_PrintData
;
51 DECLARE_DYNAMIC_CLASS(MyFrame
)
56 //-----------------------------------------------------------------------------
58 //-----------------------------------------------------------------------------
60 class MyApp
: public wxApp
66 virtual bool OnInit();
70 #endif // __WXCONVERTH__