X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e86d4e59c10a8110a5bcf714bca17a8eea65e8b8..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/gtk/colour.cpp?ds=sidebyside diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index fbdefc3b80..b2bb1b993a 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -20,7 +20,7 @@ // wxColour //----------------------------------------------------------------------------- -class wxColourRefData: public wxObjectRefData +class wxColourRefData : public wxGDIRefData { public: wxColourRefData(guint16 red, guint16 green, guint16 blue, guint16 alpha) @@ -169,11 +169,7 @@ int wxColour::GetPixel() const return M_COLDATA->m_color.pixel; } -#ifdef __WXGTK24__ const GdkColor *wxColour::GetColor() const -#else - GdkColor *wxColour::GetColor() const -#endif { wxCHECK_MSG( Ok(), NULL, wxT("invalid colour") );