- public:
- MainFrame(wxFrame *frame, char *title, int x, int y, int w, int h);
- ~MainFrame(void);
+public:
+ MainFrame(wxFrame *frame, char *title, const wxPoint& pos, const wxSize& size);
+ ~MainFrame(void);
+
+public:
+ // menu callbacks
+ void OnAbout(wxCommandEvent& event);
+ void OnHelp(wxCommandEvent& event);
+ void OnQuit(wxCommandEvent& event);
+ //--------------------------------------------------------------------------------------
+ int DiffW, DiffH; // Needed the saving of Frame size
+ //--------------------------------------------------------------------------------------
+ DocSplitterWindow *p_Splitter; // for Document Views
+ MainDoc *pDoc; // Self made Document
+ wxHtmlHelpController *p_Help; // Help System
+
+ //--------------------------------------------------------------------------------------
+ DECLARE_EVENT_TABLE()
+};