X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20671963efabd70a208b415c4734ee813b9eb439..deb325e3b21d956705214520b172ae8bf898a1ae:/include/wx/dfb/dcclient.h diff --git a/include/wx/dfb/dcclient.h b/include/wx/dfb/dcclient.h index a4006f9cc0..57fd7dc592 100644 --- a/include/wx/dfb/dcclient.h +++ b/include/wx/dfb/dcclient.h @@ -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)