]> git.saurik.com Git - wxWidgets.git/commit - src/osx/cocoa/toolbar.mm
Fix check toolbar items behaviour in non-native toolbars in wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Nov 2010 21:43:28 +0000 (21:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Nov 2010 21:43:28 +0000 (21:43 +0000)
commit5e9897b4bee7e8409bfef30d89e0f738de6c4e5f
tree53eab3976bdd584bc5af3fa702afe0ce89894233
parentc71096a05575db197c20fa78a63ee1195d615d27
Fix check toolbar items behaviour in non-native toolbars in wxOSX.

Update the button state when the tool is toggled. Also use NSToggleButton for
this tool and not NSOnOffButton as the latter doesn't use the alternative
(toggled) image.

Closes #12408.

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