]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/clrpickerg.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / generic / clrpickerg.h
index 69f4a70e03e49dfdb0414b678b0662fa805b4d8b..758e51619ffb3e9dd9eab3affca52012bfba177c 100644 (file)
 #define _WX_CLRPICKER_H_
 
 #include "wx/button.h"
-
-class WXDLLIMPEXP_CORE wxColourData;
+#include "wx/cmndata.h"
 
 //-----------------------------------------------------------------------------
 // wxGenericColourButton: a button which brings up a wxColourDialog
 //-----------------------------------------------------------------------------
 
-// show the colour in HTML form (#AABBCC) as colour button label
-#define wxCLRBTN_SHOW_LABEL     100
-
-// the default style
-#define wxCLRBTN_DEFAULT_STYLE  wxCLRBTN_SHOW_LABEL
-
-
 class WXDLLIMPEXP_CORE wxGenericColourButton : public wxButton,
                                                public wxColourPickerWidgetBase
 {
@@ -72,6 +64,8 @@ public:
 
 protected:
 
+    wxSize DoGetBestSize() const;
+
     void UpdateColour();
 
     // the colour data shown in wxColourPickerCtrlGeneric