oops, segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
df02852424
commit
a9a05059b9
@ -2295,7 +2295,8 @@ void wxMenuBar::OnDismissMenu(bool dismissMenuBar)
|
|||||||
|
|
||||||
void wxMenuBar::OnDismiss()
|
void wxMenuBar::OnDismiss()
|
||||||
{
|
{
|
||||||
GetCapture()->ReleaseMouse();
|
if ( GetCapture() )
|
||||||
|
GetCapture()->ReleaseMouse();
|
||||||
|
|
||||||
if ( m_current != -1 )
|
if ( m_current != -1 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user