X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..a9e8bf2dd9bccb38eb39fba955125aaf23d6f500:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index d4322fe7cc..efa8473ed1 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -25,9 +25,13 @@ #endif #include "wx/utils.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/dcmemory.h" +#endif + #include "wx/apptrait.h" -#include "wx/app.h" -#include "wx/dcmemory.h" #include "wx/bitmap.h" #include "wx/evtloop.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);