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:
Paul Cornett
2010-04-24 14:40:58 +00:00
parent 6abf7b639c
commit 9a4a080711

View File

@@ -529,7 +529,7 @@ wxWindow *wxMenuBase::GetInvokingWindow() const
wxWindow *wxMenuBase::GetWindow() const
{
return GetMenuBar() ? GetMenuBar()->GetFrame() : GetInvokingWindow();
return GetMenuBar() ? (wxWindow*)GetMenuBar()->GetFrame() : GetInvokingWindow();
}
// ----------------------------------------------------------------------------