X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..ae51cebbe62f759cdee2f4548249393472b7baa5:/src/motif/dcscreen.cpp diff --git a/src/motif/dcscreen.cpp b/src/motif/dcscreen.cpp index 10b0fb0acc..360acdfe14 100644 --- a/src/motif/dcscreen.cpp +++ b/src/motif/dcscreen.cpp @@ -17,10 +17,9 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/window.h" + #include "wx/frame.h" #endif -#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; }