]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/font.h
compilation fixes (I wonder how did you people ever compile it...)
[wxWidgets.git] / include / wx / gtk1 / font.h
index ed7ac95c862efc05f9f83c86d5e4fe08408cded2..0a2bfbb095bfb56c0484a65f4d1dfb4bc921b3da 100644 (file)
@@ -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)
     {