Some tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,6 +45,15 @@ Or you can send mail directly to the list using this address:
|
|||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
What's new in 2.1b4
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Much more support for event-less callbacks and add-on modules
|
||||||
|
|
||||||
|
Created add-on module with wxOGL classes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
What's new in 2.1b3
|
What's new in 2.1b3
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
@@ -40,6 +40,14 @@ class TestGrid(wxGrid):
|
|||||||
|
|
||||||
def OnLabelClick(self, event):
|
def OnLabelClick(self, event):
|
||||||
self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
|
self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
|
||||||
|
#if event.m_row >= 10:
|
||||||
|
# self.SetLabelValue(wxVERTICAL, 'XX', event.m_row)
|
||||||
|
# self.Refresh()
|
||||||
|
#else:
|
||||||
|
# size = self.GetLabelSize(wxVERTICAL)
|
||||||
|
# print size
|
||||||
|
# self.SetLabelSize(wxVERTICAL, size+10)
|
||||||
|
# self.Refresh()
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
1
utils/wxPython/modules/.cvsignore
Normal file
1
utils/wxPython/modules/.cvsignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
update.log
|
@@ -6,6 +6,7 @@ Setup.in.new
|
|||||||
Setup.save
|
Setup.save
|
||||||
Setup.save
|
Setup.save
|
||||||
Setup.test
|
Setup.test
|
||||||
|
_make.bat
|
||||||
build.local
|
build.local
|
||||||
compile.py
|
compile.py
|
||||||
config.c
|
config.c
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# Licence: wxWindows license
|
# Licence: wxWindows license
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
# ensure the main extension module is loaded, in case the embedded modules
|
# ensure the main extension module is loaded, in case the add-on modules
|
||||||
# (such as utils,) are used standalone. This hack should go away soon.
|
# (such as utils,) are used standalone. This hack should go away soon.
|
||||||
import wxc
|
import wxc
|
||||||
|
|
||||||
|
@@ -181,10 +181,14 @@ enum {
|
|||||||
wxNO_3D,
|
wxNO_3D,
|
||||||
//wxOVERRIDE_KEY_TRANSLATIONS,
|
//wxOVERRIDE_KEY_TRANSLATIONS,
|
||||||
wxTAB_TRAVERSAL,
|
wxTAB_TRAVERSAL,
|
||||||
|
wxWANTS_CHARS,
|
||||||
wxHORIZONTAL,
|
wxHORIZONTAL,
|
||||||
wxVERTICAL,
|
wxVERTICAL,
|
||||||
wxBOTH,
|
wxBOTH,
|
||||||
wxCENTER_FRAME,
|
wxCENTER_FRAME,
|
||||||
|
wxCENTRE_ON_SCREEN,
|
||||||
|
wxCENTER_ON_SCREEN,
|
||||||
|
|
||||||
wxSTAY_ON_TOP,
|
wxSTAY_ON_TOP,
|
||||||
wxICONIZE,
|
wxICONIZE,
|
||||||
wxMINIMIZE,
|
wxMINIMIZE,
|
||||||
@@ -204,6 +208,11 @@ enum {
|
|||||||
|
|
||||||
wxFRAME_TOOL_WINDOW,
|
wxFRAME_TOOL_WINDOW,
|
||||||
wxFRAME_FLOAT_ON_PARENT,
|
wxFRAME_FLOAT_ON_PARENT,
|
||||||
|
wxED_CLIENT_MARGIN,
|
||||||
|
wxED_BUTTONS_BOTTOM,
|
||||||
|
wxED_BUTTONS_RIGHT,
|
||||||
|
wxED_STATIC_LINE,
|
||||||
|
wxEXT_DIALOG_STYLE,
|
||||||
|
|
||||||
wxCLIP_CHILDREN,
|
wxCLIP_CHILDREN,
|
||||||
|
|
||||||
@@ -266,6 +275,7 @@ enum {
|
|||||||
wxTR_EDIT_LABELS,
|
wxTR_EDIT_LABELS,
|
||||||
wxTR_LINES_AT_ROOT,
|
wxTR_LINES_AT_ROOT,
|
||||||
wxTR_MULTIPLE,
|
wxTR_MULTIPLE,
|
||||||
|
wxTR_SINGLE,
|
||||||
wxTR_HAS_VARIABLE_ROW_HEIGHT,
|
wxTR_HAS_VARIABLE_ROW_HEIGHT,
|
||||||
wxLC_ICON,
|
wxLC_ICON,
|
||||||
wxLC_SMALL_ICON,
|
wxLC_SMALL_ICON,
|
||||||
@@ -304,6 +314,8 @@ enum {
|
|||||||
wxCANCEL,
|
wxCANCEL,
|
||||||
wxYES,
|
wxYES,
|
||||||
wxNO,
|
wxNO,
|
||||||
|
wxNO_DEFAULT,
|
||||||
|
wxYES_DEFAULT,
|
||||||
wxICON_EXCLAMATION,
|
wxICON_EXCLAMATION,
|
||||||
wxICON_HAND,
|
wxICON_HAND,
|
||||||
wxICON_QUESTION,
|
wxICON_QUESTION,
|
||||||
@@ -311,6 +323,16 @@ enum {
|
|||||||
wxICON_STOP,
|
wxICON_STOP,
|
||||||
wxICON_ASTERISK,
|
wxICON_ASTERISK,
|
||||||
wxICON_MASK,
|
wxICON_MASK,
|
||||||
|
wxICON_WARNING,
|
||||||
|
wxICON_ERROR,
|
||||||
|
|
||||||
|
wxFORWARD,
|
||||||
|
wxBACKWARD,
|
||||||
|
wxRESET,
|
||||||
|
wxHELP,
|
||||||
|
wxMORE,
|
||||||
|
wxSETUP,
|
||||||
|
|
||||||
wxCENTRE,
|
wxCENTRE,
|
||||||
wxCENTER,
|
wxCENTER,
|
||||||
wxSIZE_AUTO_WIDTH,
|
wxSIZE_AUTO_WIDTH,
|
||||||
@@ -370,6 +392,7 @@ enum {
|
|||||||
wxID_YES,
|
wxID_YES,
|
||||||
wxID_NO,
|
wxID_NO,
|
||||||
wxID_STATIC,
|
wxID_STATIC,
|
||||||
|
|
||||||
wxBITMAP_TYPE_BMP,
|
wxBITMAP_TYPE_BMP,
|
||||||
wxBITMAP_TYPE_BMP_RESOURCE,
|
wxBITMAP_TYPE_BMP_RESOURCE,
|
||||||
wxBITMAP_TYPE_ICO,
|
wxBITMAP_TYPE_ICO,
|
||||||
@@ -406,10 +429,37 @@ enum {
|
|||||||
wxPD_ESTIMATED_TIME,
|
wxPD_ESTIMATED_TIME,
|
||||||
wxPD_REMAINING_TIME,
|
wxPD_REMAINING_TIME,
|
||||||
|
|
||||||
wxNO_DEFAULT,
|
|
||||||
wxMENU_TEAROFF,
|
wxMENU_TEAROFF,
|
||||||
|
wxMB_DOCKABLE,
|
||||||
wxNO_FULL_REPAINT_ON_RESIZE,
|
wxNO_FULL_REPAINT_ON_RESIZE,
|
||||||
|
|
||||||
|
wxLEFT,
|
||||||
|
wxRIGHT,
|
||||||
|
wxUP,
|
||||||
|
wxDOWN,
|
||||||
|
wxALL,
|
||||||
|
wxTOP,
|
||||||
|
wxBOTTOM,
|
||||||
|
|
||||||
|
wxNORTH,
|
||||||
|
wxSOUTH,
|
||||||
|
wxEAST,
|
||||||
|
wxWEST,
|
||||||
|
|
||||||
|
wxSTRETCH_NOT,
|
||||||
|
wxSHRINK,
|
||||||
|
wxGROW,
|
||||||
|
wxEXPAND,
|
||||||
|
|
||||||
|
wxNB_FIXEDWIDTH,
|
||||||
|
|
||||||
|
wxLI_HORIZONTAL,
|
||||||
|
wxLI_VERTICAL,
|
||||||
|
|
||||||
|
|
||||||
|
wxHW_SCROLLBAR_NEVER,
|
||||||
|
wxHW_SCROLLBAR_AUTO,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -10,6 +10,8 @@ SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
|
|||||||
|
|
||||||
PYFILES = ['__init__.py']
|
PYFILES = ['__init__.py']
|
||||||
|
|
||||||
|
SWIGDEPS = '_defs.i my_typemaps.i'
|
||||||
|
OTHERDEPS = 'helpers.h'
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
RESFILE = 1
|
RESFILE = 1
|
||||||
|
@@ -247,13 +247,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
~wxPyTreeItemData() {
|
~wxPyTreeItemData() {
|
||||||
#ifdef WXP_WITH_THREAD
|
bool doSave = wxPyRestoreThread();
|
||||||
PyEval_RestoreThread(wxPyEventThreadState);
|
|
||||||
#endif
|
|
||||||
Py_DECREF(m_obj);
|
Py_DECREF(m_obj);
|
||||||
#ifdef WXP_WITH_THREAD
|
wxPySaveThread(doSave);
|
||||||
PyEval_SaveThread();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject* GetData() {
|
PyObject* GetData() {
|
||||||
|
@@ -474,8 +474,8 @@ extern wxFont *wxNORMAL_FONT;
|
|||||||
extern wxFont *wxSMALL_FONT;
|
extern wxFont *wxSMALL_FONT;
|
||||||
extern wxFont *wxITALIC_FONT;
|
extern wxFont *wxITALIC_FONT;
|
||||||
extern wxFont *wxSWISS_FONT;
|
extern wxFont *wxSWISS_FONT;
|
||||||
extern wxPen *wxRED_PEN;
|
|
||||||
|
|
||||||
|
extern wxPen *wxRED_PEN;
|
||||||
extern wxPen *wxCYAN_PEN;
|
extern wxPen *wxCYAN_PEN;
|
||||||
extern wxPen *wxGREEN_PEN;
|
extern wxPen *wxGREEN_PEN;
|
||||||
extern wxPen *wxBLACK_PEN;
|
extern wxPen *wxBLACK_PEN;
|
||||||
@@ -510,7 +510,6 @@ extern wxCursor *wxHOURGLASS_CURSOR;
|
|||||||
extern wxCursor *wxCROSS_CURSOR;
|
extern wxCursor *wxCROSS_CURSOR;
|
||||||
|
|
||||||
extern wxBitmap wxNullBitmap;
|
extern wxBitmap wxNullBitmap;
|
||||||
//extern wxMask wxNullMask;
|
|
||||||
extern wxIcon wxNullIcon;
|
extern wxIcon wxNullIcon;
|
||||||
extern wxCursor wxNullCursor;
|
extern wxCursor wxNullCursor;
|
||||||
extern wxPen wxNullPen;
|
extern wxPen wxNullPen;
|
||||||
|
@@ -81,7 +81,7 @@ swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags)
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------
|
/* --------------------------------------------------------------------
|
||||||
swig_varlink_getattr
|
swig_varlink_getattr
|
||||||
|
|
||||||
This function gets the value of a variable and returns it as a
|
This function gets the value of a variable and returns it as a
|
||||||
PyObject. In our case, we'll be looking at the datatype and
|
PyObject. In our case, we'll be looking at the datatype and
|
||||||
converting into a number or string
|
converting into a number or string
|
||||||
@@ -128,17 +128,17 @@ swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p)
|
|||||||
|
|
||||||
statichere PyTypeObject varlinktype = {
|
statichere PyTypeObject varlinktype = {
|
||||||
/* PyObject_HEAD_INIT(&PyType_Type) Note : This doesn't work on some machines */
|
/* PyObject_HEAD_INIT(&PyType_Type) Note : This doesn't work on some machines */
|
||||||
PyObject_HEAD_INIT(0)
|
PyObject_HEAD_INIT(0)
|
||||||
0,
|
0,
|
||||||
"varlink", /* Type name */
|
"varlink", /* Type name */
|
||||||
sizeof(swig_varlinkobject), /* Basic size */
|
sizeof(swig_varlinkobject), /* Basic size */
|
||||||
0, /* Itemsize */
|
0, /* Itemsize */
|
||||||
0, /* Deallocator */
|
0, /* Deallocator */
|
||||||
(printfunc) swig_varlink_print, /* Print */
|
(printfunc) swig_varlink_print, /* Print */
|
||||||
(getattrfunc) swig_varlink_getattr, /* get attr */
|
(getattrfunc) swig_varlink_getattr, /* get attr */
|
||||||
(setattrfunc) swig_varlink_setattr, /* Set attr */
|
(setattrfunc) swig_varlink_setattr, /* Set attr */
|
||||||
0, /* tp_compare */
|
0, /* tp_compare */
|
||||||
(reprfunc) swig_varlink_repr, /* tp_repr */
|
(reprfunc) swig_varlink_repr, /* tp_repr */
|
||||||
0, /* tp_as_number */
|
0, /* tp_as_number */
|
||||||
0, /* tp_as_mapping*/
|
0, /* tp_as_mapping*/
|
||||||
0, /* tp_hash */
|
0, /* tp_hash */
|
||||||
@@ -169,7 +169,7 @@ SWIG_addvarlink(PyObject *p, char *name,
|
|||||||
{
|
{
|
||||||
swig_varlinkobject *v;
|
swig_varlinkobject *v;
|
||||||
v= (swig_varlinkobject *) p;
|
v= (swig_varlinkobject *) p;
|
||||||
|
|
||||||
if (v->nvars >= v->maxvars -1) {
|
if (v->nvars >= v->maxvars -1) {
|
||||||
v->maxvars = 2*v->maxvars;
|
v->maxvars = 2*v->maxvars;
|
||||||
v->vars = (swig_globalvar **) realloc(v->vars,v->maxvars*sizeof(swig_globalvar *));
|
v->vars = (swig_globalvar **) realloc(v->vars,v->maxvars*sizeof(swig_globalvar *));
|
||||||
@@ -216,7 +216,7 @@ static SwigPtrType *SwigPtrTable = 0; /* Table containing pointer equivalences
|
|||||||
/* Cached values */
|
/* Cached values */
|
||||||
#define SWIG_CACHESIZE 8
|
#define SWIG_CACHESIZE 8
|
||||||
#define SWIG_CACHEMASK 0x7
|
#define SWIG_CACHEMASK 0x7
|
||||||
static SwigCacheType SwigCache[SWIG_CACHESIZE];
|
static SwigCacheType SwigCache[SWIG_CACHESIZE];
|
||||||
static int SwigCacheIndex = 0;
|
static int SwigCacheIndex = 0;
|
||||||
static int SwigLastCache = 0;
|
static int SwigLastCache = 0;
|
||||||
|
|
||||||
@@ -228,13 +228,13 @@ static int swigsort(const void *data1, const void *data2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Register a new datatype with the type-checker */
|
/* Register a new datatype with the type-checker */
|
||||||
SWIGSTATICRUNTIME(void)
|
SWIGSTATICRUNTIME(void)
|
||||||
SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
|
SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
|
||||||
int i;
|
int i;
|
||||||
SwigPtrType *t = 0,*t1;
|
SwigPtrType *t = 0,*t1;
|
||||||
|
|
||||||
/* Allocate the pointer table if necessary */
|
/* Allocate the pointer table if necessary */
|
||||||
if (!SwigPtrTable) {
|
if (!SwigPtrTable) {
|
||||||
SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
|
SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -269,17 +269,17 @@ SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
|
|||||||
t1->name = newtype;
|
t1->name = newtype;
|
||||||
t1->len = strlen(t1->name);
|
t1->len = strlen(t1->name);
|
||||||
t1->cast = cast;
|
t1->cast = cast;
|
||||||
t1->next = 0;
|
t1->next = 0;
|
||||||
t->next = t1;
|
t->next = t1;
|
||||||
SwigPtrSort = 0;
|
SwigPtrSort = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make a pointer value string */
|
/* Make a pointer value string */
|
||||||
SWIGSTATICRUNTIME(void)
|
SWIGSTATICRUNTIME(void)
|
||||||
SWIG_MakePtr(char *c, const void *ptr, char *type) {
|
SWIG_MakePtr(char *c, const void *ptr, char *type) {
|
||||||
static char hex[17] = "0123456789abcdef";
|
static char hex[17] = "0123456789abcdef";
|
||||||
unsigned long p, s;
|
unsigned long p, s;
|
||||||
char result[24], *r;
|
char result[24], *r;
|
||||||
r = result;
|
r = result;
|
||||||
p = (unsigned long) ptr;
|
p = (unsigned long) ptr;
|
||||||
if (p > 0) {
|
if (p > 0) {
|
||||||
@@ -298,7 +298,7 @@ SWIG_MakePtr(char *c, const void *ptr, char *type) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Function for getting a pointer value */
|
/* Function for getting a pointer value */
|
||||||
SWIGSTATICRUNTIME(char *)
|
SWIGSTATICRUNTIME(char *)
|
||||||
SWIG_GetPtr(char *c, void **ptr, char *t)
|
SWIG_GetPtr(char *c, void **ptr, char *t)
|
||||||
{
|
{
|
||||||
unsigned long p;
|
unsigned long p;
|
||||||
@@ -323,14 +323,14 @@ SWIG_GetPtr(char *c, void **ptr, char *t)
|
|||||||
else if ((d >= 'a') && (d <= 'f'))
|
else if ((d >= 'a') && (d <= 'f'))
|
||||||
p = (p << 4) + (d - ('a'-10));
|
p = (p << 4) + (d - ('a'-10));
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
*ptr = (void *) p;
|
*ptr = (void *) p;
|
||||||
if ((!t) || (strcmp(t,c)==0)) return (char *) 0;
|
if ((!t) || (strcmp(t,c)==0)) return (char *) 0;
|
||||||
|
|
||||||
if (!SwigPtrSort) {
|
if (!SwigPtrSort) {
|
||||||
qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
|
qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
|
||||||
for (i = 0; i < 256; i++) SwigStart[i] = SwigPtrN;
|
for (i = 0; i < 256; i++) SwigStart[i] = SwigPtrN;
|
||||||
for (i = SwigPtrN-1; i >= 0; i--) SwigStart[(int) (SwigPtrTable[i].name[1])] = i;
|
for (i = SwigPtrN-1; i >= 0; i--) SwigStart[(int) (SwigPtrTable[i].name[1])] = i;
|
||||||
for (i = 255; i >= 1; i--) {
|
for (i = 255; i >= 1; i--) {
|
||||||
@@ -388,7 +388,7 @@ SWIG_GetPtr(char *c, void **ptr, char *t)
|
|||||||
start++;
|
start++;
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* New object-based GetPointer function. This uses the Python abstract
|
/* New object-based GetPointer function. This uses the Python abstract
|
||||||
* object interface to automatically dereference the 'this' attribute
|
* object interface to automatically dereference the 'this' attribute
|
||||||
@@ -399,8 +399,10 @@ SWIG_GetPtrObj(PyObject *obj, void **ptr, char *type) {
|
|||||||
PyObject *sobj = obj;
|
PyObject *sobj = obj;
|
||||||
char *str;
|
char *str;
|
||||||
if (!PyString_Check(obj)) {
|
if (!PyString_Check(obj)) {
|
||||||
sobj = PyObject_GetAttrString(obj,"this");
|
if (!PyInstance_Check(obj) || !(sobj = PyObject_GetAttrString(obj,"this")))
|
||||||
if (!sobj) return "";
|
return "";
|
||||||
|
// sobj = PyObject_GetAttrString(obj,"this");
|
||||||
|
// if (!sobj) return "";
|
||||||
}
|
}
|
||||||
str = PyString_AsString(sobj);
|
str = PyString_AsString(sobj);
|
||||||
return SWIG_GetPtr(str,ptr,type);
|
return SWIG_GetPtr(str,ptr,type);
|
||||||
|
1
utils/wxPython/src/msw/.cvsignore
Normal file
1
utils/wxPython/src/msw/.cvsignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.doc
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -107,14 +107,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -118,14 +118,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
@@ -129,13 +129,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
~wxPyTreeItemData() {
|
~wxPyTreeItemData() {
|
||||||
#ifdef WXP_WITH_THREAD
|
bool doSave = wxPyRestoreThread();
|
||||||
PyEval_RestoreThread(wxPyEventThreadState);
|
|
||||||
#endif
|
|
||||||
Py_DECREF(m_obj);
|
Py_DECREF(m_obj);
|
||||||
#ifdef WXP_WITH_THREAD
|
wxPySaveThread(doSave);
|
||||||
PyEval_SaveThread();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject* GetData() {
|
PyObject* GetData() {
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -104,14 +104,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -104,14 +104,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -104,14 +104,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -103,14 +103,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 802)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 802)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
@@ -121,19 +121,20 @@ class wxPyPrintout : public wxPrintout {
|
|||||||
public:
|
public:
|
||||||
wxPyPrintout(const wxString& title) : wxPrintout(title) {}
|
wxPyPrintout(const wxString& title) : wxPrintout(title) {}
|
||||||
|
|
||||||
PYCALLBACK_BOOL_INTINT(wxPrintout, OnBeginDocument);
|
DEC_PYCALLBACK_BOOL_INTINT(OnBeginDocument);
|
||||||
PYCALLBACK__(wxPrintout, OnEndDocument);
|
DEC_PYCALLBACK__(OnEndDocument);
|
||||||
PYCALLBACK__(wxPrintout, OnBeginPrinting);
|
DEC_PYCALLBACK__(OnBeginPrinting);
|
||||||
PYCALLBACK__(wxPrintout, OnEndPrinting);
|
DEC_PYCALLBACK__(OnEndPrinting);
|
||||||
PYCALLBACK__(wxPrintout, OnPreparePrinting);
|
DEC_PYCALLBACK__(OnPreparePrinting);
|
||||||
PYCALLBACK_BOOL_INT_pure(wxPrintout, OnPrintPage);
|
DEC_PYCALLBACK_BOOL_INT_pure(OnPrintPage);
|
||||||
PYCALLBACK_BOOL_INT(wxPrintout, HasPage);
|
DEC_PYCALLBACK_BOOL_INT(HasPage);
|
||||||
|
|
||||||
|
|
||||||
// Since this one would be tough and ugly to do with the Macros...
|
// Since this one would be tough and ugly to do with the Macros...
|
||||||
void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
||||||
bool hadErr = false;
|
bool hadErr = false;
|
||||||
|
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
if (m_myInst.findCallback("GetPageInfo")) {
|
if (m_myInst.findCallback("GetPageInfo")) {
|
||||||
PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
|
PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
|
||||||
if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
|
if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
|
||||||
@@ -163,19 +164,29 @@ public:
|
|||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
}
|
}
|
||||||
Py_DECREF(result);
|
Py_DECREF(result);
|
||||||
#ifdef WXP_WITH_THREAD
|
|
||||||
PyEval_SaveThread();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
||||||
|
|
||||||
|
wxPySaveThread(doSave);
|
||||||
}
|
}
|
||||||
|
|
||||||
void base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
void base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
||||||
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
PYPRIVATE;
|
PYPRIVATE;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
|
||||||
|
IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
|
||||||
|
IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 802)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -104,14 +104,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
@@ -990,6 +990,40 @@ static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, P
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
|
||||||
|
static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxEvtHandler * _result;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
|
#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
|
||||||
static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -2124,6 +2158,79 @@ static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *k
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxEvtHandler * _result;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
bool _arg1 = (bool ) FALSE;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
int tempbool1 = (int) FALSE;
|
||||||
|
char *_kwnames[] = { "self","deleteHandler", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_arg1 = (bool ) tempbool1;
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
wxEvtHandler * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _argo1 = 0;
|
||||||
|
char *_kwnames[] = { "self","handler", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_argo1) {
|
||||||
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxWindow_PushEventHandler(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
|
#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
|
||||||
static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -3076,6 +3183,42 @@ static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObje
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxWindow * _arg0;
|
||||||
|
wxEvtHandler * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _argo1 = 0;
|
||||||
|
char *_kwnames[] = { "self","handler", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (_argo1) {
|
||||||
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxWindow_SetEventHandler(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
||||||
static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -6772,6 +6915,7 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -6799,6 +6943,8 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -6832,6 +6978,7 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
|
{ "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -110,6 +110,10 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs)
|
||||||
if val: val = wxLayoutConstraintsPtr(val)
|
if val: val = wxLayoutConstraintsPtr(val)
|
||||||
return val
|
return val
|
||||||
|
def GetEventHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_GetEventHandler,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxEvtHandlerPtr(val)
|
||||||
|
return val
|
||||||
def GetFont(self, *_args, **_kwargs):
|
def GetFont(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
|
||||||
if val: val = wxFontPtr(val)
|
if val: val = wxFontPtr(val)
|
||||||
@@ -217,6 +221,13 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
def Move(self, *_args, **_kwargs):
|
def Move(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_Move,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_Move,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def PopEventHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_PopEventHandler,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxEvtHandlerPtr(val)
|
||||||
|
return val
|
||||||
|
def PushEventHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_PushEventHandler,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def PopupMenuXY(self, *_args, **_kwargs):
|
def PopupMenuXY(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -299,6 +310,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
|||||||
def SetCursor(self, *_args, **_kwargs):
|
def SetCursor(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetEventHandler(self, *_args, **_kwargs):
|
||||||
|
val = apply(windowsc.wxWindow_SetEventHandler,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def SetTitle(self, *_args, **_kwargs):
|
def SetTitle(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxWindow_SetTitle,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxWindow_SetTitle,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -109,14 +109,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
@@ -1213,15 +1213,9 @@ static PyObject * wxGrid_GetCells(wxGrid *self) {
|
|||||||
for (col=0; col < self->GetCols(); col++) {
|
for (col=0; col < self->GetCols(); col++) {
|
||||||
wxGridCell* cell = self->GetCell(row, col);
|
wxGridCell* cell = self->GetCell(row, col);
|
||||||
|
|
||||||
#ifdef WXP_WITH_THREAD
|
bool doSave = wxPyRestoreThread();
|
||||||
PyEval_RestoreThread(wxPyEventThreadState);
|
|
||||||
wxPyInEvent = true;
|
|
||||||
#endif
|
|
||||||
PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
|
PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
|
||||||
#ifdef WXP_WITH_THREAD
|
wxPySaveThread(doSave);
|
||||||
PyEval_SaveThread();
|
|
||||||
wxPyInEvent = false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (PyList_Append(rowList, pyCell) == -1)
|
if (PyList_Append(rowList, pyCell) == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -105,14 +105,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* This file was automatically generated by :
|
* This file was automatically generated by :
|
||||||
* Simplified Wrapper and Interface Generator (SWIG)
|
* Simplified Wrapper and Interface Generator (SWIG)
|
||||||
* Version 1.1 (Build 794)
|
* Version 1.1 (Build 810)
|
||||||
*
|
*
|
||||||
* Portions Copyright (c) 1995-1998
|
* Portions Copyright (c) 1995-1998
|
||||||
* The University of Utah and The Regents of the University of California.
|
* The University of Utah and The Regents of the University of California.
|
||||||
@@ -103,14 +103,14 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern byte* byte_LIST_helper(PyObject* source);
|
HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
|
||||||
extern int* int_LIST_helper(PyObject* source);
|
HELPEREXPORT int* int_LIST_helper(PyObject* source);
|
||||||
extern long* long_LIST_helper(PyObject* source);
|
HELPEREXPORT long* long_LIST_helper(PyObject* source);
|
||||||
extern char** string_LIST_helper(PyObject* source);
|
HELPEREXPORT char** string_LIST_helper(PyObject* source);
|
||||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
|
||||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||||
|
|
||||||
|
|
||||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||||
@@ -2052,10 +2052,13 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxUSER_COLOURS", PyInt_FromLong((long) wxUSER_COLOURS));
|
PyDict_SetItemString(d,"wxUSER_COLOURS", PyInt_FromLong((long) wxUSER_COLOURS));
|
||||||
PyDict_SetItemString(d,"wxNO_3D", PyInt_FromLong((long) wxNO_3D));
|
PyDict_SetItemString(d,"wxNO_3D", PyInt_FromLong((long) wxNO_3D));
|
||||||
PyDict_SetItemString(d,"wxTAB_TRAVERSAL", PyInt_FromLong((long) wxTAB_TRAVERSAL));
|
PyDict_SetItemString(d,"wxTAB_TRAVERSAL", PyInt_FromLong((long) wxTAB_TRAVERSAL));
|
||||||
|
PyDict_SetItemString(d,"wxWANTS_CHARS", PyInt_FromLong((long) wxWANTS_CHARS));
|
||||||
PyDict_SetItemString(d,"wxHORIZONTAL", PyInt_FromLong((long) wxHORIZONTAL));
|
PyDict_SetItemString(d,"wxHORIZONTAL", PyInt_FromLong((long) wxHORIZONTAL));
|
||||||
PyDict_SetItemString(d,"wxVERTICAL", PyInt_FromLong((long) wxVERTICAL));
|
PyDict_SetItemString(d,"wxVERTICAL", PyInt_FromLong((long) wxVERTICAL));
|
||||||
PyDict_SetItemString(d,"wxBOTH", PyInt_FromLong((long) wxBOTH));
|
PyDict_SetItemString(d,"wxBOTH", PyInt_FromLong((long) wxBOTH));
|
||||||
PyDict_SetItemString(d,"wxCENTER_FRAME", PyInt_FromLong((long) wxCENTER_FRAME));
|
PyDict_SetItemString(d,"wxCENTER_FRAME", PyInt_FromLong((long) wxCENTER_FRAME));
|
||||||
|
PyDict_SetItemString(d,"wxCENTRE_ON_SCREEN", PyInt_FromLong((long) wxCENTRE_ON_SCREEN));
|
||||||
|
PyDict_SetItemString(d,"wxCENTER_ON_SCREEN", PyInt_FromLong((long) wxCENTER_ON_SCREEN));
|
||||||
PyDict_SetItemString(d,"wxSTAY_ON_TOP", PyInt_FromLong((long) wxSTAY_ON_TOP));
|
PyDict_SetItemString(d,"wxSTAY_ON_TOP", PyInt_FromLong((long) wxSTAY_ON_TOP));
|
||||||
PyDict_SetItemString(d,"wxICONIZE", PyInt_FromLong((long) wxICONIZE));
|
PyDict_SetItemString(d,"wxICONIZE", PyInt_FromLong((long) wxICONIZE));
|
||||||
PyDict_SetItemString(d,"wxMINIMIZE", PyInt_FromLong((long) wxMINIMIZE));
|
PyDict_SetItemString(d,"wxMINIMIZE", PyInt_FromLong((long) wxMINIMIZE));
|
||||||
@@ -2074,6 +2077,11 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxDEFAULT_DIALOG_STYLE", PyInt_FromLong((long) wxDEFAULT_DIALOG_STYLE));
|
PyDict_SetItemString(d,"wxDEFAULT_DIALOG_STYLE", PyInt_FromLong((long) wxDEFAULT_DIALOG_STYLE));
|
||||||
PyDict_SetItemString(d,"wxFRAME_TOOL_WINDOW", PyInt_FromLong((long) wxFRAME_TOOL_WINDOW));
|
PyDict_SetItemString(d,"wxFRAME_TOOL_WINDOW", PyInt_FromLong((long) wxFRAME_TOOL_WINDOW));
|
||||||
PyDict_SetItemString(d,"wxFRAME_FLOAT_ON_PARENT", PyInt_FromLong((long) wxFRAME_FLOAT_ON_PARENT));
|
PyDict_SetItemString(d,"wxFRAME_FLOAT_ON_PARENT", PyInt_FromLong((long) wxFRAME_FLOAT_ON_PARENT));
|
||||||
|
PyDict_SetItemString(d,"wxED_CLIENT_MARGIN", PyInt_FromLong((long) wxED_CLIENT_MARGIN));
|
||||||
|
PyDict_SetItemString(d,"wxED_BUTTONS_BOTTOM", PyInt_FromLong((long) wxED_BUTTONS_BOTTOM));
|
||||||
|
PyDict_SetItemString(d,"wxED_BUTTONS_RIGHT", PyInt_FromLong((long) wxED_BUTTONS_RIGHT));
|
||||||
|
PyDict_SetItemString(d,"wxED_STATIC_LINE", PyInt_FromLong((long) wxED_STATIC_LINE));
|
||||||
|
PyDict_SetItemString(d,"wxEXT_DIALOG_STYLE", PyInt_FromLong((long) wxEXT_DIALOG_STYLE));
|
||||||
PyDict_SetItemString(d,"wxCLIP_CHILDREN", PyInt_FromLong((long) wxCLIP_CHILDREN));
|
PyDict_SetItemString(d,"wxCLIP_CHILDREN", PyInt_FromLong((long) wxCLIP_CHILDREN));
|
||||||
PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
|
PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
|
||||||
PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
|
PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
|
||||||
@@ -2134,6 +2142,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
|
PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
|
||||||
PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
|
PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
|
||||||
PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
|
PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
|
||||||
|
PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
|
||||||
PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
|
PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
|
||||||
PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
|
PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
|
||||||
PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
|
PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
|
||||||
@@ -2172,6 +2181,8 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxCANCEL", PyInt_FromLong((long) wxCANCEL));
|
PyDict_SetItemString(d,"wxCANCEL", PyInt_FromLong((long) wxCANCEL));
|
||||||
PyDict_SetItemString(d,"wxYES", PyInt_FromLong((long) wxYES));
|
PyDict_SetItemString(d,"wxYES", PyInt_FromLong((long) wxYES));
|
||||||
PyDict_SetItemString(d,"wxNO", PyInt_FromLong((long) wxNO));
|
PyDict_SetItemString(d,"wxNO", PyInt_FromLong((long) wxNO));
|
||||||
|
PyDict_SetItemString(d,"wxNO_DEFAULT", PyInt_FromLong((long) wxNO_DEFAULT));
|
||||||
|
PyDict_SetItemString(d,"wxYES_DEFAULT", PyInt_FromLong((long) wxYES_DEFAULT));
|
||||||
PyDict_SetItemString(d,"wxICON_EXCLAMATION", PyInt_FromLong((long) wxICON_EXCLAMATION));
|
PyDict_SetItemString(d,"wxICON_EXCLAMATION", PyInt_FromLong((long) wxICON_EXCLAMATION));
|
||||||
PyDict_SetItemString(d,"wxICON_HAND", PyInt_FromLong((long) wxICON_HAND));
|
PyDict_SetItemString(d,"wxICON_HAND", PyInt_FromLong((long) wxICON_HAND));
|
||||||
PyDict_SetItemString(d,"wxICON_QUESTION", PyInt_FromLong((long) wxICON_QUESTION));
|
PyDict_SetItemString(d,"wxICON_QUESTION", PyInt_FromLong((long) wxICON_QUESTION));
|
||||||
@@ -2179,6 +2190,14 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxICON_STOP", PyInt_FromLong((long) wxICON_STOP));
|
PyDict_SetItemString(d,"wxICON_STOP", PyInt_FromLong((long) wxICON_STOP));
|
||||||
PyDict_SetItemString(d,"wxICON_ASTERISK", PyInt_FromLong((long) wxICON_ASTERISK));
|
PyDict_SetItemString(d,"wxICON_ASTERISK", PyInt_FromLong((long) wxICON_ASTERISK));
|
||||||
PyDict_SetItemString(d,"wxICON_MASK", PyInt_FromLong((long) wxICON_MASK));
|
PyDict_SetItemString(d,"wxICON_MASK", PyInt_FromLong((long) wxICON_MASK));
|
||||||
|
PyDict_SetItemString(d,"wxICON_WARNING", PyInt_FromLong((long) wxICON_WARNING));
|
||||||
|
PyDict_SetItemString(d,"wxICON_ERROR", PyInt_FromLong((long) wxICON_ERROR));
|
||||||
|
PyDict_SetItemString(d,"wxFORWARD", PyInt_FromLong((long) wxFORWARD));
|
||||||
|
PyDict_SetItemString(d,"wxBACKWARD", PyInt_FromLong((long) wxBACKWARD));
|
||||||
|
PyDict_SetItemString(d,"wxRESET", PyInt_FromLong((long) wxRESET));
|
||||||
|
PyDict_SetItemString(d,"wxHELP", PyInt_FromLong((long) wxHELP));
|
||||||
|
PyDict_SetItemString(d,"wxMORE", PyInt_FromLong((long) wxMORE));
|
||||||
|
PyDict_SetItemString(d,"wxSETUP", PyInt_FromLong((long) wxSETUP));
|
||||||
PyDict_SetItemString(d,"wxCENTRE", PyInt_FromLong((long) wxCENTRE));
|
PyDict_SetItemString(d,"wxCENTRE", PyInt_FromLong((long) wxCENTRE));
|
||||||
PyDict_SetItemString(d,"wxCENTER", PyInt_FromLong((long) wxCENTER));
|
PyDict_SetItemString(d,"wxCENTER", PyInt_FromLong((long) wxCENTER));
|
||||||
PyDict_SetItemString(d,"wxSIZE_AUTO_WIDTH", PyInt_FromLong((long) wxSIZE_AUTO_WIDTH));
|
PyDict_SetItemString(d,"wxSIZE_AUTO_WIDTH", PyInt_FromLong((long) wxSIZE_AUTO_WIDTH));
|
||||||
@@ -2268,9 +2287,29 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxPD_ELAPSED_TIME", PyInt_FromLong((long) wxPD_ELAPSED_TIME));
|
PyDict_SetItemString(d,"wxPD_ELAPSED_TIME", PyInt_FromLong((long) wxPD_ELAPSED_TIME));
|
||||||
PyDict_SetItemString(d,"wxPD_ESTIMATED_TIME", PyInt_FromLong((long) wxPD_ESTIMATED_TIME));
|
PyDict_SetItemString(d,"wxPD_ESTIMATED_TIME", PyInt_FromLong((long) wxPD_ESTIMATED_TIME));
|
||||||
PyDict_SetItemString(d,"wxPD_REMAINING_TIME", PyInt_FromLong((long) wxPD_REMAINING_TIME));
|
PyDict_SetItemString(d,"wxPD_REMAINING_TIME", PyInt_FromLong((long) wxPD_REMAINING_TIME));
|
||||||
PyDict_SetItemString(d,"wxNO_DEFAULT", PyInt_FromLong((long) wxNO_DEFAULT));
|
|
||||||
PyDict_SetItemString(d,"wxMENU_TEAROFF", PyInt_FromLong((long) wxMENU_TEAROFF));
|
PyDict_SetItemString(d,"wxMENU_TEAROFF", PyInt_FromLong((long) wxMENU_TEAROFF));
|
||||||
|
PyDict_SetItemString(d,"wxMB_DOCKABLE", PyInt_FromLong((long) wxMB_DOCKABLE));
|
||||||
PyDict_SetItemString(d,"wxNO_FULL_REPAINT_ON_RESIZE", PyInt_FromLong((long) wxNO_FULL_REPAINT_ON_RESIZE));
|
PyDict_SetItemString(d,"wxNO_FULL_REPAINT_ON_RESIZE", PyInt_FromLong((long) wxNO_FULL_REPAINT_ON_RESIZE));
|
||||||
|
PyDict_SetItemString(d,"wxLEFT", PyInt_FromLong((long) wxLEFT));
|
||||||
|
PyDict_SetItemString(d,"wxRIGHT", PyInt_FromLong((long) wxRIGHT));
|
||||||
|
PyDict_SetItemString(d,"wxUP", PyInt_FromLong((long) wxUP));
|
||||||
|
PyDict_SetItemString(d,"wxDOWN", PyInt_FromLong((long) wxDOWN));
|
||||||
|
PyDict_SetItemString(d,"wxALL", PyInt_FromLong((long) wxALL));
|
||||||
|
PyDict_SetItemString(d,"wxTOP", PyInt_FromLong((long) wxTOP));
|
||||||
|
PyDict_SetItemString(d,"wxBOTTOM", PyInt_FromLong((long) wxBOTTOM));
|
||||||
|
PyDict_SetItemString(d,"wxNORTH", PyInt_FromLong((long) wxNORTH));
|
||||||
|
PyDict_SetItemString(d,"wxSOUTH", PyInt_FromLong((long) wxSOUTH));
|
||||||
|
PyDict_SetItemString(d,"wxEAST", PyInt_FromLong((long) wxEAST));
|
||||||
|
PyDict_SetItemString(d,"wxWEST", PyInt_FromLong((long) wxWEST));
|
||||||
|
PyDict_SetItemString(d,"wxSTRETCH_NOT", PyInt_FromLong((long) wxSTRETCH_NOT));
|
||||||
|
PyDict_SetItemString(d,"wxSHRINK", PyInt_FromLong((long) wxSHRINK));
|
||||||
|
PyDict_SetItemString(d,"wxGROW", PyInt_FromLong((long) wxGROW));
|
||||||
|
PyDict_SetItemString(d,"wxEXPAND", PyInt_FromLong((long) wxEXPAND));
|
||||||
|
PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH));
|
||||||
|
PyDict_SetItemString(d,"wxLI_HORIZONTAL", PyInt_FromLong((long) wxLI_HORIZONTAL));
|
||||||
|
PyDict_SetItemString(d,"wxLI_VERTICAL", PyInt_FromLong((long) wxLI_VERTICAL));
|
||||||
|
PyDict_SetItemString(d,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER));
|
||||||
|
PyDict_SetItemString(d,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO));
|
||||||
PyDict_SetItemString(d,"wxDEFAULT", PyInt_FromLong((long) wxDEFAULT));
|
PyDict_SetItemString(d,"wxDEFAULT", PyInt_FromLong((long) wxDEFAULT));
|
||||||
PyDict_SetItemString(d,"wxDECORATIVE", PyInt_FromLong((long) wxDECORATIVE));
|
PyDict_SetItemString(d,"wxDECORATIVE", PyInt_FromLong((long) wxDECORATIVE));
|
||||||
PyDict_SetItemString(d,"wxROMAN", PyInt_FromLong((long) wxROMAN));
|
PyDict_SetItemString(d,"wxROMAN", PyInt_FromLong((long) wxROMAN));
|
||||||
@@ -2644,7 +2683,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
|
||||||
PyDict_SetItemString(d,"__version__", PyString_FromString("2.1b3"));
|
PyDict_SetItemString(d,"__version__", PyString_FromString("2.1b4"));
|
||||||
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
||||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
|
SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
|
||||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
|
SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
|
||||||
|
@@ -173,10 +173,13 @@ wxNO_BORDER = wxc.wxNO_BORDER
|
|||||||
wxUSER_COLOURS = wxc.wxUSER_COLOURS
|
wxUSER_COLOURS = wxc.wxUSER_COLOURS
|
||||||
wxNO_3D = wxc.wxNO_3D
|
wxNO_3D = wxc.wxNO_3D
|
||||||
wxTAB_TRAVERSAL = wxc.wxTAB_TRAVERSAL
|
wxTAB_TRAVERSAL = wxc.wxTAB_TRAVERSAL
|
||||||
|
wxWANTS_CHARS = wxc.wxWANTS_CHARS
|
||||||
wxHORIZONTAL = wxc.wxHORIZONTAL
|
wxHORIZONTAL = wxc.wxHORIZONTAL
|
||||||
wxVERTICAL = wxc.wxVERTICAL
|
wxVERTICAL = wxc.wxVERTICAL
|
||||||
wxBOTH = wxc.wxBOTH
|
wxBOTH = wxc.wxBOTH
|
||||||
wxCENTER_FRAME = wxc.wxCENTER_FRAME
|
wxCENTER_FRAME = wxc.wxCENTER_FRAME
|
||||||
|
wxCENTRE_ON_SCREEN = wxc.wxCENTRE_ON_SCREEN
|
||||||
|
wxCENTER_ON_SCREEN = wxc.wxCENTER_ON_SCREEN
|
||||||
wxSTAY_ON_TOP = wxc.wxSTAY_ON_TOP
|
wxSTAY_ON_TOP = wxc.wxSTAY_ON_TOP
|
||||||
wxICONIZE = wxc.wxICONIZE
|
wxICONIZE = wxc.wxICONIZE
|
||||||
wxMINIMIZE = wxc.wxMINIMIZE
|
wxMINIMIZE = wxc.wxMINIMIZE
|
||||||
@@ -195,6 +198,11 @@ wxDEFAULT_FRAME_STYLE = wxc.wxDEFAULT_FRAME_STYLE
|
|||||||
wxDEFAULT_DIALOG_STYLE = wxc.wxDEFAULT_DIALOG_STYLE
|
wxDEFAULT_DIALOG_STYLE = wxc.wxDEFAULT_DIALOG_STYLE
|
||||||
wxFRAME_TOOL_WINDOW = wxc.wxFRAME_TOOL_WINDOW
|
wxFRAME_TOOL_WINDOW = wxc.wxFRAME_TOOL_WINDOW
|
||||||
wxFRAME_FLOAT_ON_PARENT = wxc.wxFRAME_FLOAT_ON_PARENT
|
wxFRAME_FLOAT_ON_PARENT = wxc.wxFRAME_FLOAT_ON_PARENT
|
||||||
|
wxED_CLIENT_MARGIN = wxc.wxED_CLIENT_MARGIN
|
||||||
|
wxED_BUTTONS_BOTTOM = wxc.wxED_BUTTONS_BOTTOM
|
||||||
|
wxED_BUTTONS_RIGHT = wxc.wxED_BUTTONS_RIGHT
|
||||||
|
wxED_STATIC_LINE = wxc.wxED_STATIC_LINE
|
||||||
|
wxEXT_DIALOG_STYLE = wxc.wxEXT_DIALOG_STYLE
|
||||||
wxCLIP_CHILDREN = wxc.wxCLIP_CHILDREN
|
wxCLIP_CHILDREN = wxc.wxCLIP_CHILDREN
|
||||||
wxRETAINED = wxc.wxRETAINED
|
wxRETAINED = wxc.wxRETAINED
|
||||||
wxBACKINGSTORE = wxc.wxBACKINGSTORE
|
wxBACKINGSTORE = wxc.wxBACKINGSTORE
|
||||||
@@ -255,6 +263,7 @@ wxTR_HAS_BUTTONS = wxc.wxTR_HAS_BUTTONS
|
|||||||
wxTR_EDIT_LABELS = wxc.wxTR_EDIT_LABELS
|
wxTR_EDIT_LABELS = wxc.wxTR_EDIT_LABELS
|
||||||
wxTR_LINES_AT_ROOT = wxc.wxTR_LINES_AT_ROOT
|
wxTR_LINES_AT_ROOT = wxc.wxTR_LINES_AT_ROOT
|
||||||
wxTR_MULTIPLE = wxc.wxTR_MULTIPLE
|
wxTR_MULTIPLE = wxc.wxTR_MULTIPLE
|
||||||
|
wxTR_SINGLE = wxc.wxTR_SINGLE
|
||||||
wxTR_HAS_VARIABLE_ROW_HEIGHT = wxc.wxTR_HAS_VARIABLE_ROW_HEIGHT
|
wxTR_HAS_VARIABLE_ROW_HEIGHT = wxc.wxTR_HAS_VARIABLE_ROW_HEIGHT
|
||||||
wxLC_ICON = wxc.wxLC_ICON
|
wxLC_ICON = wxc.wxLC_ICON
|
||||||
wxLC_SMALL_ICON = wxc.wxLC_SMALL_ICON
|
wxLC_SMALL_ICON = wxc.wxLC_SMALL_ICON
|
||||||
@@ -293,6 +302,8 @@ wxYES_NO = wxc.wxYES_NO
|
|||||||
wxCANCEL = wxc.wxCANCEL
|
wxCANCEL = wxc.wxCANCEL
|
||||||
wxYES = wxc.wxYES
|
wxYES = wxc.wxYES
|
||||||
wxNO = wxc.wxNO
|
wxNO = wxc.wxNO
|
||||||
|
wxNO_DEFAULT = wxc.wxNO_DEFAULT
|
||||||
|
wxYES_DEFAULT = wxc.wxYES_DEFAULT
|
||||||
wxICON_EXCLAMATION = wxc.wxICON_EXCLAMATION
|
wxICON_EXCLAMATION = wxc.wxICON_EXCLAMATION
|
||||||
wxICON_HAND = wxc.wxICON_HAND
|
wxICON_HAND = wxc.wxICON_HAND
|
||||||
wxICON_QUESTION = wxc.wxICON_QUESTION
|
wxICON_QUESTION = wxc.wxICON_QUESTION
|
||||||
@@ -300,6 +311,14 @@ wxICON_INFORMATION = wxc.wxICON_INFORMATION
|
|||||||
wxICON_STOP = wxc.wxICON_STOP
|
wxICON_STOP = wxc.wxICON_STOP
|
||||||
wxICON_ASTERISK = wxc.wxICON_ASTERISK
|
wxICON_ASTERISK = wxc.wxICON_ASTERISK
|
||||||
wxICON_MASK = wxc.wxICON_MASK
|
wxICON_MASK = wxc.wxICON_MASK
|
||||||
|
wxICON_WARNING = wxc.wxICON_WARNING
|
||||||
|
wxICON_ERROR = wxc.wxICON_ERROR
|
||||||
|
wxFORWARD = wxc.wxFORWARD
|
||||||
|
wxBACKWARD = wxc.wxBACKWARD
|
||||||
|
wxRESET = wxc.wxRESET
|
||||||
|
wxHELP = wxc.wxHELP
|
||||||
|
wxMORE = wxc.wxMORE
|
||||||
|
wxSETUP = wxc.wxSETUP
|
||||||
wxCENTRE = wxc.wxCENTRE
|
wxCENTRE = wxc.wxCENTRE
|
||||||
wxCENTER = wxc.wxCENTER
|
wxCENTER = wxc.wxCENTER
|
||||||
wxSIZE_AUTO_WIDTH = wxc.wxSIZE_AUTO_WIDTH
|
wxSIZE_AUTO_WIDTH = wxc.wxSIZE_AUTO_WIDTH
|
||||||
@@ -389,9 +408,29 @@ wxPD_CAN_ABORT = wxc.wxPD_CAN_ABORT
|
|||||||
wxPD_ELAPSED_TIME = wxc.wxPD_ELAPSED_TIME
|
wxPD_ELAPSED_TIME = wxc.wxPD_ELAPSED_TIME
|
||||||
wxPD_ESTIMATED_TIME = wxc.wxPD_ESTIMATED_TIME
|
wxPD_ESTIMATED_TIME = wxc.wxPD_ESTIMATED_TIME
|
||||||
wxPD_REMAINING_TIME = wxc.wxPD_REMAINING_TIME
|
wxPD_REMAINING_TIME = wxc.wxPD_REMAINING_TIME
|
||||||
wxNO_DEFAULT = wxc.wxNO_DEFAULT
|
|
||||||
wxMENU_TEAROFF = wxc.wxMENU_TEAROFF
|
wxMENU_TEAROFF = wxc.wxMENU_TEAROFF
|
||||||
|
wxMB_DOCKABLE = wxc.wxMB_DOCKABLE
|
||||||
wxNO_FULL_REPAINT_ON_RESIZE = wxc.wxNO_FULL_REPAINT_ON_RESIZE
|
wxNO_FULL_REPAINT_ON_RESIZE = wxc.wxNO_FULL_REPAINT_ON_RESIZE
|
||||||
|
wxLEFT = wxc.wxLEFT
|
||||||
|
wxRIGHT = wxc.wxRIGHT
|
||||||
|
wxUP = wxc.wxUP
|
||||||
|
wxDOWN = wxc.wxDOWN
|
||||||
|
wxALL = wxc.wxALL
|
||||||
|
wxTOP = wxc.wxTOP
|
||||||
|
wxBOTTOM = wxc.wxBOTTOM
|
||||||
|
wxNORTH = wxc.wxNORTH
|
||||||
|
wxSOUTH = wxc.wxSOUTH
|
||||||
|
wxEAST = wxc.wxEAST
|
||||||
|
wxWEST = wxc.wxWEST
|
||||||
|
wxSTRETCH_NOT = wxc.wxSTRETCH_NOT
|
||||||
|
wxSHRINK = wxc.wxSHRINK
|
||||||
|
wxGROW = wxc.wxGROW
|
||||||
|
wxEXPAND = wxc.wxEXPAND
|
||||||
|
wxNB_FIXEDWIDTH = wxc.wxNB_FIXEDWIDTH
|
||||||
|
wxLI_HORIZONTAL = wxc.wxLI_HORIZONTAL
|
||||||
|
wxLI_VERTICAL = wxc.wxLI_VERTICAL
|
||||||
|
wxHW_SCROLLBAR_NEVER = wxc.wxHW_SCROLLBAR_NEVER
|
||||||
|
wxHW_SCROLLBAR_AUTO = wxc.wxHW_SCROLLBAR_AUTO
|
||||||
wxDEFAULT = wxc.wxDEFAULT
|
wxDEFAULT = wxc.wxDEFAULT
|
||||||
wxDECORATIVE = wxc.wxDECORATIVE
|
wxDECORATIVE = wxc.wxDECORATIVE
|
||||||
wxROMAN = wxc.wxROMAN
|
wxROMAN = wxc.wxROMAN
|
||||||
|
@@ -202,19 +202,20 @@ class wxPyPrintout : public wxPrintout {
|
|||||||
public:
|
public:
|
||||||
wxPyPrintout(const wxString& title) : wxPrintout(title) {}
|
wxPyPrintout(const wxString& title) : wxPrintout(title) {}
|
||||||
|
|
||||||
PYCALLBACK_BOOL_INTINT(wxPrintout, OnBeginDocument);
|
DEC_PYCALLBACK_BOOL_INTINT(OnBeginDocument);
|
||||||
PYCALLBACK__(wxPrintout, OnEndDocument);
|
DEC_PYCALLBACK__(OnEndDocument);
|
||||||
PYCALLBACK__(wxPrintout, OnBeginPrinting);
|
DEC_PYCALLBACK__(OnBeginPrinting);
|
||||||
PYCALLBACK__(wxPrintout, OnEndPrinting);
|
DEC_PYCALLBACK__(OnEndPrinting);
|
||||||
PYCALLBACK__(wxPrintout, OnPreparePrinting);
|
DEC_PYCALLBACK__(OnPreparePrinting);
|
||||||
PYCALLBACK_BOOL_INT_pure(wxPrintout, OnPrintPage);
|
DEC_PYCALLBACK_BOOL_INT_pure(OnPrintPage);
|
||||||
PYCALLBACK_BOOL_INT(wxPrintout, HasPage);
|
DEC_PYCALLBACK_BOOL_INT(HasPage);
|
||||||
|
|
||||||
|
|
||||||
// Since this one would be tough and ugly to do with the Macros...
|
// Since this one would be tough and ugly to do with the Macros...
|
||||||
void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
||||||
bool hadErr = false;
|
bool hadErr = false;
|
||||||
|
|
||||||
|
bool doSave = wxPyRestoreThread();
|
||||||
if (m_myInst.findCallback("GetPageInfo")) {
|
if (m_myInst.findCallback("GetPageInfo")) {
|
||||||
PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
|
PyObject* result = m_myInst.callCallbackObj(Py_BuildValue("()"));
|
||||||
if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
|
if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
|
||||||
@@ -244,19 +245,29 @@ public:
|
|||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
}
|
}
|
||||||
Py_DECREF(result);
|
Py_DECREF(result);
|
||||||
#ifdef WXP_WITH_THREAD
|
|
||||||
PyEval_SaveThread();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
||||||
|
|
||||||
|
wxPySaveThread(doSave);
|
||||||
}
|
}
|
||||||
|
|
||||||
void base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
void base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
|
||||||
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
PYPRIVATE;
|
PYPRIVATE;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
|
||||||
|
IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
|
||||||
|
IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
|
||||||
|
IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
|
||||||
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -131,15 +131,9 @@ public:
|
|||||||
for (col=0; col < self->GetCols(); col++) {
|
for (col=0; col < self->GetCols(); col++) {
|
||||||
wxGridCell* cell = self->GetCell(row, col);
|
wxGridCell* cell = self->GetCell(row, col);
|
||||||
|
|
||||||
#ifdef WXP_WITH_THREAD
|
bool doSave = wxPyRestoreThread();
|
||||||
PyEval_RestoreThread(wxPyEventThreadState);
|
|
||||||
wxPyInEvent = true;
|
|
||||||
#endif
|
|
||||||
PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
|
PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
|
||||||
#ifdef WXP_WITH_THREAD
|
wxPySaveThread(doSave);
|
||||||
PyEval_SaveThread();
|
|
||||||
wxPyInEvent = false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (PyList_Append(rowList, pyCell) == -1)
|
if (PyList_Append(rowList, pyCell) == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
#define __version__ "2.1b3"
|
#define __version__ "2.1b4"
|
||||||
|
|
||||||
wxPoint wxPyDefaultPosition;
|
wxPoint wxPyDefaultPosition;
|
||||||
wxSize wxPyDefaultSize;
|
wxSize wxPyDefaultSize;
|
||||||
|
Reference in New Issue
Block a user