]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statusbr.h
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
[wxWidgets.git] / include / wx / univ / statusbr.h
index ab038d670035879f35e199def6d4b30796dc3d5b..79116f1919cc047c6b0d87a7c1f2959b954fb1e6 100644 (file)
@@ -58,6 +58,10 @@ public:
     virtual int GetBorderX() const;
     virtual int GetBorderY() const;
 
+    // wxInputConsumer pure virtual
+    virtual wxWindow *GetInputWindow() const
+        { return wx_const_cast(wxStatusBar*, this); }
+
 protected:
     // recalculate the field widths
     void OnSize(wxSizeEvent& event);
@@ -65,10 +69,6 @@ protected:
     // draw the statusbar
     virtual void DoDraw(wxControlRenderer *renderer);
 
-    // wxInputConsumer pure virtual
-    virtual wxWindow *GetInputWindow() const
-        { return wxConstCast(this, wxStatusBar); }
-
     // tell them about our preferred height
     virtual wxSize DoGetBestSize() const;