ArtProvider

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ArtProvider

David Wende
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

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ArtProvider

Marco Prosperi


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

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ArtProvider

David Wende
Thanks for this, now working
David

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


<a href="https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwxpython.org%2FPhoenix%2Fdocs%2Fhtml%2Fclassic_vs_phoenix.html%23classic-vs-phoenix\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHR2T2puQJB3jqmxLkeAm8wl2VljQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwxpython.org%2FPhoenix%2Fdocs%2Fhtml%2Fclassic_vs_phoenix.html%23classic-vs-phoenix\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHR2T2puQJB3jqmxLkeAm8wl2VljQ&#39;;return true;">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

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ArtProvider

Robin Dunn
In reply to this post by Marco Prosperi
Also, https://docs.wxpython.org/MigrationGuide.html#static-methods

Robin


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


<a href="https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwxpython.org%2FPhoenix%2Fdocs%2Fhtml%2Fclassic_vs_phoenix.html%23classic-vs-phoenix\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHR2T2puQJB3jqmxLkeAm8wl2VljQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwxpython.org%2FPhoenix%2Fdocs%2Fhtml%2Fclassic_vs_phoenix.html%23classic-vs-phoenix\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHR2T2puQJB3jqmxLkeAm8wl2VljQ&#39;;return true;">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

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.