Merge pull request #331 from tadatada/fix_bool

Fixed a C++ bool variable(1 byte) to WINAPI bool(4 bytes) for SystemParametersInfo API.
This commit is contained in:
Gregory Hainaut 2014-10-26 15:34:05 +01:00
commit 6af09d8a09
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ public:
static wxFont* ms_systemMenuFont; static wxFont* ms_systemMenuFont;
static int ms_systemMenuButtonWidth; // windows clean install default static int ms_systemMenuButtonWidth; // windows clean install default
static int ms_systemMenuHeight; // windows clean install default static int ms_systemMenuHeight; // windows clean install default
static bool ms_showCues; static BOOL ms_showCues;
private: private:
DECLARE_DYNAMIC_CLASS(wxMSWSystemMenuFontModule) DECLARE_DYNAMIC_CLASS(wxMSWSystemMenuFontModule)
}; };
@ -102,7 +102,7 @@ private:
wxFont* wxMSWSystemMenuFontModule::ms_systemMenuFont = NULL; wxFont* wxMSWSystemMenuFontModule::ms_systemMenuFont = NULL;
int wxMSWSystemMenuFontModule::ms_systemMenuButtonWidth = 18; // windows clean install default int wxMSWSystemMenuFontModule::ms_systemMenuButtonWidth = 18; // windows clean install default
int wxMSWSystemMenuFontModule::ms_systemMenuHeight = 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) IMPLEMENT_DYNAMIC_CLASS(wxMSWSystemMenuFontModule, wxModule)