X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925e9792d32e353233985f53a4845f154e455a58..9c721ebf971a48dc512ff50bbda0a4b4cdbe1a2c:/samples/layout/layout.h?ds=sidebyside diff --git a/samples/layout/layout.h b/samples/layout/layout.h index fdb38de484..e2429e5cc6 100644 --- a/samples/layout/layout.h +++ b/samples/layout/layout.h @@ -41,7 +41,7 @@ public: MyFlexSizerFrame(const wxChar *title, int x, int y ); private: - void InitFlexSizer(wxFlexGridSizer *sizer); + void InitFlexSizer(wxFlexGridSizer *sizer, wxWindow* parent); }; @@ -84,10 +84,10 @@ private: // controls and menu constants enum { - LAYOUT_QUIT = 100, - LAYOUT_ABOUT, - LAYOUT_TEST_SIZER, - LAYOUT_TEST_NB_SIZER, - LAYOUT_TEST_GB_SIZER + LAYOUT_QUIT = wxID_EXIT, + LAYOUT_ABOUT = wxID_ABOUT, + LAYOUT_TEST_SIZER = 101, + LAYOUT_TEST_NB_SIZER = 102, + LAYOUT_TEST_GB_SIZER = 103 };