#include <wx/spinctrl.h>
#include <wx/dynarray.h>
#include <wx/statline.h>
-//#include <wx/toggbutt.h>
+#include <wx/tglbtn.h>
#ifdef __WXMSW__
#if wxUSE_OWNER_DRAWN
return target;
}
-static char* wxStringErrorMsg = "string type is required for parameter";
+#if PYTHON_API_VERSION >= 1009
+ static char* wxStringErrorMsg = "String or Unicode type required";
+#else
+ static char* wxStringErrorMsg = "string type is required for parameter";
+#endif
wxSize wxButton_GetDefaultSize() {
return wxButton::GetDefaultSize();
return (void *) dest;
}
+static void *SwigwxControlTowxObject(void *ptr) {
+ wxControl *src;
+ wxObject *dest;
+ src = (wxControl *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxButtonTowxObject(void *ptr) {
+ wxButton *src;
+ wxObject *dest;
+ src = (wxButton *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxBitmapButtonTowxObject(void *ptr) {
+ wxBitmapButton *src;
+ wxObject *dest;
+ src = (wxBitmapButton *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxCheckBoxTowxObject(void *ptr) {
+ wxCheckBox *src;
+ wxObject *dest;
+ src = (wxCheckBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxChoiceTowxObject(void *ptr) {
+ wxChoice *src;
+ wxObject *dest;
+ src = (wxChoice *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxComboBoxTowxObject(void *ptr) {
+ wxComboBox *src;
+ wxObject *dest;
+ src = (wxComboBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxGaugeTowxObject(void *ptr) {
+ wxGauge *src;
+ wxObject *dest;
+ src = (wxGauge *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxStaticBoxTowxObject(void *ptr) {
+ wxStaticBox *src;
+ wxObject *dest;
+ src = (wxStaticBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxStaticLineTowxObject(void *ptr) {
+ wxStaticLine *src;
+ wxObject *dest;
+ src = (wxStaticLine *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxStaticTextTowxObject(void *ptr) {
+ wxStaticText *src;
+ wxObject *dest;
+ src = (wxStaticText *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxListBoxTowxObject(void *ptr) {
+ wxListBox *src;
+ wxObject *dest;
+ src = (wxListBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxCheckListBoxTowxObject(void *ptr) {
+ wxCheckListBox *src;
+ wxObject *dest;
+ src = (wxCheckListBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxTextCtrlTowxObject(void *ptr) {
+ wxTextCtrl *src;
+ wxObject *dest;
+ src = (wxTextCtrl *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxScrollBarTowxObject(void *ptr) {
+ wxScrollBar *src;
+ wxObject *dest;
+ src = (wxScrollBar *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxSpinButtonTowxObject(void *ptr) {
+ wxSpinButton *src;
+ wxObject *dest;
+ src = (wxSpinButton *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxStaticBitmapTowxObject(void *ptr) {
+ wxStaticBitmap *src;
+ wxObject *dest;
+ src = (wxStaticBitmap *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxRadioBoxTowxObject(void *ptr) {
+ wxRadioBox *src;
+ wxObject *dest;
+ src = (wxRadioBox *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxRadioButtonTowxObject(void *ptr) {
+ wxRadioButton *src;
+ wxObject *dest;
+ src = (wxRadioButton *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
return (void *) dest;
}
+static void *SwigwxSliderTowxObject(void *ptr) {
+ wxSlider *src;
+ wxObject *dest;
+ src = (wxSlider *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return (void *) dest;
}
+static void *SwigwxSpinCtrlTowxObject(void *ptr) {
+ wxSpinCtrl *src;
+ wxObject *dest;
+ src = (wxSpinCtrl *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
return _resultobj;
}
+static void *SwigwxToggleButtonTowxControl(void *ptr) {
+ wxToggleButton *src;
+ wxControl *dest;
+ src = (wxToggleButton *) ptr;
+ dest = (wxControl *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxToggleButtonTowxWindow(void *ptr) {
+ wxToggleButton *src;
+ wxWindow *dest;
+ src = (wxToggleButton *) ptr;
+ dest = (wxWindow *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
+ wxToggleButton *src;
+ wxEvtHandler *dest;
+ src = (wxToggleButton *) ptr;
+ dest = (wxEvtHandler *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxToggleButtonTowxObject(void *ptr) {
+ wxToggleButton *src;
+ wxObject *dest;
+ src = (wxToggleButton *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
+#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
+static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxToggleButton * _result;
+ wxWindow * _arg0;
+ wxWindowID _arg1;
+ wxString * _arg2;
+ wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
+ wxSize * _arg4 = (wxSize *) &wxDefaultSize;
+ long _arg5 = (long ) 0;
+ wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
+ char * _arg7 = (char *) "toggle";
+ PyObject * _argo0 = 0;
+ PyObject * _obj2 = 0;
+ wxPoint temp;
+ PyObject * _obj3 = 0;
+ wxSize temp0;
+ PyObject * _obj4 = 0;
+ PyObject * _argo6 = 0;
+ char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
+ 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 new_wxToggleButton. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+{
+#if PYTHON_API_VERSION >= 1009
+ char* tmpPtr; int tmpSize;
+ if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
+ return NULL;
+ _arg2 = new wxString(tmpPtr, tmpSize);
+#else
+ if (!PyString_Check(_obj2)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
+#endif
+}
+ if (_obj3)
+{
+ _arg3 = &temp;
+ if (! wxPoint_helper(_obj3, &_arg3))
+ return NULL;
+}
+ if (_obj4)
+{
+ _arg4 = &temp0;
+ if (! wxSize_helper(_obj4, &_arg4))
+ return NULL;
+}
+ if (_argo6) {
+ if (_argo6 == Py_None) { _arg6 = NULL; }
+ else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
+
+ wxPy_END_ALLOW_THREADS;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
+static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxToggleButton * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","value", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxToggleButton_SetValue(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
+static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxToggleButton * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxToggleButton_GetValue(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
+static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxToggleButton * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","label", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
+ return NULL;
+ }
+ }
+{
+#if PYTHON_API_VERSION >= 1009
+ char* tmpPtr; int tmpSize;
+ if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
+ return NULL;
+ _arg1 = new wxString(tmpPtr, tmpSize);
+#else
+ if (!PyString_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
+#endif
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxToggleButton_SetLabel(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
static PyMethodDef controlscMethods[] = {
+ { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
+ { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
+ { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
+ { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
{ "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
{ "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
{ "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
{ "_class_wxRegionIterator","_wxRegionIterator",0},
{ "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
{ "_class_wxMenuBar","_wxMenuBar",0},
+ { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
+ { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
{ "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
{ "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
{ "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
{ "_class_wxClipboard","_wxClipboard",0},
{ "_class_wxGauge","_wxGauge",0},
+ { "_wxGDIObject","_class_wxGDIObject",0},
{ "_wxDC","_class_wxDC",0},
{ "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
+ { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
+ { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
+ { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
+ { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
+ { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
+ { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject},
+ { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
+ { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
+ { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
+ { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
+ { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
+ { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
+ { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
+ { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
+ { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
+ { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
+ { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
+ { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
+ { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
+ { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
+ { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
+ { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject},
+ { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
+ { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
+ { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
+ { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
+ { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
+ { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
+ { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
+ { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject},
+ { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
+ { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
+ { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
+ { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject},
+ { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
+ { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
+ { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
+ { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
+ { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject},
+ { "_class_wxObject","_wxButton",SwigwxButtonTowxObject},
+ { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject},
+ { "_class_wxObject","_wxControl",SwigwxControlTowxObject},
+ { "_class_wxObject","_wxObject",0},
{ "_wxSpinEvent","_class_wxSpinEvent",0},
{ "_size_t","_wxCoord",0},
{ "_size_t","_wxPrintQuality",0},
{ "_class_wxDataObject","_wxDataObject",0},
{ "_wxStaticLine","_class_wxStaticLine",0},
{ "_wxBrush","_class_wxBrush",0},
+ { "_wxToggleButton","_class_wxToggleButton",0},
{ "_wxDataFormat","_class_wxDataFormat",0},
{ "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
{ "_wxShowEvent","_class_wxShowEvent",0},
{ "_class_wxBrush","_wxBrush",0},
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",0},
+ { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
+ { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
{ "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
{ "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
{ "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
{ "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
{ "_wxClientDC","_class_wxClientDC",0},
{ "_wxMouseEvent","_class_wxMouseEvent",0},
+ { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
+ { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
+ { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
+ { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
+ { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
+ { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
+ { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
+ { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
+ { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
+ { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
+ { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
+ { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
+ { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
+ { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
+ { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
+ { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
+ { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
+ { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
+ { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
+ { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
+ { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
+ { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
+ { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
+ { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
+ { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
+ { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
+ { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
+ { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
+ { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
+ { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
+ { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
+ { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
+ { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
+ { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
+ { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
+ { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
+ { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
+ { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
+ { "_wxObject","_class_wxButton",SwigwxButtonTowxObject},
+ { "_wxObject","_wxButton",SwigwxButtonTowxObject},
+ { "_wxObject","_class_wxControl",SwigwxControlTowxObject},
+ { "_wxObject","_wxControl",SwigwxControlTowxObject},
+ { "_wxObject","_class_wxObject",0},
{ "_class_wxPoint","_wxPoint",0},
{ "_wxRealPoint","_class_wxRealPoint",0},
{ "_class_wxRadioBox","_wxRadioBox",0},
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
{ "_unsigned_char","_byte",0},
{ "_class_wxMenu","_wxMenu",0},
+ { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
+ { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
{ "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
{ "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
{ "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
{ "_wxWindowID","_int",0},
{ "_wxWindowID","_signed_int",0},
{ "_wxWindowID","_unsigned_int",0},
+ { "_class_wxGDIObject","_wxGDIObject",0},
{ "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
{ "_int","_wxCoord",0},
{ "_int","_wxPrintQuality",0},
{ "_wxValidator","_class_wxValidator",0},
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
+ { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
+ { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
{ "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
{ "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
{ "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
{ "_wxEraseEvent","_class_wxEraseEvent",0},
{ "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
+ { "_class_wxToggleButton","_wxToggleButton",0},
{ "_wxRegion","_class_wxRegion",0},
{ "_class_wxShowEvent","_wxShowEvent",0},
{ "_wxPyDropTarget","_class_wxPyDropTarget",0},
{ "_class_wxMemoryDC","_wxMemoryDC",0},
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
{ "_wxMenuBar","_class_wxMenuBar",0},
+ { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
+ { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
{ "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
{ "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
{ "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
{ "_wxFileDataObject","_class_wxFileDataObject",0},
{ "_class_wxEraseEvent","_wxEraseEvent",0},
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
+ { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
+ { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
{ "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
{ "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
{ "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
d = PyModule_GetDict(m);
PyDict_SetItemString(d,"cvar", SWIG_globals);
SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
+ PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)