[wxMac 2.7] Art provider does not return icons of correct size
Stefan Csomor
csomor at advancedconcepts.ch
Fri Oct 12 23:08:07 PDT 2007
Hi Hartwig
64x64 is not a 'native' size, 16,32,48, 128, and now 512 are, 32x32 was
the standard size
now a native icon can carry more sizes, but the wxIcon only has a
GetSize, therefore I had fixed this answer to 32x32, so the native icon
is still there, and if it carries a 128x128 icon it could use it, I have
an outstanding patch to fix art provider, so I hope I'll find the time
to merge things for a better overall situation
Thanks,
Stefan
H wrote:
> When trying to get an icon or bitmap using art provider I do not get the
> icons with the correct (default) size. Example:
>
> wxArtProvider.GetBitmap/Icon(wxART_ERROR,wxART_MESSAGE_BOX)
>
> I expect to get a bitmap or icon of size 64 x 64 (see Apple human
> interface guidelines). But I get a 32 x 32 icon (see also art provider
> sample).
> When specifying the additional parameter wxSize(64,64) I get an
> interpolated icon of size 64 x 64. This is correct but as it is
> interpolated the icon looks pretty ugly.
>
> Is this the intended behaviour of the art provider or a feature?
>
> Hartwig
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
--
Advanced Concepts AG
Software-Engineering
Heldweg 10
CH-8475 Ossingen
Switzerland
phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch
More information about the wx-users
mailing list