]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statline.h
separated modifier keys handling in order to distinct key/up down events
[wxWidgets.git] / include / wx / generic / statline.h
index 0058ddede8e17e22ff3d5215e19497741e2887aa..67efb49f6c15994bca32cc4261e8d37f42e25eaa 100644 (file)
@@ -15,6 +15,8 @@
     #pragma interface
 #endif
 
+class wxStaticBox;
+
 // ----------------------------------------------------------------------------
 // wxStaticLine
 // ----------------------------------------------------------------------------
@@ -44,6 +46,15 @@ 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;
+
+    // override wxWindow methods to make things work
+    virtual void DoSetSize(int x, int y, int width, int height,
+                           int sizeFlags = wxSIZE_AUTO);
+    virtual void DoMoveWindow(int x, int y, int width, int height);
 protected:
     // we implement the static line using a static box
     wxStaticBox *m_statbox;