X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..7fdaaabe427325cd10e8a9130c26a596b6997f98:/wxPython/contrib/xrc/xrc.i diff --git a/wxPython/contrib/xrc/xrc.i b/wxPython/contrib/xrc/xrc.i index 37612db90a..f7f990aed2 100644 --- a/wxPython/contrib/xrc/xrc.i +++ b/wxPython/contrib/xrc/xrc.i @@ -26,17 +26,18 @@ //--------------------------------------------------------------------------- %import core.i -%pythoncode { wx = core } +%pythoncode { wx = _core } +%pythoncode { __docfilter__ = wx.__DocFilter(globals()) } MAKE_CONST_WXSTRING_NOSWIG(EmptyString); -MAKE_CONST_WXSTRING2(UTF8String, "UTF-8"); -MAKE_CONST_WXSTRING2(StyleString, "style"); -MAKE_CONST_WXSTRING2(SizeString, "size"); -MAKE_CONST_WXSTRING2(PosString, "pos"); -MAKE_CONST_WXSTRING2(BitmapString, "bitmap"); -MAKE_CONST_WXSTRING2(IconString, "icon"); -MAKE_CONST_WXSTRING2(FontString, "font"); +MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8")); +MAKE_CONST_WXSTRING2(StyleString, wxT("style")); +MAKE_CONST_WXSTRING2(SizeString, wxT("size")); +MAKE_CONST_WXSTRING2(PosString, wxT("pos")); +MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap")); +MAKE_CONST_WXSTRING2(IconString, wxT("icon")); +MAKE_CONST_WXSTRING2(FontString, wxT("font")); %include _xrc_rename.i