non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -529,7 +529,7 @@ wxWindow *wxMenuBase::GetInvokingWindow() const
|
||||
|
||||
wxWindow *wxMenuBase::GetWindow() const
|
||||
{
|
||||
return GetMenuBar() ? GetMenuBar()->GetFrame() : GetInvokingWindow();
|
||||
return GetMenuBar() ? (wxWindow*)GetMenuBar()->GetFrame() : GetInvokingWindow();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user