]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
Added wxFontEnumerator class for wxMSW, and fixed text validator for French
[wxWidgets.git] / src / msw / statbmp.cpp
index 200e920bd85e28294c65ca7880f58ea12495d825..cc8808dd41adf2f1f4154fc3b62d06b44a7d80b6 100644 (file)
@@ -182,7 +182,11 @@ void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
         }
     }
 
-    RECT rect = { x, y, x + w, y + h };
+    RECT rect ;
+    rect.left   = x ;
+    rect.top    = y ;
+    rect.right  = x + w ;
+    rect.bottom = y + h ;
     InvalidateRect((HWND)GetParent()->GetHWND(), &rect, TRUE);
 }