X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..726cc8697cd44a41b43257f05ca8cdd42b71a711:/src/gtk/colour.cpp diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index ff2b953c97..322689db99 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -52,7 +52,7 @@ public: guint16 m_blue; wxByte m_alpha; - DECLARE_NO_COPY_CLASS(wxColourRefData) + wxDECLARE_NO_COPY_CLASS(wxColourRefData); }; void wxColourRefData::FreeColour() @@ -88,8 +88,6 @@ void wxColourRefData::AllocColour( GdkColormap *cmap ) // GDK's values are in 0..65535 range, ours are in 0..255 #define SHIFT 8 -IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject) - wxColour::wxColour(const GdkColor& gdkColor) { m_refData = new wxColourRefData(gdkColor.red, gdkColor.green, gdkColor.blue);