]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcscreen.cpp
Minor header cleaning.
[wxWidgets.git] / src / motif / dcscreen.cpp
index 10b0fb0acc657faf4573c72cfd9361e3e205dd8b..360acdfe141e75b8633f2b1fe1b3bfcaa63dbbe7 100644 (file)
 #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;
 }