projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment explaining the role of wxMacExecute
[wxWidgets.git]
/
samples
/
richedit
/
wxLayout.h
diff --git
a/samples/richedit/wxLayout.h
b/samples/richedit/wxLayout.h
index d64cd7414943ccefb544624d82c9705b5665ad23..986c341b858b4659c96016f31dfb349e1ccd54d3 100644
(file)
--- a/
samples/richedit/wxLayout.h
+++ b/
samples/richedit/wxLayout.h
@@
-26,14
+26,13
@@
class MyApp;
class MyFrame: public wxFrame
{
class MyFrame: public wxFrame
{
- DECLARE_DYNAMIC_CLASS(MyFrame)
-
public:
-
-
MyFrame(void
);
- void AddSampleText(wxLayoutList *llist);
-
void Clear(void
);
- void OnCommand( wxCommandEvent &event );
+public:
+
+
MyFrame(
);
+
void AddSampleText(wxLayoutList *llist);
+
void Clear(
);
+
void OnCommand( wxCommandEvent &event );
void OnPrint(wxCommandEvent& event);
void OnPrintPreview(wxCommandEvent& event);
void OnPrint(wxCommandEvent& event);
void OnPrintPreview(wxCommandEvent& event);
@@
-44,11
+43,14
@@
class MyFrame: public wxFrame
void OnPrintSetupPS(wxCommandEvent& event);
void OnPageSetupPS(wxCommandEvent& event);
void OnPrintSetupPS(wxCommandEvent& event);
void OnPageSetupPS(wxCommandEvent& event);
- DECLARE_EVENT_TABLE()
private:
private:
- wxLayoutWindow *m_lwin;
- wxPrintData m_PrintData;
+ wxLayoutWindow *m_lwin;
+ wxPrintData m_PrintData;
+
+ DECLARE_DYNAMIC_CLASS(MyFrame)
+
+ DECLARE_EVENT_TABLE()
};
//-----------------------------------------------------------------------------
};
//-----------------------------------------------------------------------------
@@
-57,10
+59,13
@@
private:
class MyApp: public wxApp
{
class MyApp: public wxApp
{
- public:
-
- MyApp(void);
- virtual bool OnInit(void);
+public:
+
+ MyApp();
+
+ virtual bool OnInit();
+
};
#endif // __WXCONVERTH__
};
#endif // __WXCONVERTH__
+