avoid shadowed variable warnings with VS2015
This commit is contained in:
@@ -1289,8 +1289,8 @@ wxColour wxNotebook::GetThemeBackgroundColour() const
|
||||
WCHAR szwThemeColor[256];
|
||||
if (S_OK == wxUxThemeEngine::Get()->GetCurrentThemeName(szwThemeFile, 1024, szwThemeColor, 256, NULL, 0))
|
||||
{
|
||||
wxString themeFile(szwThemeFile), themeColor(szwThemeColor);
|
||||
if (themeFile.Find(wxT("Aero")) != -1 && themeColor == wxT("NormalColor"))
|
||||
wxString themeFile(szwThemeFile);
|
||||
if (themeFile.Find(wxT("Aero")) != -1 && wxString(szwThemeColor) == wxT("NormalColor"))
|
||||
s_AeroStatus = 1;
|
||||
else
|
||||
s_AeroStatus = 0;
|
||||
|
Reference in New Issue
Block a user