]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/clrpickerg.h
Fix missing documentation for several GDI functions.
[wxWidgets.git] / include / wx / generic / clrpickerg.h
index 5ec73c7fe148eb06aa0e0f884837898d4d36214d..50988f1924565bf82097a1a8ef3caef312dd5bb4 100644 (file)
 #ifndef _WX_CLRPICKER_H_
 #define _WX_CLRPICKER_H_
 
-class WXDLLIMPEXP_CORE wxColourData;
+#include "wx/button.h"
+#include "wx/bmpbuttn.h"
+#include "wx/colourdata.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,
+class WXDLLIMPEXP_CORE wxGenericColourButton : public wxBitmapButton,
                                                public wxColourPickerWidgetBase
 {
 public:
@@ -69,6 +64,9 @@ public:
 
 
 protected:
+    wxBitmap    m_bitmap;
+
+    wxSize DoGetBestSize() const;
 
     void UpdateColour();