]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
fix for mingw which has TBSTYLE_FLAT but not TBSTYLE_TRANSPARENT (yet).
[wxWidgets.git] / src / generic / progdlgg.cpp
index 8f2fc1e4042aa3b5111a8c2440cb86d51275ec95..0e4c493c4368092b13861833669c1eb1ac1cd846 100644 (file)
@@ -126,7 +126,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
     wxLayoutConstraints *c;
 
     wxClientDC dc(this);
     wxLayoutConstraints *c;
 
     wxClientDC dc(this);
-    dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+    dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
     long widthText;
     dc.GetTextExtent(message, &widthText, NULL, NULL, NULL, NULL);
 
     long widthText;
     dc.GetTextExtent(message, &widthText, NULL, NULL, NULL, NULL);