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:
parent
73deed44e6
commit
dbb846c622
@ -35,6 +35,13 @@ public:
|
|||||||
m_hasPixel = FALSE;
|
m_hasPixel = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxColourRefData(const wxColourRefData& data)
|
||||||
|
{
|
||||||
|
m_color = data.m_color;
|
||||||
|
m_colormap = data.m_colormap;
|
||||||
|
m_hasPixel = data.m_hasPixel;
|
||||||
|
}
|
||||||
|
|
||||||
~wxColourRefData()
|
~wxColourRefData()
|
||||||
{
|
{
|
||||||
FreeColour();
|
FreeColour();
|
||||||
|
@ -35,6 +35,13 @@ public:
|
|||||||
m_hasPixel = FALSE;
|
m_hasPixel = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxColourRefData(const wxColourRefData& data)
|
||||||
|
{
|
||||||
|
m_color = data.m_color;
|
||||||
|
m_colormap = data.m_colormap;
|
||||||
|
m_hasPixel = data.m_hasPixel;
|
||||||
|
}
|
||||||
|
|
||||||
~wxColourRefData()
|
~wxColourRefData()
|
||||||
{
|
{
|
||||||
FreeColour();
|
FreeColour();
|
||||||
|
Loading…
Reference in New Issue
Block a user