X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..1127eb3a6af16665bdfb32f147f2988fc49a11e0:/samples/layout/layout.h?ds=sidebyside diff --git a/samples/layout/layout.h b/samples/layout/layout.h index 34b495effc..d932a00503 100644 --- a/samples/layout/layout.h +++ b/samples/layout/layout.h @@ -103,10 +103,10 @@ class MySimpleSizerFrame : public wxFrame { public: MySimpleSizerFrame(const wxString &title, int x, int y ); - + void OnSetSmallSize( wxCommandEvent &event); void OnSetBigSize( wxCommandEvent &event); - + private: wxTextCtrl *m_target; @@ -121,8 +121,8 @@ class MyNestedSizerFrame : public wxFrame { public: MyNestedSizerFrame(const wxString &title, int x, int y ); - - + + private: wxTextCtrl *m_target; }; @@ -133,6 +133,17 @@ class MyWrapSizerFrame: public wxFrame { public: MyWrapSizerFrame(const wxString &title, int x, int y ); + +private: + void OnAddCheckbox(wxCommandEvent& event); + void OnRemoveCheckbox(wxCommandEvent& event); + + void DoAddCheckbox(); + + wxWindow* m_checkboxParent; + wxSizer* m_wrapSizer; + + DECLARE_EVENT_TABLE() }; // controls and menu constants