X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..ebdc8341057713146d1b342434899f66acef0c12:/include/wx/x11/dcclient.h?ds=sidebyside diff --git a/include/wx/x11/dcclient.h b/include/wx/x11/dcclient.h index 7fa64da873..6ae4962b32 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(); @@ -116,7 +116,9 @@ protected: 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;