X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..e69d5138dc8f95e294ae6d03beb4f321406f4e34:/src/motif/dcscreen.cpp diff --git a/src/motif/dcscreen.cpp b/src/motif/dcscreen.cpp index d385243254..360acdfe14 100644 --- a/src/motif/dcscreen.cpp +++ b/src/motif/dcscreen.cpp @@ -16,11 +16,10 @@ #ifndef WX_PRECOMP #include "wx/utils.h" + #include "wx/window.h" + #include "wx/frame.h" #endif -#include "wx/window.h" -#include "wx/frame.h" - #ifdef __VMS__ #pragma message disable nosimpint #endif @@ -62,7 +61,7 @@ wxScreenDC::wxScreenDC() GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode, &gcvalues); - m_backgroundPixel = (int) gcvalues.background; + m_backgroundPixel = gcvalues.background; m_ok = true; }