]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing int
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jun 2009 22:36:57 +0000 (22:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jun 2009 22:36:57 +0000 (22:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/button.cpp

index b17908b014a00939136b117f7988e3e7a3fbe466..b88fec20b01d681291eee11e837992a7c0cd2749 100644 (file)
@@ -1088,7 +1088,7 @@ void DrawXPBackground(wxButton *button, HDC hdc, RECT& rectBtn, UINT state)
 
     // this array is indexed by wxButton::State values and so must be kept in
     // sync with it
-    static const uxStates[] =
+    static const int uxStates[] =
     {
         PBS_NORMAL, PBS_HOT, PBS_PRESSED, PBS_DISABLED, PBS_DEFAULTED
     };