X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c62ac5b6e49ed327d4cc2c815e2e5a05f7f5ec3c..5b7f1aab47f7560046f8e5f7f9dc34b468f9200f:/samples/layout/layout.h diff --git a/samples/layout/layout.h b/samples/layout/layout.h index 14bbd7a502..7aad45fd82 100644 --- a/samples/layout/layout.h +++ b/samples/layout/layout.h @@ -33,7 +33,6 @@ class MyFrame: public wxFrame void LoadFile(wxCommandEvent& event); void Quit(wxCommandEvent& event); - void TestSizers(wxCommandEvent& event); void TestNewSizers(wxCommandEvent& event); void About(wxCommandEvent& event); @@ -62,25 +61,12 @@ class MyWindow: public wxWindow 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