]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.h
implemented DrawCheckButton() for XP renderer; code cleanup
[wxWidgets.git] / samples / widgets / widgets.h
index 0fb6e05b58d5a3bc76fcf7569745dcec7b206169..d8e40df3ce335321434a164dd80eb83f79b7bcb4 100644 (file)
@@ -45,6 +45,14 @@ public:
     // some pages show 2 controls, in this case override this one as well
     virtual wxControl *GetWidget2() const { return NULL; }
 
+    // recreate the control shown by this page
+    //
+    // this is currently used only to take into account the border flags
+    virtual void RecreateWidget() = 0;
+
+    // the default flags for the widget, currently only contains border flags
+    static int ms_defaultFlags;
+
 protected:
     // several helper functions for page creation