Discussion:
Phoenix: wx.Icon CreateFromHICON
n***@gmail.com
2014-03-10 20:40:23 UTC
Permalink
wx.Icon.CreateFromHICON and SetHandle and similar for wx.Bitmap.SetHandle
raise an error on Python 3.3:

TypeError: Bitmap.SetHandle(): argument 1 has unexpected type 'int'

Perhaps confusion from the lacking long type in Python 3.

Documentation for these are also missing in the case of wx.Icon.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
n***@gmail.com
2014-03-10 23:24:38 UTC
Permalink
Let me amend that, it fails with numbers greater than the max value of a
32-bit integer. 2147483647 passes while 2147483648 fails.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...