]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/dcclient.cpp
Fix for the wrong painting rectangle being set.
[wxWidgets.git] / src / stubs / dcclient.cpp
index b21b90399e65a39b2cd3dda2ac32656bb603dc39..4962885bf9fdc7919f9f82dbd5cbed071e1fb907 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "wx/dcclient.h"
 #include "wx/dcmemory.h"
+#include "wx/region.h"
 #include <math.h>
 
 //-----------------------------------------------------------------------------
 // wxPaintDC
 //-----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxWindowDC, wxDC)
 IMPLEMENT_DYNAMIC_CLASS(wxClientDC, wxWindowDC)
 IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC)
-#endif
 
 /*
  * wxWindowDC
@@ -50,7 +49,7 @@ wxWindowDC::~wxWindowDC(void)
 };
 
 void wxWindowDC::FloodFill( long WXUNUSED(x1), long WXUNUSED(y1), 
-  wxColour* WXUNUSED(col), int WXUNUSED(style) )
+  const wxColour& WXUNUSED(col), int WXUNUSED(style) )
 {
 };