]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
Committing in .
[wxWidgets.git] / src / motif / utils.cpp
index d4322fe7ccf44fb4ba13e97a94b76dad14f8185e..632f36eff4c0b56771f47c6c6354d64ab983acf5 100644 (file)
 #endif
 
 #include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/app.h"
+    #include "wx/dcmemory.h"
+    #include "wx/bitmap.h"
+#endif
+
 #include "wx/apptrait.h"
-#include "wx/app.h"
-#include "wx/dcmemory.h"
-#include "wx/bitmap.h"
 #include "wx/evtloop.h"
 
 #include <string.h>
@@ -909,7 +913,7 @@ void wxDoChangeForegroundColour(WXWidget widget, wxColour& foregroundColour)
         NULL);
 }
 
-void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, bool changeArmColour)
+void wxDoChangeBackgroundColour(WXWidget widget, const wxColour& backgroundColour, bool changeArmColour)
 {
     wxComputeColours (XtDisplay((Widget) widget), & backgroundColour,
         (wxColour*) NULL);