Make wxToolBar accept first mouse clicks. That is, clicking on a toolbar
authorDavid Elliott <dfe@tgwbd.org>
Mon, 26 Sep 2005 16:20:57 +0000 (16:20 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 26 Sep 2005 16:20:57 +0000 (16:20 +0000)
commit3b60ea2f22359e044a667dcf33e41040f6c97e26
treeba01b4c7ebd48e8e9a9645898e6a3db1a0d26616
parentacb96ac277797a4b40d05264f088ee0693382f4b
Make wxToolBar accept first mouse clicks.  That is, clicking on a toolbar
tool when the window is inactive will both activate the window and cause
the tool to be clicked.
TODO: User should be provided a way to override this behavior.  The Apple HIG
are basically that "dangerous" tools (like delete) should not function
on an inactive window.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/cocoa/toolbar.h
src/cocoa/toolbar.mm