wxArtProvider::GetIconBundle() cleanup:
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 29 Mar 2009 21:23:59 +0000 (21:23 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 29 Mar 2009 21:23:59 +0000 (21:23 +0000)
commitb5c2a33438de94c80c55f1f0d4e96224236bf60f
tree1a6559be545a97abe9d57bed018ae5859f8d0b35
parentcee875e32996e5c5eb8b788cfe84e2bf2a078f53
wxArtProvider::GetIconBundle() cleanup:
* makes GetIcon() and GetBitmap() behave in the same way again (i.e. GetBitmap
  falls back to CreateIconBundle too)
* GetIcon() used to call CreateIconBundle() first, before CreateBitmap() - this
  doesn't make sense, inverted
* GetIconBundle() falls back to GetIcon() if provider's CreateIconBundle()
  doesn't return anything and vice versa: GetIcon()/GetBitmap() falls back to
  GetIconBundle() if CreateBitmap() doesn't return anything

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