X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7f6cf0a9cff648a98e3cecea1f99626a5cd74a..cd2e8564d7ca31209289d32a0e503292db1a4b65:/src/x11/colour.cpp diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index 9ce03f2d5b..1951c3e224 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -1,19 +1,14 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: colour.cpp +// Name: src/x11/colour.cpp // Purpose: wxColour class // Author: Julian Smart, Robert Roebling // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart, Robert Roebling -// Licence: wxWindows licence +// 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) ;