]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for mingw32
authorGuillermo Rodriguez Garcia <guille@iies.es>
Sat, 15 Jan 2000 21:48:30 +0000 (21:48 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Sat, 15 Jan 2000 21:48:30 +0000 (21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/metafile.cpp

index eb13f6384f5487a3ebdd817731052610bfe6e82a..f8bea1184ff8554ebdb7ac1be840d9ea88e1757a 100644 (file)
@@ -490,8 +490,8 @@ bool wxMetafileDataObject::SetData(size_t WXUNUSED(len), const void *buf)
     wxMetafile mf;
     mf.SetWindowsMappingMode(mfpict->mm);
 
-    int w = mfpict->xExt,
-        h = mfpict->yExt;
+    LONG w = mfpict->xExt,
+         h = mfpict->yExt;
     if ( mfpict->mm == MM_ANISOTROPIC )
     {
         // in this case xExt and yExt contain suggested size in HIMETRIC units