]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dcclient.h
removed not implemented anyhow SetIcons()
[wxWidgets.git] / include / wx / dfb / dcclient.h
index 57fd7dc592ddc12ecfba327b27114afdc145acb3..6eae9c4aa92000c8afa4a11fdaba11ef03f6eb13 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "wx/dc.h"
 
-class WXDLLIMPEXP_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 //-----------------------------------------------------------------------------
 // wxWindowDC
@@ -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)
 };