Add cast to wxWindow to fix wxUniv/MSW compilation.
wxWindowMSW is different from (base class of) wxWindow in wxUniv and needs to be converted to it explicitly. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4186,7 +4186,7 @@ bool wxWindowMSW::HandleSetCursor(WXHWND WXUNUSED(hWnd),
|
|||||||
if ( wxIsBusy() )
|
if ( wxIsBusy() )
|
||||||
{
|
{
|
||||||
wxDialog* const
|
wxDialog* const
|
||||||
dlg = wxDynamicCast(wxGetTopLevelParent(this), wxDialog);
|
dlg = wxDynamicCast(wxGetTopLevelParent((wxWindow *)this), wxDialog);
|
||||||
if ( !dlg || !dlg->IsModal() )
|
if ( !dlg || !dlg->IsModal() )
|
||||||
isBusy = true;
|
isBusy = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user