]> git.saurik.com Git - wxWidgets.git/commit
Return smaller images for wxART_MENU/BUTTON under OS X.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:24 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:24 +0000 (22:57 +0000)
commit1d3dfc57e77c64a4691fae47b566bcfb99eceb48
tree463147345c8e1d8c1dba3b5ae918c591dad019ea
parent5c67a53d87824299c35fe1690030428e1610230d
Return smaller images for wxART_MENU/BUTTON under OS X.

Requesting images with client id of wxART_MENU/BUTTON used to return the large
32*32 icons because GetNativeSizeHint() wasn't implemented for these client
ids.

Moreover, under Mac some icons (notably message box ones) are created from the
corresponding icon bundle and the code in wxArtProvider::GetBitmap() didn't
resize them correctly in this case, fix this.

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