X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..daebb44c74bdbdc8ce43bd4aa471774d92f35f02:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index d4322fe7cc..fa3ba9073f 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -909,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);