]> git.saurik.com Git - wxWidgets.git/commit - build/msw/wx_vc9_core.vcproj
Cleaned up wxArtProvider:
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 16 Oct 2008 19:07:42 +0000 (19:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 16 Oct 2008 19:07:42 +0000 (19:07 +0000)
commita158acac6d488f58e5afc7c0ce51908a8ce6f25d
tree0d038dbd6d2a82f130ae0160919a62057fad1a2e
parentea91ff8e339b0bfdff5a81161b5fb2e2b9441801
Cleaned up wxArtProvider:
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
   into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
   without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
   it returns wxDefaultSize if it can't make a good guess instead of
   returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
   'natural' size.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
17 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
include/wx/artprov.h
interface/wx/artprov.h
src/common/artprov.cpp
src/common/artstd.cpp
src/gtk/artgtk.cpp
src/osx/artmac.cpp