ArtProvider

Hello

I am trying to run some code written some years ago, but now using wxPython 4.0.0.b2.
Failing with lines such as:

self.fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))

I cannot find any deprecation notes on ArtProvider in Phoenix documentation.

Can anyone help?

Thanks
David

https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix

···

On Wednesday, October 25, 2017 at 8:21:15 AM UTC+2, David Wende wrote:

Hello

I am trying to run some code written some years ago, but now using wxPython 4.0.0.b2.
Failing with lines such as:

self.fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))

I cannot find any deprecation notes on ArtProvider in Phoenix documentation.

Can anyone help?

Thanks
David

Thanks for this, now working
David

···

On Wednesday, 25 October 2017 09:44:52 UTC+3, Marco Prosperi wrote:

https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix

On Wednesday, October 25, 2017 at 8:21:15 AM UTC+2, David Wende wrote:

Hello

I am trying to run some code written some years ago, but now using wxPython 4.0.0.b2.
Failing with lines such as:

self.fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))

I cannot find any deprecation notes on ArtProvider in Phoenix documentation.

Can anyone help?

Thanks
David

Also, wxPython Project Phoenix Migration Guide — wxPython Phoenix 4.2.2 documentation

Robin

···

On Tuesday, October 24, 2017 at 11:44:52 PM UTC-7, Marco Prosperi wrote:

https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix

On Wednesday, October 25, 2017 at 8:21:15 AM UTC+2, David Wende wrote:

Hello

I am trying to run some code written some years ago, but now using wxPython 4.0.0.b2.
Failing with lines such as:

self.fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))

I cannot find any deprecation notes on ArtProvider in Phoenix documentation.

Can anyone help?

Thanks
David