// classes
//-----------------------------------------------------------------------------
-class WXDLLEXPORT wxPaintDC;
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxPaintDC;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
class WXDLLEXPORT wxWindowDC: public wxDC
{
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
+
};
virtual ~wxClientDC(void);
protected:
-#if !wxMAC_USE_CORE_GRAPHICS
- virtual void DoGetSize( int *width, int *height ) const;
-#endif
};
class WXDLLEXPORT wxPaintDC: public wxWindowDC
virtual ~wxPaintDC(void);
protected:
-#if !wxMAC_USE_CORE_GRAPHICS
- virtual void DoGetSize( int *width, int *height ) const;
-#endif
};
#endif