]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilo.
authorRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 14:54:35 +0000 (14:54 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 14:54:35 +0000 (14:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextformatdlg.cpp

index 501b5b9127fa2d79e1848b6ad7531f8d12d8914f..e93767e702983fa6fc9d0597ef5210d371fde590 100644 (file)
@@ -404,7 +404,7 @@ void wxRichTextFontPreviewCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
     {
         dc.SetFont(font);
         // Calculate vertical and horizontal centre
-        long w = 0, h = 0;
+        wxCoord w = 0, h = 0;
 
         wxString text(_("ABCDEFGabcdefg12345"));
         if (GetTextEffects() & wxTEXT_ATTR_EFFECT_CAPITALS)