Displaying 1 result from an estimated 1 matches for "wxchoice_mark".
2006 Nov 01
1
get_client_data
As a first stab at understanding swig''s mem mgmt features, I tried to
fix get_client_data, using Wx::Choice as a testbed.
The attached patch resolves the immediate crasher with this function
(which was b/c the typemap for void* isn''t right for this method). It
also uses the %markfunc feature to prevent objects that are set as
client data from being GC''d. The