void LoadFile(wxCommandEvent& event);
void Quit(wxCommandEvent& event);
- void TestSizers(wxCommandEvent& event);
void TestNewSizers(wxCommandEvent& event);
void About(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
-class SizerFrame: public wxFrame
-{
- public:
- wxPanel *panel;
- SizerFrame(wxFrame *frame, char *title, int x, int y, int w, int h);
- void OnSize(wxSizeEvent& event);
-
- DECLARE_EVENT_TABLE()
-};
-
class NewSizerFrame: public wxFrame
{
public:
wxPanel *panel;
- wxNewSizer *topsizer;
NewSizerFrame(wxFrame *frame, char *title, int x, int y );
- void OnSize(wxSizeEvent& event);
-
- DECLARE_EVENT_TABLE()
+
};
#define LAYOUT_QUIT 100