]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected typecasts (Sebastian Gottschalk)
authorJulian Smart <julian@anthemion.co.uk>
Fri, 14 Mar 2008 14:24:45 +0000 (14:24 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 14 Mar 2008 14:24:45 +0000 (14:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 7e0c56855de723bbaf9f3eb8d844579bedb89515..557fc3d937b0d05661a285bfc28bc91e6f65c53c 100644 (file)
@@ -3421,7 +3421,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
                         rect = (RECT *)lParam;
                     }
 
                         rect = (RECT *)lParam;
                     }
 
-                    wxUxThemeHandle hTheme((wxWindow *)this, L"EDIT");
+                    wxUxThemeHandle hTheme((const wxWindow *)this, L"EDIT");
                     RECT rcClient = { 0, 0, 0, 0 };
                     wxClientDC dc((wxWindow *)this);
                     wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
                     RECT rcClient = { 0, 0, 0, 0 };
                     wxClientDC dc((wxWindow *)this);
                     wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
@@ -3453,7 +3453,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
                     rc.result = MSWDefWindowProc(message, wParam, lParam);
                     processed = true;
 
                     rc.result = MSWDefWindowProc(message, wParam, lParam);
                     processed = true;
 
-                    wxUxThemeHandle hTheme((wxWindow *)this, L"EDIT");
+                    wxUxThemeHandle hTheme((const wxWindow *)this, L"EDIT");
                     wxWindowDC dc((wxWindow *)this);
                     wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
 
                     wxWindowDC dc((wxWindow *)this);
                     wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();