]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/static.cpp
Do not move the wxMDIParentFrame to (-10000,-10000) if it has a toolbar.
[wxWidgets.git] / samples / widgets / static.cpp
index 8680c07da7cd06254eae08df10bb1c32f8b3dcd5..0b401aabbf8115bec835fbc6506ae61b4d663047 100644 (file)
@@ -140,7 +140,9 @@ class StaticWidgetsPage : public WidgetsPage
 {
 public:
     StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
-    virtual ~StaticWidgetsPage();
+    virtual ~StaticWidgetsPage(){};
+
+    virtual wxControl *GetWidget() const { return m_statText; }
 
 protected:
     // event handlers
@@ -302,10 +304,6 @@ StaticWidgetsPage::StaticWidgetsPage(wxNotebook *notebook,
     sizerTop->Fit(this);
 }
 
-StaticWidgetsPage::~StaticWidgetsPage()
-{
-}
-
 // ----------------------------------------------------------------------------
 // operations
 // ----------------------------------------------------------------------------