]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/doc.cpp
fix for what the patch 529900 was trying to fix (loading fonts with size -1)
[wxWidgets.git] / demos / dbbrowse / doc.cpp
index 295391285535283362304758837e61e55b83717d..0b05fc978b7eb375458e8f50a9d7954c561f1421 100644 (file)
@@ -57,7 +57,7 @@ MainDoc::MainDoc()
     i_TabNr        = 0;
     i_PageNr       = 0;
     s_BColour      = "WHEAT";
-    ft_Doc         = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT));
+    ft_Doc         = new wxFont(wxSystemSettings::GetFont(wxSYS_SYSTEM_FONT));
 }
 
 //----------------------------------------------------------------------------------------