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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user