X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7722248d7510121367c9d4db7af1156197c26e82..f2ac038698d45e486f0300e8b7a2f83392c1d153:/wxPython/src/gdi.i?ds=sidebyside diff --git a/wxPython/src/gdi.i b/wxPython/src/gdi.i index c622181a4f..9b0078e018 100644 --- a/wxPython/src/gdi.i +++ b/wxPython/src/gdi.i @@ -10,7 +10,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module gdi +%module(package="wx") _gdi //--------------------------------------------------------------------------- @@ -18,21 +18,21 @@ #include "wx/wxPython/wxPython.h" #include "wx/wxPython/pyclasses.h" - DECLARE_DEF_STRING(EmptyString); %} //--------------------------------------------------------------------------- %import core.i -%pythoncode { wx = core } +%pythoncode { wx = _core } +%include __gdi_rename.i -// Include all the files that make up this module -%include _gdi_rename.i +MAKE_CONST_WXSTRING_NOSWIG(EmptyString); + +// Include all the files that make up this module -// GDI %include _gdiobj.i %include _colour.i %include _palette.i