]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dcclient.h
avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes;...
[wxWidgets.git] / include / wx / dfb / dcclient.h
index a4006f9cc0d490cb192b6a9c83d90f2520a00ce2..57fd7dc592ddc12ecfba327b27114afdc145acb3 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_CORE wxWindow;
 class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
 {
 public:
-    wxWindowDC() : m_win(NULL) {}
+    wxWindowDC() : m_shouldFlip(false) {}
     wxWindowDC(wxWindow *win);
     virtual ~wxWindowDC();
 
@@ -32,7 +32,7 @@ protected:
     void InitForWin(wxWindow *win, const wxRect *rect);
 
 private:
-    wxWindow *m_win; // the window the DC paints on
+    bool m_shouldFlip; // flip the surface when done?
 
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
     DECLARE_NO_COPY_CLASS(wxWindowDC)