Remove the extra margins when checking owner drawn menu icons size.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Apr 2010 14:40:28 +0000 (14:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Apr 2010 14:40:28 +0000 (14:40 +0000)
commitc71238020c14b455f39bb23286b621d16f25a596
treec06b190d09cf1f41ea83e5cf8ada10ce7e188421
parent42a8164310feb5fc6c48122c9fca6953636d4aaa
Remove the extra margins when checking owner drawn menu icons size.

The extra +4 in IsLessThanStdSize() functions resulted in assert failures
under Windows XP after the ownerdraw drawing changes so remove it as nobody
knew why was it there anyhow.

Also replace IsLessThanStdSize() with IsGreaterThanStdSize() to allow using it
directly instead of always testing for !IsLessThanStdSize().

See #11657.

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