]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcclient.h
removed not implemented anyhow SetIcons()
[wxWidgets.git] / include / wx / mac / carbon / dcclient.h
index a62be04d310b255eed6e360fa4cef755a62e0102..b3b42f4e2e2797a2f4013fb32335c7b112c06d42 100644 (file)
@@ -18,8 +18,8 @@
 // classes
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPaintDC;
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxPaintDC;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 class WXDLLEXPORT wxWindowDC: public wxDC
 {
@@ -32,9 +32,16 @@ class WXDLLEXPORT wxWindowDC: public wxDC
   wxWindowDC(wxWindow *win);
 
   virtual ~wxWindowDC(void);
+  wxWindow *GetWindow() const { return m_window; }
   protected :
     virtual void DoGetSize( int *width, int *height ) const;
+    virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; 
     wxWindow     *m_window;
+#if wxMAC_USE_CORE_GRAPHICS
+       bool            m_release;
+       int                     m_width;
+       int                     m_height;
+#endif
 };
 
 
@@ -51,7 +58,9 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC
   virtual ~wxClientDC(void);
 
 protected:
+#if !wxMAC_USE_CORE_GRAPHICS
   virtual void DoGetSize( int *width, int *height ) const;
+#endif
 };
 
 class WXDLLEXPORT wxPaintDC: public wxWindowDC
@@ -67,7 +76,9 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC
   virtual ~wxPaintDC(void);
 
 protected:
+#if !wxMAC_USE_CORE_GRAPHICS
   virtual void DoGetSize( int *width, int *height ) const;
+#endif
 };
 
 #endif