X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..2cfcf22d47b7d9cf3c85edfe498c5f23a18a9a19:/src/motif/colour.cpp diff --git a/src/motif/colour.cpp b/src/motif/colour.cpp index 789851b7cb..1cc7b3e3a1 100644 --- a/src/motif/colour.cpp +++ b/src/motif/colour.cpp @@ -6,16 +6,12 @@ // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// //// TODO: make wxColour a ref-counted object, //// so pixel values get shared. -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "colour.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -95,7 +91,7 @@ wxColour wxColour::CreateByName(const wxString& name) col.m_red = xcol.red & 0xff; col.m_green = xcol.green & 0xff; col.m_blue = xcol.blue & 0xff; - col.m_isInit = TRUE; + col.m_isInit = true; col.m_pixel = -1; }