]> 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 17a8a4e72bfb351518a30e1a11266c9e3e948d1f..1cc7b3e3a1280a6a1539ff475d696631d250e86c 100644 (file)
 //// 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;
     }