]> git.saurik.com Git - wxWidgets.git/commitdiff
non-pch build fix
authorPaul Cornett <paulcor@bullseye.com>
Sat, 24 Apr 2010 14:40:58 +0000 (14:40 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 24 Apr 2010 14:40:58 +0000 (14:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/menucmn.cpp

index 0d2d14bf0a78319505430224923e0a72e6ab13e3..dc9db4f268176eac4de935ba6536a549394ad2a7 100644 (file)
@@ -529,7 +529,7 @@ wxWindow *wxMenuBase::GetInvokingWindow() const
 
 wxWindow *wxMenuBase::GetWindow() const
 {
-    return GetMenuBar() ? GetMenuBar()->GetFrame() : GetInvokingWindow();
+    return GetMenuBar() ? (wxWindow*)GetMenuBar()->GetFrame() : GetInvokingWindow();
 }
 
 // ----------------------------------------------------------------------------