]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcscreen.cpp
no changes, just replaced C comment with a C++ one
[wxWidgets.git] / src / motif / dcscreen.cpp
index d3852432541d28315dce79fc406071727fac9d16..360acdfe141e75b8633f2b1fe1b3bfcaa63dbbe7 100644 (file)
 
 #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;
 }