]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statline.h
removed code (not necessary anymore)
[wxWidgets.git] / include / wx / generic / statline.h
index 0058ddede8e17e22ff3d5215e19497741e2887aa..5d3dafa675de09bdde429f35c329298067a9967f 100644 (file)
@@ -15,6 +15,8 @@
     #pragma interface
 #endif
 
     #pragma interface
 #endif
 
+class wxStaticBox;
+
 // ----------------------------------------------------------------------------
 // wxStaticLine
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxStaticLine
 // ----------------------------------------------------------------------------
@@ -44,6 +46,11 @@ public:
                  long style = wxLI_HORIZONTAL,
                  const wxString &name = wxStaticTextNameStr );
 
                  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;
 protected:
     // we implement the static line using a static box
     wxStaticBox *m_statbox;