X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff654490b7cb185631a1dc4621094d88643ccf41..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/generic/clrpickerg.h?ds=sidebyside diff --git a/include/wx/generic/clrpickerg.h b/include/wx/generic/clrpickerg.h index 758e51619f..ba70b2087c 100644 --- a/include/wx/generic/clrpickerg.h +++ b/include/wx/generic/clrpickerg.h @@ -13,13 +13,14 @@ #define _WX_CLRPICKER_H_ #include "wx/button.h" +#include "wx/bmpbuttn.h" #include "wx/cmndata.h" //----------------------------------------------------------------------------- // wxGenericColourButton: a button which brings up a wxColourDialog //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxGenericColourButton : public wxButton, +class WXDLLIMPEXP_CORE wxGenericColourButton : public wxBitmapButton, public wxColourPickerWidgetBase { public: @@ -63,6 +64,7 @@ public: protected: + wxBitmap m_bitmap; wxSize DoGetBestSize() const;