- %pragma(python) addtoclass = "
- # replace swig generated shadow methods to resolve import issues
- def CreateTextSizer(self, *_args, **_kwargs):
- import sizers
- val = apply(windowsc.wxDialog_CreateTextSizer,(self,) + _args, _kwargs)
- if val: val = sizers.wxSizerPtr(val)
- return val
- def CreateButtonSizer(self, *_args, **_kwargs):
- import sizers
- val = apply(windowsc.wxDialog_CreateButtonSizer,(self,) + _args, _kwargs)
- if val: val = sizers.wxSizerPtr(val)
- return val
-"
-