Compilation fix for wxUniv.

We need explicit casts to wxWindow in wxWindowMSW code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-01-26 09:00:48 +00:00
parent 4d572a2cac
commit 6c0487907a

View File

@ -4763,7 +4763,7 @@ wxColour wxWindowMSW::MSWGetThemeColour(const wchar_t *themeName,
wxFAIL_MSG(wxT("unsupported theme colour"));
};
wxUxThemeHandle hTheme(this, themeName);
wxUxThemeHandle hTheme((wxWindow *)this, themeName);
COLORREF col;
HRESULT hr = theme->GetThemeColor
(