More cleanup. Regenerated wxGTK code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
4
wxPython/src/b
Executable file
4
wxPython/src/b
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd ..
|
||||
. b $*
|
||||
cd -
|
||||
@@ -2046,6 +2046,9 @@ SWIGEXPORT(void) initcalendarc() {
|
||||
PyDict_SetItemString(d,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED));
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
{
|
||||
int i;
|
||||
for (i = 0; _swig_mapping[i].n1; i++)
|
||||
|
||||
@@ -13624,6 +13624,9 @@ SWIGEXPORT(void) initgridc() {
|
||||
PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
|
||||
PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
|
||||
PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
|
||||
PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
|
||||
|
||||
@@ -6553,9 +6553,8 @@ SWIGEXPORT(void) inithtmlc() {
|
||||
|
||||
inithtmlhelpc();
|
||||
|
||||
//wxClassInfo::CleanUpClasses();
|
||||
//wxClassInfo::InitializeClasses();
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
{
|
||||
int i;
|
||||
for (i = 0; _swig_mapping[i].n1; i++)
|
||||
|
||||
@@ -7831,10 +7831,8 @@ SWIGEXPORT(void) initutilsc() {
|
||||
PyDict_SetItemString(d,"wxCONFIG_USE_GLOBAL_FILE", PyInt_FromLong((long) wxCONFIG_USE_GLOBAL_FILE));
|
||||
PyDict_SetItemString(d,"wxCONFIG_USE_RELATIVE_PATH", PyInt_FromLong((long) wxCONFIG_USE_RELATIVE_PATH));
|
||||
|
||||
|
||||
// wxClassInfo::CleanUpClasses();
|
||||
// wxClassInfo::InitializeClasses();
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
PyDict_SetItemString(d,"wxConfigBase_Type_Unknown", PyInt_FromLong((long) wxConfigBase::Type_Unknown));
|
||||
PyDict_SetItemString(d,"wxConfigBase_Type_String", PyInt_FromLong((long) wxConfigBase::Type_String));
|
||||
PyDict_SetItemString(d,"wxConfigBase_Type_Boolean", PyInt_FromLong((long) wxConfigBase::Type_Boolean));
|
||||
|
||||
@@ -866,17 +866,9 @@ static PyObject *_wrap_ptrmap(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||
}
|
||||
|
||||
static int _wrap_wxDefaultPosition_set(PyObject *val) {
|
||||
wxPoint * temp;
|
||||
|
||||
if (val) {
|
||||
if (val == Py_None) { temp = NULL; }
|
||||
else if (SWIG_GetPtrObj(val,(void **) &temp,"_wxPoint_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in value of wxDefaultPosition. Expected _wxPoint_p.");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
wxDefaultPosition = *temp;
|
||||
return 0;
|
||||
PyErr_SetString(PyExc_TypeError,"Variable wxDefaultPosition is read-only.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxDefaultPosition_get() {
|
||||
@@ -889,17 +881,9 @@ static PyObject *_wrap_wxDefaultPosition_get() {
|
||||
}
|
||||
|
||||
static int _wrap_wxDefaultSize_set(PyObject *val) {
|
||||
wxSize * temp;
|
||||
|
||||
if (val) {
|
||||
if (val == Py_None) { temp = NULL; }
|
||||
else if (SWIG_GetPtrObj(val,(void **) &temp,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in value of wxDefaultSize. Expected _wxSize_p.");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
wxDefaultSize = *temp;
|
||||
return 0;
|
||||
PyErr_SetString(PyExc_TypeError,"Variable wxDefaultSize is read-only.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxDefaultSize_get() {
|
||||
|
||||
@@ -109,7 +109,6 @@ void WXDLLEXPORT wxEntryCleanup();
|
||||
#ifdef WXP_WITH_THREAD
|
||||
PyThreadState* wxPyEventThreadState = NULL;
|
||||
#endif
|
||||
static char* __nullArgv[1] = { 0 };
|
||||
|
||||
|
||||
// This is where we pick up the first part of the wxEntry functionality...
|
||||
@@ -447,7 +446,6 @@ int wxPyCallbackHelper::callCallback(PyObject* argTuple) const {
|
||||
// Invoke the Python callable object, returning the raw PyObject return
|
||||
// value. Caller should DECREF the return value and also call PyEval_SaveThread.
|
||||
PyObject* wxPyCallbackHelper::callCallbackObj(PyObject* argTuple) const {
|
||||
wxPyCallbackHelper* self = (wxPyCallbackHelper*)this; // cast away const
|
||||
PyObject* result;
|
||||
|
||||
// Save a copy of the pointer in case the callback generates another
|
||||
|
||||
Reference in New Issue
Block a user