X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..72594e90b2da8c167ba63b89b2c168c57a19cab4:/include/wx/gtk/font.h diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index ed7ac95c86..0a2bfbb095 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -35,7 +35,7 @@ class wxFont : public wxFontBase public: // ctors and such wxFont() { Init(); } - wxFont(const wxFont& font) { Init(); Ref(font); } + wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); } wxFont(const wxString& fontname, wxFontEncoding fontenc = wxFONTENCODING_DEFAULT) {