From 33967649b129c486b8b5d22d005aebe12abcd2bf Mon Sep 17 00:00:00 2001 From: tadatada Date: Thu, 16 Oct 2014 07:35:19 +0900 Subject: [PATCH] Fixed a C++ bool variable(1 byte) to WINAPI bool(4 bytes) for SystemParametersInfo API. --- 3rdparty/wxWidgets/src/msw/ownerdrw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/wxWidgets/src/msw/ownerdrw.cpp b/3rdparty/wxWidgets/src/msw/ownerdrw.cpp index bb34df02f3..c5b5697503 100644 --- a/3rdparty/wxWidgets/src/msw/ownerdrw.cpp +++ b/3rdparty/wxWidgets/src/msw/ownerdrw.cpp @@ -90,7 +90,7 @@ public: static wxFont* ms_systemMenuFont; static int ms_systemMenuButtonWidth; // windows clean install default static int ms_systemMenuHeight; // windows clean install default - static bool ms_showCues; + static BOOL ms_showCues; private: DECLARE_DYNAMIC_CLASS(wxMSWSystemMenuFontModule) }; @@ -102,7 +102,7 @@ private: wxFont* wxMSWSystemMenuFontModule::ms_systemMenuFont = NULL; int wxMSWSystemMenuFontModule::ms_systemMenuButtonWidth = 18; // windows clean install default int wxMSWSystemMenuFontModule::ms_systemMenuHeight = 18; // windows clean install default -bool wxMSWSystemMenuFontModule::ms_showCues = true; +BOOL wxMSWSystemMenuFontModule::ms_showCues = true; IMPLEMENT_DYNAMIC_CLASS(wxMSWSystemMenuFontModule, wxModule)