]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/font.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / gtk / 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)
     {