Correct the check for wxSTOCK_FOR_BUTTON.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Jul 2009 00:24:20 +0000 (00:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Jul 2009 00:24:20 +0000 (00:24 +0000)
commite49776ccfbdd36a2930266dc3fcd48bab8e5460d
treea7d5e4d24e379f8890b84332d44a7fdd363254ee
parenta16a233822dd1ae4f862e40b077f9407f58c32ed
Correct the check for wxSTOCK_FOR_BUTTON.

We need to check for equality here as wxSTOCK_FOR_BUTTON includes wxSTOCK_WITH_MNEMONIC but using the latter doesn't imply the former.

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