X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f558e23ff5721fafa7d0a5a8d11150093d7d994..ee0a94cfc2f71e8b770eedda5197a1f4bd62b5cb:/src/gtk/colour.cpp diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index 594b081506..79b2c37f1d 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -25,8 +25,11 @@ class wxColourRefData: public wxObjectRefData public: wxColourRefData(guint16 red, guint16 green, guint16 blue) { + m_color.red = m_red = red; + m_color.green = m_green = green; + m_color.blue = m_blue = blue; m_color.pixel = 0; m_colormap = NULL;