X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7f6cf0a9cff648a98e3cecea1f99626a5cd74a..c9f00f2fce9cacd46ae25417d6c3a5add7640320:/src/x11/colour.cpp 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) ;