]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statline.h
Added wxMenu::Delete() and fixed some menu deleted memory
[wxWidgets.git] / include / wx / generic / statline.h
index 0058ddede8e17e22ff3d5215e19497741e2887aa..5d3dafa675de09bdde429f35c329298067a9967f 100644 (file)
@@ -15,6 +15,8 @@
     #pragma interface
 #endif
 
+class wxStaticBox;
+
 // ----------------------------------------------------------------------------
 // wxStaticLine
 // ----------------------------------------------------------------------------
@@ -44,6 +46,11 @@ public:
                  long style = wxLI_HORIZONTAL,
                  const wxString &name = wxStaticTextNameStr );
 
+    // it's necessary to override this wxWindow function because we
+    // will want to return the main widget for m_statbox
+    //
+    WXWidget GetMainWidget() const;
+        
 protected:
     // we implement the static line using a static box
     wxStaticBox *m_statbox;