From 958e4b4b75994ead89561ca519ff635dd88fecde Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Jun 2009 22:36:57 +0000 Subject: [PATCH] added missing int git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/button.cpp b/src/msw/button.cpp index b17908b014..b88fec20b0 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -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 }; -- 2.47.2