X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dc9a81d7eded5ff93f9e799e4cbac5f917f1186..670048b2f09d543de2ecba4800f2428fbad743e8:/include/wx/dfb/dcclient.h diff --git a/include/wx/dfb/dcclient.h b/include/wx/dfb/dcclient.h index 57fd7dc592..3847f4f2e4 100644 --- a/include/wx/dfb/dcclient.h +++ b/include/wx/dfb/dcclient.h @@ -26,14 +26,21 @@ public: wxWindowDC(wxWindow *win); virtual ~wxWindowDC(); + virtual wxWindow *GetWindow() const { return m_win; } + protected: // initializes the DC for painting on given window; if rect!=NULL, then // for painting only on the given region of the window void InitForWin(wxWindow *win, const wxRect *rect); private: + wxWindow *m_win; + wxRect m_winRect; // rectangle of the window being painted + bool m_shouldFlip; // flip the surface when done? + friend class wxOverlayImpl; // for m_shouldFlip; + DECLARE_DYNAMIC_CLASS(wxWindowDC) DECLARE_NO_COPY_CLASS(wxWindowDC) };