]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dcclient.h
Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition.
[wxWidgets.git] / include / wx / dfb / dcclient.h
index 9916742c741ed08251f2aa24db2bc7077588b7a0..7559eb1b56726e561eaa24e7aa7fadce756a520b 100644 (file)
@@ -26,15 +26,12 @@ public:
     wxWindowDCImpl(wxDC *owner, wxWindow *win);
     virtual ~wxWindowDCImpl();
 
-    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?
@@ -42,7 +39,7 @@ private:
     friend class wxOverlayImpl; // for m_shouldFlip;
 
     DECLARE_DYNAMIC_CLASS(wxWindowDCImpl)
-    DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
+    wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
 };
 
 //-----------------------------------------------------------------------------
@@ -56,7 +53,7 @@ public:
     wxClientDCImpl(wxDC *owner, wxWindow *win);
 
     DECLARE_DYNAMIC_CLASS(wxClientDCImpl)
-    DECLARE_NO_COPY_CLASS(wxClientDCImpl)
+    wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);
 };
 
 
@@ -71,7 +68,7 @@ public:
     wxPaintDCImpl(wxDC *owner, wxWindow *win) : wxClientDCImpl(owner, win) { }
 
     DECLARE_DYNAMIC_CLASS(wxPaintDCImpl)
-    DECLARE_NO_COPY_CLASS(wxPaintDCImpl)
+    wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
 };
 
 #endif // _WX_DFB_DCCLIENT_H_