X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aad6765cbd8916ddeb0362b091663138c2e74df3..4db6714b166a733177740b06cd21f31f4bb27896:/src/motif/colour.cpp diff --git a/src/motif/colour.cpp b/src/motif/colour.cpp index a5c18f05e4..1cc7b3e3a1 100644 --- a/src/motif/colour.cpp +++ b/src/motif/colour.cpp @@ -12,9 +12,8 @@ //// 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" #include "wx/gdicmn.h" #include "wx/colour.h" @@ -92,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; }