X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45f9b662d60d32113d3bdc3ce7a4dcb46b7899c4..c33edc08d6a5f6937624347f25934937164c13a1:/include/wx/generic/clrpickerg.h diff --git a/include/wx/generic/clrpickerg.h b/include/wx/generic/clrpickerg.h index 69f4a70e03..17dc568551 100644 --- a/include/wx/generic/clrpickerg.h +++ b/include/wx/generic/clrpickerg.h @@ -13,8 +13,7 @@ #define _WX_CLRPICKER_H_ #include "wx/button.h" - -class WXDLLIMPEXP_CORE wxColourData; +#include "wx/cmndata.h" //----------------------------------------------------------------------------- // wxGenericColourButton: a button which brings up a wxColourDialog @@ -24,7 +23,7 @@ class WXDLLIMPEXP_CORE wxColourData; #define wxCLRBTN_SHOW_LABEL 100 // the default style -#define wxCLRBTN_DEFAULT_STYLE wxCLRBTN_SHOW_LABEL +#define wxCLRBTN_DEFAULT_STYLE (wxCLRBTN_SHOW_LABEL) class WXDLLIMPEXP_CORE wxGenericColourButton : public wxButton, @@ -72,6 +71,8 @@ public: protected: + wxSize DoGetBestSize() const; + void UpdateColour(); // the colour data shown in wxColourPickerCtrlGeneric