#define _WX_CLRPICKER_H_
#include "wx/button.h"
-
-class WXDLLIMPEXP_CORE wxColourData;
+#include "wx/cmndata.h"
//-----------------------------------------------------------------------------
// wxGenericColourButton: a button which brings up a wxColourDialog
#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,
protected:
+ wxSize DoGetBestSize() const;
+
void UpdateColour();
// the colour data shown in wxColourPickerCtrlGeneric