diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index 9ce03f2d5b..a9c177d209 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -232,7 +232,6 @@ void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue ) { AllocExclusive(); - m_refData = new wxColourRefData(); #if wxUSE_NANOX M_COLDATA->m_color.red = ((unsigned short)red) ; M_COLDATA->m_color.green = ((unsigned short)green) ;