X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aad6765cbd8916ddeb0362b091663138c2e74df3..8d36b2167df7e86ecfc58d148eaf6abe0a5b7971:/src/motif/colour.cpp diff --git a/src/motif/colour.cpp b/src/motif/colour.cpp index a5c18f05e4..780a1a2e33 100644 --- a/src/motif/colour.cpp +++ b/src/motif/colour.cpp @@ -16,6 +16,9 @@ #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" #include "wx/app.h" @@ -92,7 +95,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; }