]> git.saurik.com Git - wxWidgets.git/commit - src/osx/carbon/renderer.cpp
Use wxCONTROL_PRESSED instead of wxCONTROL_SELECTED in wxOSX renderer code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Mar 2013 00:59:27 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Mar 2013 00:59:27 +0000 (00:59 +0000)
commit216314a6072255b4261fe080aabeb6625bcc6787
tree9f60c955687df4812ffba6382c78e452593712ca
parent348357a1d7192acef3fdfe5c175b71ed6b7f6d88
Use wxCONTROL_PRESSED instead of wxCONTROL_SELECTED in wxOSX renderer code.

wxCONTROL_SELECTED is supposed to only apply to the selected items in a
listbox and similar cases whereas the buttons use wxCONTROL_PRESSED flag to
indicate whether they are toggled.

Correct the code in wxRendererMac to use the latter, for consistency with the
other platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/carbon/renderer.cpp