]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcscreen.cpp
some Hildon integration work: use HildonProgram (for integration with the OS), Hildon...
[wxWidgets.git] / src / motif / dcscreen.cpp
index 9186c5352f33d5f785e68b3a555b0c5207d8bfb1..360acdfe141e75b8633f2b1fe1b3bfcaa63dbbe7 100644 (file)
@@ -61,7 +61,7 @@ wxScreenDC::wxScreenDC()
         GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode,
         &gcvalues);
 
         GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode,
         &gcvalues);
 
-    m_backgroundPixel = (int) gcvalues.background;
+    m_backgroundPixel = gcvalues.background;
     m_ok = true;
 }
 
     m_ok = true;
 }