class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
- wxWindowDC();
+ wxWindowDC() { Init(); }
wxWindowDC( wxWindow *win );
virtual ~wxWindowDC();
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;