X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..fb93b610c5991b12bd6404fe1fc08fd60a30615c:/include/wx/gtk1/font.h diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index ed7ac95c86..0a2bfbb095 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/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) {