]> git.saurik.com Git - wxWidgets.git/commit
Avoid crash when releasing the mouse in wxRibbonToolBar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:03 +0000 (11:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:03 +0000 (11:57 +0000)
commit6f26925422c2de7938509657eb981d6f752a6249
treee01183dfa0e951194aa6cb7d31078b3bf2d9fb8b
parentd22e07bf6c1c3cfcc6e5a5a25d4fcfa8ee385bf4
Avoid crash when releasing the mouse in wxRibbonToolBar.

The active tool pointer can be changed/set to NULL by the event handler in
wxRibbonToolBar::OnMouseUp() so test for it before using it after processing
the event.

Closes #12640.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/ribbon/toolbar.cpp