X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/355b4d3de54b76db87439fa2142c7334a6e48f85..daebb44c74bdbdc8ce43bd4aa471774d92f35f02:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index a0838b3bb0..fa3ba9073f 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -24,7 +24,6 @@ #define XtDisplay XTDISPLAY #endif -#include "wx/setup.h" #include "wx/utils.h" #include "wx/apptrait.h" #include "wx/app.h" @@ -529,7 +528,7 @@ void wxGetMousePosition( int* x, int* y ) *x = xev.x_root; *y = xev.y_root; #endif -}; +} // Return true if we have a colour display bool wxColourDisplay() @@ -910,7 +909,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);