wxArtProvider & Native Windows Icons.

I am confused about wx.Artprovider in 2.8.11. ON Linux is returns the
native folder icon using:

···

--
wx.ArtProvider.GetBitmap(wx.ART_FOLDER, wx.ART_TOOLBAR, (width, height))
--

This does not work on Windows, I get a default icon that must be part
of wx. However, getting the folder icon using the win32api is easy:

--
import win32api
shell32 = win32api.GetModuleFileName(win32api.GetModuleHandle('shell32.dll'))
folder = wx.BitmapFromIcon(wx.Icon(shell32 + ';3', wx.BITMAP_TYPE_ICO))
--

Why is this not supported on Windows? Does a later version support it?
Any patches?

Thanks.

Hi,

···

On Thu, Dec 9, 2010 at 8:21 AM, Ben Timby <btimby@gmail.com> wrote:

I am confused about wx.Artprovider in 2.8.11. ON Linux is returns the
native folder icon using:

--
wx.ArtProvider.GetBitmap(wx.ART_FOLDER, wx.ART_TOOLBAR, (width, height))
--

This does not work on Windows, I get a default icon that must be part
of wx. However, getting the folder icon using the win32api is easy:

--
import win32api
shell32 = win32api.GetModuleFileName(win32api.GetModuleHandle('shell32.dll'))
folder = wx.BitmapFromIcon(wx.Icon(shell32 + ';3', wx.BITMAP_TYPE_ICO))
--

Why is this not supported on Windows? Does a later version support it?
Any patches?

There is no native implementation for the ArtProvider in 2.8 so it
just uses the generic wx icons. Would be nice to have a native
implementation available.

Cody