From e8a301af2eec8d65fb96959effb797cbfd6ed56b Mon Sep 17 00:00:00 2001
From: Paul Cornett <paulcor@bullseye.com>
Date: Sat, 5 May 2007 17:54:57 +0000
Subject: [PATCH] build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/generic/progdlgg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp
index f230c37458..b6e89e568b 100644
--- a/src/generic/progdlgg.cpp
+++ b/src/generic/progdlgg.cpp
@@ -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);
-- 
2.47.2