Number() to GetCount() and other changes needed for wxPython to
compile with current CVS. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,7 @@ from my_distutils import run_swig, contrib_copy_tree
|
|||||||
# flags and values that affect this script
|
# flags and values that affect this script
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
VERSION = "2.3.1"
|
VERSION = "2.3.2b1"
|
||||||
DESCRIPTION = "Cross platform GUI toolkit for Python"
|
DESCRIPTION = "Cross platform GUI toolkit for Python"
|
||||||
AUTHOR = "Robin Dunn"
|
AUTHOR = "Robin Dunn"
|
||||||
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
|
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
|
||||||
@@ -64,7 +64,7 @@ HYBRID = 0 # If set and not debug or FINAL, then build a
|
|||||||
# wxWindows must have been built with /MD, not /MDd
|
# wxWindows must have been built with /MD, not /MDd
|
||||||
# (using FINAL=hybrid will do it.)
|
# (using FINAL=hybrid will do it.)
|
||||||
|
|
||||||
WXDLLVER = '23_1' # Version part of DLL name
|
WXDLLVER = '23_2' # Version part of DLL name
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
@@ -1 +1 @@
|
|||||||
ver = '2.3.1'
|
ver = '2.3.2b1'
|
||||||
|
@@ -305,26 +305,6 @@ enum {
|
|||||||
wxTR_MULTIPLE,
|
wxTR_MULTIPLE,
|
||||||
wxTR_SINGLE,
|
wxTR_SINGLE,
|
||||||
wxTR_HAS_VARIABLE_ROW_HEIGHT,
|
wxTR_HAS_VARIABLE_ROW_HEIGHT,
|
||||||
wxLC_ICON,
|
|
||||||
wxLC_SMALL_ICON,
|
|
||||||
wxLC_LIST,
|
|
||||||
wxLC_REPORT,
|
|
||||||
wxLC_ALIGN_TOP,
|
|
||||||
wxLC_ALIGN_LEFT,
|
|
||||||
wxLC_AUTOARRANGE,
|
|
||||||
wxLC_USER_TEXT,
|
|
||||||
wxLC_EDIT_LABELS,
|
|
||||||
wxLC_NO_HEADER,
|
|
||||||
wxLC_NO_SORT_HEADER,
|
|
||||||
wxLC_SINGLE_SEL,
|
|
||||||
wxLC_SORT_ASCENDING,
|
|
||||||
wxLC_SORT_DESCENDING,
|
|
||||||
wxLC_MASK_TYPE,
|
|
||||||
wxLC_MASK_ALIGN,
|
|
||||||
wxLC_MASK_SORT,
|
|
||||||
wxLC_HRULES,
|
|
||||||
wxLC_VRULES,
|
|
||||||
//wxLC_VIRTUAL,
|
|
||||||
wxSP_VERTICAL,
|
wxSP_VERTICAL,
|
||||||
wxSP_HORIZONTAL,
|
wxSP_HORIZONTAL,
|
||||||
wxSP_ARROW_KEYS,
|
wxSP_ARROW_KEYS,
|
||||||
|
@@ -158,15 +158,23 @@ public:
|
|||||||
|
|
||||||
void Append(const wxString& item);
|
void Append(const wxString& item);
|
||||||
void Clear();
|
void Clear();
|
||||||
|
void Delete(int n);
|
||||||
int FindString(const wxString& string);
|
int FindString(const wxString& string);
|
||||||
int GetColumns();
|
int GetColumns();
|
||||||
int GetSelection();
|
int GetSelection();
|
||||||
wxString GetString(const int n);
|
wxString GetString(const int n);
|
||||||
wxString GetStringSelection();
|
wxString GetStringSelection();
|
||||||
int Number();
|
int GetCount();
|
||||||
void SetColumns(const int n = 1);
|
void SetColumns(const int n = 1);
|
||||||
void SetSelection(const int n);
|
void SetSelection(const int n);
|
||||||
void SetStringSelection(const wxString& string);
|
void SetStringSelection(const wxString& string);
|
||||||
|
void SetString(int n, const wxString& s);
|
||||||
|
|
||||||
|
%pragma(python) addtoclass = "
|
||||||
|
Number = GetCount
|
||||||
|
Select = SetSelection
|
||||||
|
"
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
@@ -198,7 +206,6 @@ public:
|
|||||||
wxString GetString(int n);
|
wxString GetString(int n);
|
||||||
wxString GetStringSelection();
|
wxString GetStringSelection();
|
||||||
wxString GetValue();
|
wxString GetValue();
|
||||||
int Number();
|
|
||||||
void Paste();
|
void Paste();
|
||||||
void Replace(long from, long to, const wxString& text);
|
void Replace(long from, long to, const wxString& text);
|
||||||
void Remove(long from, long to);
|
void Remove(long from, long to);
|
||||||
@@ -208,6 +215,7 @@ public:
|
|||||||
void SetSelection(int n);
|
void SetSelection(int n);
|
||||||
%name(SetMark)void SetSelection(long from, long to);
|
%name(SetMark)void SetSelection(long from, long to);
|
||||||
void SetValue(const wxString& text);
|
void SetValue(const wxString& text);
|
||||||
|
void SetEditable(bool editable);
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
@@ -314,7 +322,9 @@ public:
|
|||||||
|
|
||||||
wxString GetString(int n);
|
wxString GetString(int n);
|
||||||
wxString GetStringSelection();
|
wxString GetStringSelection();
|
||||||
int Number();
|
int GetCount();
|
||||||
|
%pragma(python) addtoclass = "Number = GetCount"
|
||||||
|
bool IsSelected(const int n);
|
||||||
bool Selected(const int n);
|
bool Selected(const int n);
|
||||||
void Set(int LCOUNT, wxString* choices);
|
void Set(int LCOUNT, wxString* choices);
|
||||||
// TODO: void SetClientData(const int n, char* data);
|
// TODO: void SetClientData(const int n, char* data);
|
||||||
@@ -518,12 +528,20 @@ public:
|
|||||||
//*** wxString GetLabel();
|
//*** wxString GetLabel();
|
||||||
//*** void SetLabel(const wxString& label);
|
//*** void SetLabel(const wxString& label);
|
||||||
|
|
||||||
%name(GetItemLabel)wxString GetLabel(int n);
|
|
||||||
int GetSelection();
|
|
||||||
wxString GetString(int n);
|
wxString GetString(int n);
|
||||||
|
void SetString(int n, const wxString& label);
|
||||||
|
%pragma(python) addtoclass = "
|
||||||
|
GetItemLabel = GetString
|
||||||
|
SetItemLabel = SetString
|
||||||
|
"
|
||||||
|
int GetSelection();
|
||||||
wxString GetStringSelection();
|
wxString GetStringSelection();
|
||||||
int Number();
|
int GetCount();
|
||||||
%name(SetItemLabel)void SetLabel(int n, const wxString& label);
|
%pragma(python) addtoclass = "Number = GetCount"
|
||||||
|
|
||||||
|
int GetColumnCount();
|
||||||
|
int GetRowCount();
|
||||||
|
|
||||||
void SetSelection(int n);
|
void SetSelection(int n);
|
||||||
void SetStringSelection(const wxString& string);
|
void SetStringSelection(const wxString& string);
|
||||||
void Show(bool show);
|
void Show(bool show);
|
||||||
|
@@ -112,6 +112,30 @@ enum {
|
|||||||
wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK,
|
wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum {
|
||||||
|
/* Style flags */
|
||||||
|
wxLC_ICON,
|
||||||
|
wxLC_SMALL_ICON,
|
||||||
|
wxLC_LIST,
|
||||||
|
wxLC_REPORT,
|
||||||
|
wxLC_ALIGN_TOP,
|
||||||
|
wxLC_ALIGN_LEFT,
|
||||||
|
wxLC_AUTOARRANGE,
|
||||||
|
wxLC_USER_TEXT,
|
||||||
|
wxLC_EDIT_LABELS,
|
||||||
|
wxLC_NO_HEADER,
|
||||||
|
wxLC_NO_SORT_HEADER,
|
||||||
|
wxLC_SINGLE_SEL,
|
||||||
|
wxLC_SORT_ASCENDING,
|
||||||
|
wxLC_SORT_DESCENDING,
|
||||||
|
wxLC_MASK_TYPE,
|
||||||
|
wxLC_MASK_ALIGN,
|
||||||
|
wxLC_MASK_SORT,
|
||||||
|
wxLC_HRULES,
|
||||||
|
wxLC_VRULES,
|
||||||
|
wxLC_VIRTUAL,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxListItemAttr
|
class wxListItemAttr
|
||||||
|
@@ -1016,10 +1016,7 @@ wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source) {
|
|||||||
PyObject* o1 = PyTuple_GetItem(o, 0);
|
PyObject* o1 = PyTuple_GetItem(o, 0);
|
||||||
PyObject* o2 = PyTuple_GetItem(o, 1);
|
PyObject* o2 = PyTuple_GetItem(o, 1);
|
||||||
PyObject* o3 = PyTuple_GetItem(o, 2);
|
PyObject* o3 = PyTuple_GetItem(o, 2);
|
||||||
|
temp[x].Set(PyInt_AsLong(o1), PyInt_AsLong(o2), PyInt_AsLong(o3));
|
||||||
temp[x].m_flags = PyInt_AsLong(o1);
|
|
||||||
temp[x].m_keyCode = PyInt_AsLong(o2);
|
|
||||||
temp[x].m_command = PyInt_AsLong(o3);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PyErr_SetString(PyExc_TypeError, "Expected a list of 3-tuples or wxAcceleratorEntry objects.");
|
PyErr_SetString(PyExc_TypeError, "Expected a list of 3-tuples or wxAcceleratorEntry objects.");
|
||||||
|
@@ -835,7 +835,7 @@ public:
|
|||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#if !wxUSE_WAVE && !defined(__WXMSW__)
|
#if !wxUSE_WAVE
|
||||||
// A C++ stub class for wxWave for platforms that don't have it.
|
// A C++ stub class for wxWave for platforms that don't have it.
|
||||||
class wxWave : public wxObject
|
class wxWave : public wxObject
|
||||||
{
|
{
|
||||||
|
@@ -1450,6 +1450,35 @@ static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxChoice_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxChoice_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxChoice * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","n", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_Delete",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Delete. Expected _wxChoice_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxChoice_Delete(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
|
#define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
|
||||||
static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1625,8 +1654,8 @@ static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *arg
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxChoice_Number(_swigobj) (_swigobj->Number())
|
#define wxChoice_GetCount(_swigobj) (_swigobj->GetCount())
|
||||||
static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxChoice_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
int _result;
|
int _result;
|
||||||
wxChoice * _arg0;
|
wxChoice * _arg0;
|
||||||
@@ -1634,18 +1663,18 @@ static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args, PyObject
|
|||||||
char *_kwnames[] = { "self", NULL };
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Number",_kwnames,&_argo0))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetCount",_kwnames,&_argo0))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetCount. Expected _wxChoice_p.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (int )wxChoice_Number(_arg0);
|
_result = (int )wxChoice_GetCount(_arg0);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
@@ -1763,6 +1792,59 @@ static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *arg
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
|
||||||
|
static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxChoice * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
wxString * _arg2;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
|
char *_kwnames[] = { "self","n","s", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_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
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxChoice_SetString(_arg0,_arg1,*_arg2);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
{
|
||||||
|
if (_obj2)
|
||||||
|
delete _arg2;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxComboBoxTowxChoice(void *ptr) {
|
static void *SwigwxComboBoxTowxChoice(void *ptr) {
|
||||||
wxComboBox *src;
|
wxComboBox *src;
|
||||||
wxChoice *dest;
|
wxChoice *dest;
|
||||||
@@ -2291,34 +2373,6 @@ static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxComboBox_Number(_swigobj) (_swigobj->Number())
|
|
||||||
static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
int _result;
|
|
||||||
wxComboBox * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Number",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (int )wxComboBox_Number(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
|
#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
|
||||||
static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -2599,6 +2653,37 @@ static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxComboBox * _arg0;
|
||||||
|
bool _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
int tempbool1;
|
||||||
|
char *_kwnames[] = { "self","editable", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_arg1 = (bool ) tempbool1;
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxComboBox_SetEditable(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxGaugeTowxControl(void *ptr) {
|
static void *SwigwxGaugeTowxControl(void *ptr) {
|
||||||
wxGauge *src;
|
wxGauge *src;
|
||||||
wxControl *dest;
|
wxControl *dest;
|
||||||
@@ -3812,8 +3897,8 @@ static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *ar
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxListBox_Number(_swigobj) (_swigobj->Number())
|
#define wxListBox_GetCount(_swigobj) (_swigobj->GetCount())
|
||||||
static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxListBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
int _result;
|
int _result;
|
||||||
wxListBox * _arg0;
|
wxListBox * _arg0;
|
||||||
@@ -3821,18 +3906,47 @@ static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args, PyObject
|
|||||||
char *_kwnames[] = { "self", NULL };
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Number",_kwnames,&_argo0))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetCount",_kwnames,&_argo0))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetCount. Expected _wxListBox_p.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (int )wxListBox_Number(_arg0);
|
_result = (int )wxListBox_GetCount(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
bool _result;
|
||||||
|
wxListBox * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","n", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (bool )wxListBox_IsSelected(_arg0,_arg1);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
@@ -7206,68 +7320,6 @@ static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
|
|
||||||
static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxString * _result;
|
|
||||||
wxRadioBox * _arg0;
|
|
||||||
int _arg1;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self","n", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
}{
|
|
||||||
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
||||||
}
|
|
||||||
{
|
|
||||||
delete _result;
|
|
||||||
}
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
|
|
||||||
static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
int _result;
|
|
||||||
wxRadioBox * _arg0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
_result = (int )wxRadioBox_GetSelection(_arg0);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
|
#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
|
||||||
static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -7302,6 +7354,87 @@ static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyOb
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
|
||||||
|
static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxRadioBox * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
wxString * _arg2;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
|
char *_kwnames[] = { "self","n","label", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_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
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxRadioBox_SetString(_arg0,_arg1,*_arg2);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
{
|
||||||
|
if (_obj2)
|
||||||
|
delete _arg2;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
|
||||||
|
static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxRadioBox * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxRadioBox_GetSelection(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
|
#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
|
||||||
static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -7335,8 +7468,8 @@ static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *a
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxRadioBox_Number(_swigobj) (_swigobj->Number())
|
#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
|
||||||
static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
int _result;
|
int _result;
|
||||||
wxRadioBox * _arg0;
|
wxRadioBox * _arg0;
|
||||||
@@ -7344,18 +7477,18 @@ static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObjec
|
|||||||
char *_kwnames[] = { "self", NULL };
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_Number",_kwnames,&_argo0))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (int )wxRadioBox_Number(_arg0);
|
_result = (int )wxRadioBox_GetCount(_arg0);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
@@ -7363,56 +7496,59 @@ static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObjec
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
|
#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
|
||||||
static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
wxRadioBox * _arg0;
|
wxRadioBox * _arg0;
|
||||||
int _arg1;
|
|
||||||
wxString * _arg2;
|
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _obj2 = 0;
|
char *_kwnames[] = { "self", NULL };
|
||||||
char *_kwnames[] = { "self","n","label", NULL };
|
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
|
||||||
return NULL;
|
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
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
|
_result = (int )wxRadioBox_GetColumnCount(_arg0);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} Py_INCREF(Py_None);
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
_resultobj = Py_None;
|
return _resultobj;
|
||||||
{
|
|
||||||
if (_obj2)
|
|
||||||
delete _arg2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
|
||||||
|
static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxRadioBox * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxRadioBox_GetRowCount(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8896,12 +9032,13 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_Number", (PyCFunction) _wrap_wxRadioBox_Number, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -8987,7 +9124,8 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_Number", (PyCFunction) _wrap_wxListBox_Number, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxListBox_GetCount", (PyCFunction) _wrap_wxListBox_GetCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
|
{ "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -9013,6 +9151,7 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -9021,7 +9160,6 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_Number", (PyCFunction) _wrap_wxComboBox_Number, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -9035,15 +9173,17 @@ static PyMethodDef controlscMethods[] = {
|
|||||||
{ "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
|
{ "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_Number", (PyCFunction) _wrap_wxChoice_Number, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_GetCount", (PyCFunction) _wrap_wxChoice_GetCount, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxChoice_Delete", (PyCFunction) _wrap_wxChoice_Delete, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
|
{ "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -142,6 +142,9 @@ class wxChoicePtr(wxControlPtr):
|
|||||||
def Clear(self, *_args, **_kwargs):
|
def Clear(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def Delete(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxChoice_Delete,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def FindString(self, *_args, **_kwargs):
|
def FindString(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_FindString,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_FindString,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -157,8 +160,8 @@ class wxChoicePtr(wxControlPtr):
|
|||||||
def GetStringSelection(self, *_args, **_kwargs):
|
def GetStringSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_GetStringSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_GetStringSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Number(self, *_args, **_kwargs):
|
def GetCount(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_Number,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_GetCount,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def SetColumns(self, *_args, **_kwargs):
|
def SetColumns(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
|
||||||
@@ -169,8 +172,15 @@ class wxChoicePtr(wxControlPtr):
|
|||||||
def SetStringSelection(self, *_args, **_kwargs):
|
def SetStringSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetString(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxChoice_SetString,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxChoice instance at %s>" % (self.this,)
|
return "<C wxChoice instance at %s>" % (self.this,)
|
||||||
|
|
||||||
|
Number = GetCount
|
||||||
|
Select = SetSelection
|
||||||
|
|
||||||
class wxChoice(wxChoicePtr):
|
class wxChoice(wxChoicePtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
|
self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
|
||||||
@@ -220,9 +230,6 @@ class wxComboBoxPtr(wxChoicePtr):
|
|||||||
def GetValue(self, *_args, **_kwargs):
|
def GetValue(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Number(self, *_args, **_kwargs):
|
|
||||||
val = apply(controlsc.wxComboBox_Number,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def Paste(self, *_args, **_kwargs):
|
def Paste(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -247,6 +254,9 @@ class wxComboBoxPtr(wxChoicePtr):
|
|||||||
def SetValue(self, *_args, **_kwargs):
|
def SetValue(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetEditable(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxComboBox instance at %s>" % (self.this,)
|
return "<C wxComboBox instance at %s>" % (self.this,)
|
||||||
class wxComboBox(wxComboBoxPtr):
|
class wxComboBox(wxComboBoxPtr):
|
||||||
@@ -380,8 +390,11 @@ class wxListBoxPtr(wxControlPtr):
|
|||||||
def GetStringSelection(self, *_args, **_kwargs):
|
def GetStringSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxListBox_GetStringSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxListBox_GetStringSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Number(self, *_args, **_kwargs):
|
def GetCount(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxListBox_Number,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxListBox_GetCount,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def IsSelected(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Selected(self, *_args, **_kwargs):
|
def Selected(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs)
|
||||||
@@ -406,6 +419,7 @@ class wxListBoxPtr(wxControlPtr):
|
|||||||
return val
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxListBox instance at %s>" % (self.this,)
|
return "<C wxListBox instance at %s>" % (self.this,)
|
||||||
|
Number = GetCount
|
||||||
class wxListBox(wxListBoxPtr):
|
class wxListBox(wxListBoxPtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
|
self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
|
||||||
@@ -725,23 +739,26 @@ class wxRadioBoxPtr(wxControlPtr):
|
|||||||
def FindString(self, *_args, **_kwargs):
|
def FindString(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def GetItemLabel(self, *_args, **_kwargs):
|
def GetString(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetString(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxRadioBox_SetString,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def GetSelection(self, *_args, **_kwargs):
|
def GetSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def GetString(self, *_args, **_kwargs):
|
|
||||||
val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def GetStringSelection(self, *_args, **_kwargs):
|
def GetStringSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def Number(self, *_args, **_kwargs):
|
def GetCount(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_Number,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def SetItemLabel(self, *_args, **_kwargs):
|
def GetColumnCount(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_GetColumnCount,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetRowCount(self, *_args, **_kwargs):
|
||||||
|
val = apply(controlsc.wxRadioBox_GetRowCount,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def SetSelection(self, *_args, **_kwargs):
|
def SetSelection(self, *_args, **_kwargs):
|
||||||
val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
|
val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
|
||||||
@@ -757,6 +774,11 @@ class wxRadioBoxPtr(wxControlPtr):
|
|||||||
return val
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxRadioBox instance at %s>" % (self.this,)
|
return "<C wxRadioBox instance at %s>" % (self.this,)
|
||||||
|
|
||||||
|
GetItemLabel = GetString
|
||||||
|
SetItemLabel = SetString
|
||||||
|
|
||||||
|
Number = GetCount
|
||||||
class wxRadioBox(wxRadioBoxPtr):
|
class wxRadioBox(wxRadioBoxPtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
|
self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
|
||||||
|
@@ -2925,7 +2925,7 @@ static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *
|
|||||||
wxWindowID _arg1;
|
wxWindowID _arg1;
|
||||||
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
||||||
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
||||||
long _arg4 = (long ) wxLC_ICON;
|
long _arg4 = (long ) (wxLC_ICON);
|
||||||
wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
|
wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
|
||||||
char * _arg6 = (char *) "listCtrl";
|
char * _arg6 = (char *) "listCtrl";
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
@@ -8603,6 +8603,26 @@ SWIGEXPORT(void) initcontrols2c() {
|
|||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
|
||||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
|
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
|
||||||
|
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_LIST", PyInt_FromLong((long) wxLC_LIST));
|
||||||
|
PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
|
||||||
|
PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
|
||||||
|
PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
|
||||||
|
PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
|
||||||
|
PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
|
||||||
|
PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
|
||||||
|
PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
|
||||||
|
PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
|
||||||
|
PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
|
||||||
|
PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
|
||||||
|
PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
|
||||||
|
PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
|
||||||
|
PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
|
||||||
|
PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
|
||||||
|
PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
|
||||||
|
PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
|
||||||
|
PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
|
||||||
PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
|
PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
|
||||||
PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
|
PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
|
||||||
PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
|
PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
|
||||||
|
@@ -891,6 +891,26 @@ wxEVT_COMMAND_LIST_COL_CLICK = controls2c.wxEVT_COMMAND_LIST_COL_CLICK
|
|||||||
wxEVT_COMMAND_LIST_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
|
wxEVT_COMMAND_LIST_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
|
||||||
wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
|
wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
|
||||||
wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
|
wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
|
||||||
|
wxLC_ICON = controls2c.wxLC_ICON
|
||||||
|
wxLC_SMALL_ICON = controls2c.wxLC_SMALL_ICON
|
||||||
|
wxLC_LIST = controls2c.wxLC_LIST
|
||||||
|
wxLC_REPORT = controls2c.wxLC_REPORT
|
||||||
|
wxLC_ALIGN_TOP = controls2c.wxLC_ALIGN_TOP
|
||||||
|
wxLC_ALIGN_LEFT = controls2c.wxLC_ALIGN_LEFT
|
||||||
|
wxLC_AUTOARRANGE = controls2c.wxLC_AUTOARRANGE
|
||||||
|
wxLC_USER_TEXT = controls2c.wxLC_USER_TEXT
|
||||||
|
wxLC_EDIT_LABELS = controls2c.wxLC_EDIT_LABELS
|
||||||
|
wxLC_NO_HEADER = controls2c.wxLC_NO_HEADER
|
||||||
|
wxLC_NO_SORT_HEADER = controls2c.wxLC_NO_SORT_HEADER
|
||||||
|
wxLC_SINGLE_SEL = controls2c.wxLC_SINGLE_SEL
|
||||||
|
wxLC_SORT_ASCENDING = controls2c.wxLC_SORT_ASCENDING
|
||||||
|
wxLC_SORT_DESCENDING = controls2c.wxLC_SORT_DESCENDING
|
||||||
|
wxLC_MASK_TYPE = controls2c.wxLC_MASK_TYPE
|
||||||
|
wxLC_MASK_ALIGN = controls2c.wxLC_MASK_ALIGN
|
||||||
|
wxLC_MASK_SORT = controls2c.wxLC_MASK_SORT
|
||||||
|
wxLC_HRULES = controls2c.wxLC_HRULES
|
||||||
|
wxLC_VRULES = controls2c.wxLC_VRULES
|
||||||
|
wxLC_VIRTUAL = controls2c.wxLC_VIRTUAL
|
||||||
wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
|
wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
|
||||||
wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
|
wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
|
||||||
wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
|
wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
|
||||||
|
@@ -252,7 +252,7 @@ public:
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !wxUSE_WAVE && !defined(__WXMSW__)
|
#if !wxUSE_WAVE
|
||||||
// A C++ stub class for wxWave for platforms that don't have it.
|
// A C++ stub class for wxWave for platforms that don't have it.
|
||||||
class wxWave : public wxObject
|
class wxWave : public wxObject
|
||||||
{
|
{
|
||||||
|
@@ -6533,54 +6533,6 @@ static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *a
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
|
|
||||||
static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
wxScrolledWindow * _arg0;
|
|
||||||
int * _arg1;
|
|
||||||
int temp;
|
|
||||||
int * _arg2;
|
|
||||||
int temp0;
|
|
||||||
PyObject * _argo0 = 0;
|
|
||||||
char *_kwnames[] = { "self", NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
{
|
|
||||||
_arg1 = &temp;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
_arg2 = &temp0;
|
|
||||||
}
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_ViewStart",_kwnames,&_argo0))
|
|
||||||
return NULL;
|
|
||||||
if (_argo0) {
|
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
||||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
|
|
||||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
{
|
|
||||||
PyObject *o;
|
|
||||||
o = PyInt_FromLong((long) (*_arg1));
|
|
||||||
_resultobj = t_output_helper(_resultobj, o);
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PyObject *o;
|
|
||||||
o = PyInt_FromLong((long) (*_arg2));
|
|
||||||
_resultobj = t_output_helper(_resultobj, o);
|
|
||||||
}
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
#define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||||
static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -10433,7 +10385,6 @@ static PyMethodDef windowscMethods[] = {
|
|||||||
{ "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -647,9 +647,6 @@ class wxScrolledWindowPtr(wxPanelPtr):
|
|||||||
def GetViewStart(self, *_args, **_kwargs):
|
def GetViewStart(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxScrolledWindow_GetViewStart,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxScrolledWindow_GetViewStart,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
def ViewStart(self, *_args, **_kwargs):
|
|
||||||
val = apply(windowsc.wxScrolledWindow_ViewStart,(self,) + _args, _kwargs)
|
|
||||||
return val
|
|
||||||
def CalcScrolledPosition(self, *_args, **_kwargs):
|
def CalcScrolledPosition(self, *_args, **_kwargs):
|
||||||
val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition,(self,) + _args, _kwargs)
|
val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -670,6 +667,7 @@ class wxScrolledWindowPtr(wxPanelPtr):
|
|||||||
return val
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxScrolledWindow instance at %s>" % (self.this,)
|
return "<C wxScrolledWindow instance at %s>" % (self.this,)
|
||||||
|
ViewStart = GetViewStart
|
||||||
class wxScrolledWindow(wxScrolledWindowPtr):
|
class wxScrolledWindow(wxScrolledWindowPtr):
|
||||||
def __init__(self,*_args,**_kwargs):
|
def __init__(self,*_args,**_kwargs):
|
||||||
self.this = apply(windowsc.new_wxScrolledWindow,_args,_kwargs)
|
self.this = apply(windowsc.new_wxScrolledWindow,_args,_kwargs)
|
||||||
|
@@ -1945,6 +1945,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxED_STATIC_LINE", PyInt_FromLong((long) wxED_STATIC_LINE));
|
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,"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,"wxCLIP_SIBLINGS", PyInt_FromLong((long) wxCLIP_SIBLINGS));
|
||||||
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));
|
||||||
PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
|
PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
|
||||||
@@ -2019,25 +2020,6 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
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_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_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
|
|
||||||
PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
|
|
||||||
PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
|
|
||||||
PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
|
|
||||||
PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
|
|
||||||
PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
|
|
||||||
PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
|
|
||||||
PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
|
|
||||||
PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
|
|
||||||
PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
|
|
||||||
PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
|
|
||||||
PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
|
|
||||||
PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
|
|
||||||
PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
|
|
||||||
PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
|
|
||||||
PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
|
|
||||||
PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
|
|
||||||
PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
|
|
||||||
PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
|
PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
|
||||||
PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
|
PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
|
||||||
PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
|
PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
|
||||||
@@ -2177,6 +2159,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
|
PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
|
||||||
PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
|
PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
|
||||||
PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM));
|
PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM));
|
||||||
|
PyDict_SetItemString(d,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE));
|
||||||
PyDict_SetItemString(d,"wxLI_HORIZONTAL", PyInt_FromLong((long) wxLI_HORIZONTAL));
|
PyDict_SetItemString(d,"wxLI_HORIZONTAL", PyInt_FromLong((long) wxLI_HORIZONTAL));
|
||||||
PyDict_SetItemString(d,"wxLI_VERTICAL", PyInt_FromLong((long) wxLI_VERTICAL));
|
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_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER));
|
||||||
|
@@ -213,6 +213,7 @@ wxED_BUTTONS_RIGHT = wxc.wxED_BUTTONS_RIGHT
|
|||||||
wxED_STATIC_LINE = wxc.wxED_STATIC_LINE
|
wxED_STATIC_LINE = wxc.wxED_STATIC_LINE
|
||||||
wxEXT_DIALOG_STYLE = wxc.wxEXT_DIALOG_STYLE
|
wxEXT_DIALOG_STYLE = wxc.wxEXT_DIALOG_STYLE
|
||||||
wxCLIP_CHILDREN = wxc.wxCLIP_CHILDREN
|
wxCLIP_CHILDREN = wxc.wxCLIP_CHILDREN
|
||||||
|
wxCLIP_SIBLINGS = wxc.wxCLIP_SIBLINGS
|
||||||
wxRETAINED = wxc.wxRETAINED
|
wxRETAINED = wxc.wxRETAINED
|
||||||
wxBACKINGSTORE = wxc.wxBACKINGSTORE
|
wxBACKINGSTORE = wxc.wxBACKINGSTORE
|
||||||
wxTB_3DBUTTONS = wxc.wxTB_3DBUTTONS
|
wxTB_3DBUTTONS = wxc.wxTB_3DBUTTONS
|
||||||
@@ -287,25 +288,6 @@ 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_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_SMALL_ICON = wxc.wxLC_SMALL_ICON
|
|
||||||
wxLC_LIST = wxc.wxLC_LIST
|
|
||||||
wxLC_REPORT = wxc.wxLC_REPORT
|
|
||||||
wxLC_ALIGN_TOP = wxc.wxLC_ALIGN_TOP
|
|
||||||
wxLC_ALIGN_LEFT = wxc.wxLC_ALIGN_LEFT
|
|
||||||
wxLC_AUTOARRANGE = wxc.wxLC_AUTOARRANGE
|
|
||||||
wxLC_USER_TEXT = wxc.wxLC_USER_TEXT
|
|
||||||
wxLC_EDIT_LABELS = wxc.wxLC_EDIT_LABELS
|
|
||||||
wxLC_NO_HEADER = wxc.wxLC_NO_HEADER
|
|
||||||
wxLC_NO_SORT_HEADER = wxc.wxLC_NO_SORT_HEADER
|
|
||||||
wxLC_SINGLE_SEL = wxc.wxLC_SINGLE_SEL
|
|
||||||
wxLC_SORT_ASCENDING = wxc.wxLC_SORT_ASCENDING
|
|
||||||
wxLC_SORT_DESCENDING = wxc.wxLC_SORT_DESCENDING
|
|
||||||
wxLC_MASK_TYPE = wxc.wxLC_MASK_TYPE
|
|
||||||
wxLC_MASK_ALIGN = wxc.wxLC_MASK_ALIGN
|
|
||||||
wxLC_MASK_SORT = wxc.wxLC_MASK_SORT
|
|
||||||
wxLC_HRULES = wxc.wxLC_HRULES
|
|
||||||
wxLC_VRULES = wxc.wxLC_VRULES
|
|
||||||
wxSP_VERTICAL = wxc.wxSP_VERTICAL
|
wxSP_VERTICAL = wxc.wxSP_VERTICAL
|
||||||
wxSP_HORIZONTAL = wxc.wxSP_HORIZONTAL
|
wxSP_HORIZONTAL = wxc.wxSP_HORIZONTAL
|
||||||
wxSP_ARROW_KEYS = wxc.wxSP_ARROW_KEYS
|
wxSP_ARROW_KEYS = wxc.wxSP_ARROW_KEYS
|
||||||
@@ -445,6 +427,7 @@ wxNB_FIXEDWIDTH = wxc.wxNB_FIXEDWIDTH
|
|||||||
wxNB_LEFT = wxc.wxNB_LEFT
|
wxNB_LEFT = wxc.wxNB_LEFT
|
||||||
wxNB_RIGHT = wxc.wxNB_RIGHT
|
wxNB_RIGHT = wxc.wxNB_RIGHT
|
||||||
wxNB_BOTTOM = wxc.wxNB_BOTTOM
|
wxNB_BOTTOM = wxc.wxNB_BOTTOM
|
||||||
|
wxNB_MULTILINE = wxc.wxNB_MULTILINE
|
||||||
wxLI_HORIZONTAL = wxc.wxLI_HORIZONTAL
|
wxLI_HORIZONTAL = wxc.wxLI_HORIZONTAL
|
||||||
wxLI_VERTICAL = wxc.wxLI_VERTICAL
|
wxLI_VERTICAL = wxc.wxLI_VERTICAL
|
||||||
wxHW_SCROLLBAR_NEVER = wxc.wxHW_SCROLLBAR_NEVER
|
wxHW_SCROLLBAR_NEVER = wxc.wxHW_SCROLLBAR_NEVER
|
||||||
|
@@ -520,6 +520,11 @@ public:
|
|||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: Add wrappers for the wxScrollHelper class, make wxScrolledWindow
|
||||||
|
// derive from it and wxPanel.
|
||||||
|
|
||||||
|
|
||||||
class wxScrolledWindow : public wxPanel {
|
class wxScrolledWindow : public wxPanel {
|
||||||
public:
|
public:
|
||||||
wxScrolledWindow(wxWindow* parent,
|
wxScrolledWindow(wxWindow* parent,
|
||||||
@@ -546,7 +551,7 @@ public:
|
|||||||
void SetScrollPageSize(int orient, int pageSize);
|
void SetScrollPageSize(int orient, int pageSize);
|
||||||
void SetTargetWindow(wxWindow* window);
|
void SetTargetWindow(wxWindow* window);
|
||||||
void GetViewStart(int* OUTPUT, int* OUTPUT);
|
void GetViewStart(int* OUTPUT, int* OUTPUT);
|
||||||
void ViewStart(int* OUTPUT, int* OUTPUT);
|
%pragma(python) addtoclass = "ViewStart = GetViewStart"
|
||||||
|
|
||||||
void CalcScrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT);
|
void CalcScrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT);
|
||||||
void CalcUnscrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT);
|
void CalcUnscrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT);
|
||||||
|
Reference in New Issue
Block a user