]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/colour.cpp
Code formatting cleanup from OSAF [ patch 1307563 ]
[wxWidgets.git] / src / motif / colour.cpp
index a5c18f05e486ba71857280d6f85f3c3ece1f9e14..1cc7b3e3a1280a6a1539ff475d696631d250e86c 100644 (file)
@@ -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;
     }