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 *externalLeading = NULL,
wxFont *theFont = NULL) const;
+ void Init();
+
WXDisplay *m_display;
WXWindow m_window;
WXGC m_penGC;