]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/control.h
fixed bug in Set() on DST days (patch 1097811)
[wxWidgets.git] / include / wx / palmos / control.h
index c3dc2f6ffb44030b89bb5b0c27b872d07bef3a51..99db04e3e0079820b97e5e42c429a66249cb7154 100644 (file)
@@ -89,6 +89,10 @@ protected:
     // return default best size (doesn't really make any sense, override this)
     virtual wxSize DoGetBestSize() const;
 
+    // getting and setting sizes
+    virtual void DoGetPosition( int *x, int *y ) const;
+    virtual void DoGetSize( int *width, int *height ) const;
+
     // create the control of the given ControlStyleType: this is typically called
     // from Create() method of the derived class passing its label, pos and
     // size parameter (style parameter is not needed because m_windowStyle is
@@ -117,7 +121,9 @@ protected:
 
 private:
 
-    // Label stores label in case of wxButton, wxCheckBox, wxToggleButton etc.
+    virtual void DoGetBounds( RectangleType &rect ) const;
+
+    // m_label stores label in case of wxButton, wxCheckBox, wxToggleButton etc.
     // We must ensure that it persists for as long as it is being displayed
     // (that is, for as long as the control is displayed or until we call
     // CtlSetLabel() with a new string), and we must free the string after