+
+// a frame for testing simple setting of "default size"
+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;
+
+ DECLARE_EVENT_TABLE()
+};
+
+
+// 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(const wxString &title, int x, int y );
+
+
+private:
+ wxTextCtrl *m_target;
+};
+
+// a frame with several wrapping sizers
+
+class MyWrapSizerFrame: public wxFrame
+{
+public:
+ MyWrapSizerFrame(const wxString &title, int x, int y );
+};
+
+// controls and menu constants
+enum