X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7f6cf0a9cff648a98e3cecea1f99626a5cd74a..02bcd285fac7124a41292d905609220005f51087:/src/x11/colour.cpp?ds=sidebyside diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index 9ce03f2d5b..ef98a29724 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/app.h" @@ -232,7 +227,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) ;