]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix
authorPaul Cornett <paulcor@bullseye.com>
Sat, 5 May 2007 17:54:57 +0000 (17:54 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 5 May 2007 17:54:57 +0000 (17:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index f230c3745803bc6b0944b3391b882684b1dd6afc..b6e89e568b1b2bcd23a17383ea2c3408756c90f7 100644 (file)
@@ -141,7 +141,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
 
     wxClientDC dc(this);
     dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
-    long widthText = 0;
+    wxCoord widthText = 0;
     dc.GetTextExtent(message, &widthText, NULL, NULL, NULL, NULL);
 
     wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);