X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76b49cf49ba9ee9f3eeec9730cb4bc4569ab17f1..d48687a0719620cc888072db31bb3814dea400ab:/src/motif/dcscreen.cpp?ds=inline diff --git a/src/motif/dcscreen.cpp b/src/motif/dcscreen.cpp index 9186c5352f..360acdfe14 100644 --- a/src/motif/dcscreen.cpp +++ b/src/motif/dcscreen.cpp @@ -61,7 +61,7 @@ wxScreenDC::wxScreenDC() GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode, &gcvalues); - m_backgroundPixel = (int) gcvalues.background; + m_backgroundPixel = gcvalues.background; m_ok = true; }