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