fix for a nasty bug with colouor copying

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-22 18:48:19 +00:00
parent 73deed44e6
commit dbb846c622
2 changed files with 14 additions and 0 deletions

View File

@ -35,6 +35,13 @@ public:
m_hasPixel = FALSE;
}
wxColourRefData(const wxColourRefData& data)
{
m_color = data.m_color;
m_colormap = data.m_colormap;
m_hasPixel = data.m_hasPixel;
}
~wxColourRefData()
{
FreeColour();

View File

@ -35,6 +35,13 @@ public:
m_hasPixel = FALSE;
}
wxColourRefData(const wxColourRefData& data)
{
m_color = data.m_color;
m_colormap = data.m_colormap;
m_hasPixel = data.m_hasPixel;
}
~wxColourRefData()
{
FreeColour();