initialize GdkColor so code which incorrectly accesses it will work as well as it did before

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-06-19 03:19:44 +00:00
parent d57725b576
commit fa21f43888

View File

@@ -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;