+// a frame for testing simple setting of a frame containing
+// a sizer containing a panel containing a sizer containing
+// controls
+class MyNestedSizerFrame : public wxFrame
+{
+public:
+ MyNestedSizerFrame(wxFrame* parent);
+
+
+private:
+ wxTextCtrl *m_target;
+};
+
+// a frame with several wrapping sizers
+
+class MyWrapSizerFrame: public wxFrame
+{
+public:
+ MyWrapSizerFrame(wxFrame* parent);
+
+private:
+ void OnAddCheckbox(wxCommandEvent& event);
+ void OnRemoveCheckbox(wxCommandEvent& event);
+
+ void DoAddCheckbox();
+
+ wxWindow* m_checkboxParent;
+ wxSizer* m_wrapSizer;
+
+ DECLARE_EVENT_TABLE()
+};
+