]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxUniv.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jan 2010 09:00:48 +0000 (09:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jan 2010 09:00:48 +0000 (09:00 +0000)
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

index c3c711cb987a7ca841242126dca21af453ccbc97..67d6be5c1624fbad04da33116f0e8ddbbe1ffb8d 100644 (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
                             (