#endif
#include "wx/dc.h"
+#include "wx/dcbuffer.h" // for IMPLEMENT_DYNAMIC_CLASS
#ifndef WX_PRECOMP
#include "wx/math.h"
// implementation
// ============================================================================
+IMPLEMENT_DYNAMIC_CLASS(wxBufferedDC, wxMemoryDC)
+IMPLEMENT_ABSTRACT_CLASS(wxBufferedPaintDC, wxBufferedDC)
+
#if WXWIN_COMPATIBILITY_2_6
void wxDCBase::BeginDrawing()
{
double x1, y1, x2, y2;
wxList::compatibility_iterator node = points->GetFirst();
- if (node == wxList::compatibility_iterator())
+ if (!node)
// empty list
return;