set the modules' pacakge name to "wx" using a new SWIG feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
42637d6004
commit
b2eb030f9e
@ -11,7 +11,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
%module activex
|
||||
%module(package="wx") activex
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
@ -15,7 +15,7 @@
|
||||
`LEDNumberCtrl`, `TreeListCtrl`, etc."
|
||||
%enddef
|
||||
|
||||
%module(docstring=DOCSTRING) gizmos
|
||||
%module(package="wx", docstring=DOCSTRING) gizmos
|
||||
|
||||
|
||||
%{
|
||||
|
@ -14,7 +14,8 @@
|
||||
%define DOCSTRING
|
||||
"`GLCanvas` provides an OpenGL Context on a `wx.Window`."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) glcanvas
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) glcanvas
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
%module iewin
|
||||
%module(package="wx") iewin
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
@ -14,7 +14,8 @@
|
||||
"The Object Graphics Library provides for simple drawing and manipulation
|
||||
of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)"
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) ogl
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) ogl
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
@ -15,7 +15,8 @@
|
||||
highlighting source code editor, or similar. Lexers for several programming
|
||||
languages are built-in."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) stc
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) stc
|
||||
|
||||
|
||||
%{
|
||||
|
@ -290,7 +290,6 @@ static swig_type_info *swig_types[23];
|
||||
#include <wx/xml/xml.h>
|
||||
#include <wx/xrc/xmlres.h>
|
||||
|
||||
|
||||
static const wxString wxPyEmptyString(wxEmptyString);
|
||||
static const wxString wxPyUTF8String(wxT("UTF-8"));
|
||||
static const wxString wxPyStyleString(wxT("style"));
|
||||
|
@ -14,7 +14,8 @@
|
||||
"The `XmlResource` class allows program resources defining menus, layout of
|
||||
controls on a panel, etc. to be loaded from an XML file."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) xrc
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) xrc
|
||||
|
||||
|
||||
%{
|
||||
@ -24,7 +25,6 @@ controls on a panel, etc. to be loaded from an XML file."
|
||||
|
||||
#include <wx/xml/xml.h>
|
||||
#include <wx/xrc/xmlres.h>
|
||||
|
||||
%}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@ -13,7 +13,8 @@
|
||||
%define DOCSTRING
|
||||
"Classes for an interactive Calendar control."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) calendar
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) calendar
|
||||
|
||||
|
||||
%{
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%module _controls
|
||||
%module(package="wx") _controls
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%module _core
|
||||
%module(package="wx") _core
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython_int.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%module _gdi
|
||||
%module(package="wx") _gdi
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
@ -13,7 +13,8 @@
|
||||
%define DOCSTRING
|
||||
"Classes for implementing a spreadsheet-like control."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) grid
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) grid
|
||||
|
||||
|
||||
%{
|
||||
|
@ -14,7 +14,7 @@
|
||||
"Classes for a simple HTML rendering window, HTML Help Window, etc."
|
||||
%enddef
|
||||
|
||||
%module(docstring=DOCSTRING) html
|
||||
%module(package="wx", docstring=DOCSTRING) html
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%module _misc
|
||||
%module(package="wx") _misc
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%module _windows
|
||||
%module(package="wx") _windows
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
@ -14,7 +14,8 @@
|
||||
"`Wizard` is a dialog class that guides the user through a sequence of steps,
|
||||
or pages."
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) wizard
|
||||
|
||||
%module(package="wx", docstring=DOCSTRING) wizard
|
||||
|
||||
%{
|
||||
#include "wx/wxPython/wxPython.h"
|
||||
|
Loading…
Reference in New Issue
Block a user