]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/colour.cpp
Don't copy the NULL char into the clipboard. Most Mac apps will
[wxWidgets.git] / src / motif / colour.cpp
index a5c18f05e486ba71857280d6f85f3c3ece1f9e14..780a1a2e33216b2603ed6327d5de510b8d35d3fe 100644 (file)
@@ -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;
     }