]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
renamed m_boxes to m_buttons because, well, it contains the radio buttons and not...
[wxWidgets.git] / src / motif / utils.cpp
index 7f0a201f836fed5d7ec477c5a91d7f429268033f..dea805a657979463c9c3c34c9d58bfc322c2cf25 100644 (file)
 #define XtDisplay XTDISPLAY
 #endif
 
-#include "wx/setup.h"
 #include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/app.h"
+#endif
+
 #include "wx/apptrait.h"
-#include "wx/app.h"
 #include "wx/dcmemory.h"
 #include "wx/bitmap.h"
 #include "wx/evtloop.h"
@@ -910,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);