X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f7c30516facfb272fc116aec4d3f9c3a9de085..0fd078b7fc55d5bfa7e3d8e82955dc3341de8a8f:/samples/layout/layout.h diff --git a/samples/layout/layout.h b/samples/layout/layout.h index d7a8f8ef72..d932a00503 100644 --- a/samples/layout/layout.h +++ b/samples/layout/layout.h @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // Define a new application @@ -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