// fwd declarations
// -----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
-class WXDLLIMPEXP_CORE wxWindowDC;
-class WXDLLIMPEXP_CORE wxPaintDC;
-class WXDLLIMPEXP_CORE wxClientDC;
+class WXDLLIMPEXP_FWD_CORE wxWindowDC;
+class WXDLLIMPEXP_FWD_CORE wxPaintDC;
+class WXDLLIMPEXP_FWD_CORE wxClientDC;
//-----------------------------------------------------------------------------
// wxWindowDC
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
- wxWindowDC();
+ wxWindowDC() { Init(); }
wxWindowDC( wxWindow *win );
- ~wxWindowDC();
+ virtual ~wxWindowDC();
virtual bool CanDrawBitmap() const { return true; }
virtual bool CanGetTextExtent() const { return true; }
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
wxCoord *externalLeading = NULL,
- wxFont *theFont = NULL) const;
+ const wxFont *theFont = NULL) const;
+
+ void Init();
WXDisplay *m_display;
WXWindow m_window;