// 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"
{
wxCHECK_RET( Ok(), "invalid dc" );
- wxRect rect( wxPoint( 0, 0 ), GetSize() );
+ wxRect rect( GetSize() );
Clear( rect );
}