X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..26da5e4f5a658046327e38e35880b31ea6444f4f:/include/wx/x11/dcclient.h diff --git a/include/wx/x11/dcclient.h b/include/wx/x11/dcclient.h index 7fa64da873..0d9ffbcb6b 100644 --- a/include/wx/x11/dcclient.h +++ b/include/wx/x11/dcclient.h @@ -32,7 +32,7 @@ class WXDLLIMPEXP_CORE wxClientDC; class WXDLLIMPEXP_CORE wxWindowDC : public wxDC { public: - wxWindowDC(); + wxWindowDC() { Init(); } wxWindowDC( wxWindow *win ); virtual ~wxWindowDC(); @@ -118,6 +118,8 @@ protected: wxCoord *externalLeading = NULL, wxFont *theFont = NULL) const; + void Init(); + WXDisplay *m_display; WXWindow m_window; WXGC m_penGC;