mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Added sip.voidptr->int type casting in wx_pycairo.py
This commit is contained in:
@@ -112,7 +112,7 @@ def _FontFaceFromFont(font):
|
||||
|
||||
elif 'wxMSW' in wx.PlatformInfo:
|
||||
fontfaceptr = voidp( cairoLib.cairo_win32_font_face_create_for_hfont(
|
||||
ctypes.c_ulong(font.GetHFONT())) )
|
||||
ctypes.c_ulong(int(font.GetHFONT()))) )
|
||||
fontface = pycairoAPI.FontFace_FromFontFace(fontfaceptr)
|
||||
|
||||
elif 'wxGTK' in wx.PlatformInfo:
|
||||
|
||||
Reference in New Issue
Block a user