mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Use a MappedType for wxIntPtr and wxUIntPtr too.
This commit is contained in:
@@ -99,8 +99,8 @@ def run():
|
||||
m.find('descent').out = True
|
||||
m.find('externalLeading').out = True
|
||||
|
||||
c.find('GetHandle').type = 'unsigned long'
|
||||
c.find('GetHandle').setCppCode("return wxPyGetWinHandle(self);")
|
||||
c.find('GetHandle').type = 'wxUIntPtr*'
|
||||
c.find('GetHandle').setCppCode("return new wxUIntPtr(wxPyGetWinHandle(self));")
|
||||
|
||||
c.addCppMethod('void*', 'GetGtkWidget', '()', """\
|
||||
#ifdef __WXGTK__
|
||||
|
||||
Reference in New Issue
Block a user