]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcclient.cpp
removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implem...
[wxWidgets.git] / src / motif / dcclient.cpp
index 121143670006b91587adb020991a0c83f463a816..5881afe59e4445cb4f42daed2861b15348ceecd1 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dcclient.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dcclient.h"
 #include "wx/dcmemory.h"
 #include "wx/window.h"
@@ -1426,7 +1429,7 @@ void wxWindowDC::Clear()
 {
     wxCHECK_RET( Ok(), "invalid dc" );
 
-    wxRect rect( wxPoint( 0, 0 ), GetSize() );
+    wxRect rect( GetSize() );
     Clear( rect );
 }