From 6c0487907a89a7ae0fac20adaf2835cf9da6975c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 26 Jan 2010 09:00:48 +0000 Subject: [PATCH] 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 --- src/msw/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index c3c711cb98..67d6be5c16 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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 ( -- 2.45.2