Corrected typecasts (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 };
|
RECT rcClient = { 0, 0, 0, 0 };
|
||||||
wxClientDC dc((wxWindow *)this);
|
wxClientDC dc((wxWindow *)this);
|
||||||
wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
|
wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
|
||||||
@@ -3453,7 +3453,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
|
|||||||
rc.result = MSWDefWindowProc(message, wParam, lParam);
|
rc.result = MSWDefWindowProc(message, wParam, lParam);
|
||||||
processed = true;
|
processed = true;
|
||||||
|
|
||||||
wxUxThemeHandle hTheme((wxWindow *)this, L"EDIT");
|
wxUxThemeHandle hTheme((const wxWindow *)this, L"EDIT");
|
||||||
wxWindowDC dc((wxWindow *)this);
|
wxWindowDC dc((wxWindow *)this);
|
||||||
wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
|
wxMSWDCImpl *impl = (wxMSWDCImpl*) dc.GetImpl();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user