mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-19 20:41:04 +08:00
build fixes and reSWIGs for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,71 +42,71 @@ class wxCalendarDateAttrPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetTextColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetTextColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetTextColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetBackgroundColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetBackgroundColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetBackgroundColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetBorderColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetBorderColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetBorderColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFont(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetFont,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetFont(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetBorder(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetBorder,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetHoliday(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_SetHoliday,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_SetHoliday(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasTextColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_HasTextColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_HasTextColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasBackgroundColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_HasBackgroundColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_HasBackgroundColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasBorderColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_HasBorderColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_HasBorderColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasFont(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_HasFont,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_HasFont(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasBorder(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_HasBorder,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_HasBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsHoliday(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_IsHoliday,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_IsHoliday(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetTextColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_GetTextColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_GetTextColour(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetBackgroundColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_GetBackgroundColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_GetBackgroundColour(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetBorderColour(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_GetBorderColour,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_GetBorderColour(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetFont(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_GetFont,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_GetFont(self, *_args, **_kwargs)
|
||||
if val: val = wxFontPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetBorder(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarDateAttr_GetBorder,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarDateAttr_GetBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxCalendarDateAttr instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCalendarDateAttr(wxCalendarDateAttrPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(calendarc.new_wxCalendarDateAttr,_args,_kwargs)
|
||||
self.this = calendarc.new_wxCalendarDateAttr(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
def wxCalendarDateAttrBorder(*_args,**_kwargs):
|
||||
val = wxCalendarDateAttrPtr(apply(calendarc.new_wxCalendarDateAttrBorder,_args,_kwargs))
|
||||
val = wxCalendarDateAttrPtr(calendarc.new_wxCalendarDateAttrBorder(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
@@ -116,17 +116,17 @@ class wxCalendarEventPtr(wxCommandEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetDate(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarEvent_GetDate,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarEvent_GetDate(self, *_args, **_kwargs)
|
||||
if val: val = wxDateTimePtr(val)
|
||||
return val
|
||||
def GetWeekDay(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarEvent_GetWeekDay,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarEvent_GetWeekDay(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxCalendarEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCalendarEvent(wxCalendarEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(calendarc.new_wxCalendarEvent,_args,_kwargs)
|
||||
self.this = calendarc.new_wxCalendarEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -137,108 +137,108 @@ class wxCalendarCtrlPtr(wxControlPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_Create,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDate(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetDate,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetDate(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetDate(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetDate,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetDate(self, *_args, **_kwargs)
|
||||
if val: val = wxDateTimePtr(val)
|
||||
return val
|
||||
def SetLowerDateLimit(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetLowerDateLimit,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetLowerDateLimit(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLowerDateLimit(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetLowerDateLimit,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetLowerDateLimit(self, *_args, **_kwargs)
|
||||
if val: val = wxDateTimePtr(val)
|
||||
return val
|
||||
def SetUpperDateLimit(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetUpperDateLimit,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetUpperDateLimit(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetUpperDateLimit(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetUpperDateLimit,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetUpperDateLimit(self, *_args, **_kwargs)
|
||||
if val: val = wxDateTimePtr(val)
|
||||
return val
|
||||
def SetDateRange(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetDateRange,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetDateRange(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnableYearChange(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_EnableYearChange,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_EnableYearChange(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnableMonthChange(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_EnableMonthChange,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_EnableMonthChange(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnableHolidayDisplay(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_EnableHolidayDisplay,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_EnableHolidayDisplay(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetHeaderColours(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetHeaderColours,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetHeaderColours(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetHeaderColourFg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHeaderColourFg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHeaderColourFg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetHeaderColourBg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHeaderColourBg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHeaderColourBg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetHighlightColours(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetHighlightColours,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetHighlightColours(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetHighlightColourFg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHighlightColourFg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHighlightColourFg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetHighlightColourBg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHighlightColourBg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHighlightColourBg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetHolidayColours(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetHolidayColours,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetHolidayColours(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetHolidayColourFg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHolidayColourFg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHolidayColourFg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetHolidayColourBg(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetHolidayColourBg,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetHolidayColourBg(self, *_args, **_kwargs)
|
||||
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetAttr(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_GetAttr,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_GetAttr(self, *_args, **_kwargs)
|
||||
if val: val = wxCalendarDateAttrPtr(val)
|
||||
return val
|
||||
def SetAttr(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetAttr,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetAttr(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetHoliday(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_SetHoliday,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_SetHoliday(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ResetAttr(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_ResetAttr,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_ResetAttr(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HitTest(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_HitTest,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_HitTest(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Enable(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_Enable,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_Enable(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Show(self, *_args, **_kwargs):
|
||||
val = apply(calendarc.wxCalendarCtrl_Show,(self,) + _args, _kwargs)
|
||||
val = calendarc.wxCalendarCtrl_Show(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxCalendarCtrl instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCalendarCtrl(wxCalendarCtrlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(calendarc.new_wxCalendarCtrl,_args,_kwargs)
|
||||
self.this = calendarc.new_wxCalendarCtrl(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreCalendarCtrl(*_args,**_kwargs):
|
||||
val = wxCalendarCtrlPtr(apply(calendarc.new_wxPreCalendarCtrl,_args,_kwargs))
|
||||
val = wxCalendarCtrlPtr(calendarc.new_wxPreCalendarCtrl(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
|
||||
@@ -198,9 +198,7 @@ void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
|
||||
}
|
||||
|
||||
#include <wx/metafile.h>
|
||||
|
||||
// See below in the init function...
|
||||
wxClipboard* wxPyTheClipboard;
|
||||
extern wxClipboard * wxTheClipboard;
|
||||
|
||||
class wxPyDropSource : public wxDropSource {
|
||||
public:
|
||||
@@ -366,17 +364,17 @@ static PyObject *_wrap_wxPyFormatInvalid_get() {
|
||||
return pyobj;
|
||||
}
|
||||
|
||||
static int _wrap_wxPyTheClipboard_set(PyObject *val) {
|
||||
static int _wrap_wxTheClipboard_set(PyObject *val) {
|
||||
|
||||
PyErr_SetString(PyExc_TypeError,"Variable wxTheClipboard is read-only.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxPyTheClipboard_get() {
|
||||
static PyObject *_wrap_wxTheClipboard_get() {
|
||||
PyObject * pyobj;
|
||||
char ptemp[128];
|
||||
|
||||
SWIG_MakePtr(ptemp, (char *) wxPyTheClipboard,"_wxClipboard_p");
|
||||
SWIG_MakePtr(ptemp, (char *) wxTheClipboard,"_wxClipboard_p");
|
||||
pyobj = PyString_FromString(ptemp);
|
||||
return pyobj;
|
||||
}
|
||||
@@ -3834,7 +3832,7 @@ SWIGEXPORT(void) initclip_dndc() {
|
||||
PyDict_SetItemString(d,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX));
|
||||
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
||||
SWIG_addvarlink(SWIG_globals,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get, _wrap_wxPyFormatInvalid_set);
|
||||
SWIG_addvarlink(SWIG_globals,"wxTheClipboard",_wrap_wxPyTheClipboard_get, _wrap_wxPyTheClipboard_set);
|
||||
SWIG_addvarlink(SWIG_globals,"wxTheClipboard",_wrap_wxTheClipboard_get, _wrap_wxTheClipboard_set);
|
||||
PyDict_SetItemString(d,"wxDrag_CopyOnly", PyInt_FromLong((long) wxDrag_CopyOnly));
|
||||
PyDict_SetItemString(d,"wxDrag_AllowMove", PyInt_FromLong((long) wxDrag_AllowMove));
|
||||
PyDict_SetItemString(d,"wxDrag_DefaultMove", PyInt_FromLong((long) wxDrag_DefaultMove));
|
||||
@@ -3846,7 +3844,6 @@ SWIGEXPORT(void) initclip_dndc() {
|
||||
PyDict_SetItemString(d,"wxDragCancel", PyInt_FromLong((long) wxDragCancel));
|
||||
|
||||
|
||||
wxPyTheClipboard = wxTheClipboard;
|
||||
wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
|
||||
wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
|
||||
wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
|
||||
|
||||
+105
-105
File diff suppressed because it is too large
Load Diff
+343
-372
File diff suppressed because it is too large
Load Diff
+122
-125
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+378
-288
File diff suppressed because it is too large
Load Diff
+407
-49
File diff suppressed because it is too large
Load Diff
+350
-286
File diff suppressed because it is too large
Load Diff
+660
-42
File diff suppressed because it is too large
Load Diff
+320
-227
File diff suppressed because it is too large
Load Diff
@@ -128,6 +128,11 @@ IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, Ope
|
||||
IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
|
||||
IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
|
||||
|
||||
wxString wxFileSystem_URLToFileName(const wxString& url) {
|
||||
wxFileName fname = wxFileSystem::URLToFileName(url);
|
||||
return fname.GetFullPath();
|
||||
}
|
||||
|
||||
void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
|
||||
wxImage& image,
|
||||
long type) {
|
||||
@@ -151,6 +156,44 @@ void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_wxFileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "url", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystem_URLToFileName",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = new wxString (wxFileSystem_URLToFileName(*_arg0));
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{
|
||||
#if wxUSE_UNICODE
|
||||
_resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
|
||||
#else
|
||||
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
||||
#endif
|
||||
}
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _arg0;
|
||||
@@ -1311,6 +1354,44 @@ static PyObject *_wrap_wxFileSystem_CleanUpHandlers(PyObject *self, PyObject *ar
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "filename", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystem_FileNameToURL",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = new wxString (wxFileSystem::FileNameToURL(*_arg0));
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{
|
||||
#if wxUSE_UNICODE
|
||||
_resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
|
||||
#else
|
||||
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
||||
#endif
|
||||
}
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr) {
|
||||
wxInternetFSHandler *src;
|
||||
wxFileSystemHandler *dest;
|
||||
@@ -1911,6 +1992,7 @@ static PyMethodDef filesyscMethods[] = {
|
||||
{ "wxInternetFSHandler_OpenFile", (PyCFunction) _wrap_wxInternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxInternetFSHandler_CanOpen", (PyCFunction) _wrap_wxInternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxInternetFSHandler", (PyCFunction) _wrap_new_wxInternetFSHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileSystem_FileNameToURL", (PyCFunction) _wrap_wxFileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileSystem_CleanUpHandlers", (PyCFunction) _wrap_wxFileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileSystem_AddHandler", (PyCFunction) _wrap_wxFileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileSystem_FindNext", (PyCFunction) _wrap_wxFileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -1939,6 +2021,7 @@ static PyMethodDef filesyscMethods[] = {
|
||||
{ "__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileSystem_URLToFileName", (PyCFunction) _wrap_wxFileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
+47
-43
@@ -30,26 +30,26 @@ class wxFSFilePtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetStream(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFSFile_GetStream,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFSFile_GetStream(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMimeType(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFSFile_GetMimeType,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFSFile_GetMimeType(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLocation(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFSFile_GetLocation,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFSFile_GetLocation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAnchor(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFSFile_GetAnchor,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFSFile_GetAnchor(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetModificationTime(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFSFile_GetModificationTime,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFSFile_GetModificationTime(self, *_args, **_kwargs)
|
||||
if val: val = wxDateTimePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFSFile instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFSFile(wxFSFilePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxFSFile,_args,_kwargs)
|
||||
self.this = filesysc.new_wxFSFile(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class wxCPPFileSystemHandlerPtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxCPPFileSystemHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCPPFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCPPFileSystemHandler(wxCPPFileSystemHandlerPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -73,40 +73,40 @@ class wxFileSystemHandlerPtr(wxCPPFileSystemHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler__setCallbackInfo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CanOpen(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_CanOpen,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_CanOpen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def OpenFile(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_OpenFile,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_OpenFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindFirst(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_FindFirst,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_FindFirst(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindNext(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_FindNext,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_FindNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetProtocol(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_GetProtocol,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_GetProtocol(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLeftLocation(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_GetLeftLocation,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_GetLeftLocation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAnchor(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_GetAnchor,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_GetAnchor(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetRightLocation(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_GetRightLocation,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_GetRightLocation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMimeTypeFromExt(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystemHandler_GetMimeTypeFromExt,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystemHandler_GetMimeTypeFromExt(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFileSystemHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFileSystemHandler(wxFileSystemHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxFileSystemHandler,_args,_kwargs)
|
||||
self.this = filesysc.new_wxFileSystemHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setCallbackInfo(self, wxFileSystemHandler)
|
||||
|
||||
@@ -118,25 +118,25 @@ class wxFileSystemPtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def ChangePathTo(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystem_ChangePathTo,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystem_ChangePathTo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPath(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystem_GetPath,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystem_GetPath(self, *_args, **_kwargs)
|
||||
return val
|
||||
def OpenFile(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystem_OpenFile,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystem_OpenFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindFirst(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystem_FindFirst,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystem_FindFirst(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindNext(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxFileSystem_FindNext,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxFileSystem_FindNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFileSystem instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFileSystem(wxFileSystemPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxFileSystem,_args,_kwargs)
|
||||
self.this = filesysc.new_wxFileSystem(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -147,16 +147,16 @@ class wxInternetFSHandlerPtr(wxCPPFileSystemHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def CanOpen(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxInternetFSHandler_CanOpen,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxInternetFSHandler_CanOpen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def OpenFile(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxInternetFSHandler_OpenFile,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxInternetFSHandler_OpenFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxInternetFSHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxInternetFSHandler(wxInternetFSHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxInternetFSHandler,_args,_kwargs)
|
||||
self.this = filesysc.new_wxInternetFSHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -167,22 +167,22 @@ class wxZipFSHandlerPtr(wxCPPFileSystemHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def CanOpen(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxZipFSHandler_CanOpen,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxZipFSHandler_CanOpen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def OpenFile(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxZipFSHandler_OpenFile,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxZipFSHandler_OpenFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindFirst(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxZipFSHandler_FindFirst,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxZipFSHandler_FindFirst(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindNext(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxZipFSHandler_FindNext,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxZipFSHandler_FindNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxZipFSHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxZipFSHandler(wxZipFSHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxZipFSHandler,_args,_kwargs)
|
||||
self.this = filesysc.new_wxZipFSHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -193,22 +193,22 @@ class wxMemoryFSHandlerPtr(wxCPPFileSystemHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def CanOpen(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxMemoryFSHandler_CanOpen,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxMemoryFSHandler_CanOpen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def OpenFile(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxMemoryFSHandler_OpenFile,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxMemoryFSHandler_OpenFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindFirst(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxMemoryFSHandler_FindFirst,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxMemoryFSHandler_FindFirst(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindNext(self, *_args, **_kwargs):
|
||||
val = apply(filesysc.wxMemoryFSHandler_FindNext,(self,) + _args, _kwargs)
|
||||
val = filesysc.wxMemoryFSHandler_FindNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMemoryFSHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxMemoryFSHandler(wxMemoryFSHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(filesysc.new_wxMemoryFSHandler,_args,_kwargs)
|
||||
self.this = filesysc.new_wxMemoryFSHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -218,6 +218,8 @@ class wxMemoryFSHandler(wxMemoryFSHandlerPtr):
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
wxFileSystem_URLToFileName = filesysc.wxFileSystem_URLToFileName
|
||||
|
||||
__wxMemoryFSHandler_AddFile_wxImage = filesysc.__wxMemoryFSHandler_AddFile_wxImage
|
||||
|
||||
__wxMemoryFSHandler_AddFile_wxBitmap = filesysc.__wxMemoryFSHandler_AddFile_wxBitmap
|
||||
@@ -228,6 +230,8 @@ wxFileSystem_AddHandler = filesysc.wxFileSystem_AddHandler
|
||||
|
||||
wxFileSystem_CleanUpHandlers = filesysc.wxFileSystem_CleanUpHandlers
|
||||
|
||||
wxFileSystem_FileNameToURL = filesysc.wxFileSystem_FileNameToURL
|
||||
|
||||
wxMemoryFSHandler_RemoveFile = filesysc.wxMemoryFSHandler_RemoveFile
|
||||
|
||||
|
||||
|
||||
+264
-205
File diff suppressed because it is too large
Load Diff
+114
-106
@@ -7,70 +7,70 @@ class wxNativeFontInfoPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Init(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_Init,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_Init(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPointSize(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetPointSize,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetPointSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStyle(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetStyle,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetWeight(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetWeight,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetWeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetUnderlined(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetUnderlined,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetUnderlined(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFaceName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetFaceName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetFaceName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFamily(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetFamily,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetFamily(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_GetEncoding,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_GetEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetPointSize(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetPointSize,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetPointSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStyle(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetStyle,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetWeight(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetWeight,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetWeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetUnderlined(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetUnderlined,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetUnderlined(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFaceName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetFaceName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetFaceName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFamily(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetFamily,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetFamily(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_SetEncoding,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_SetEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FromString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_FromString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_FromString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ToString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_ToString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_ToString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __str__(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo___str__,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo___str__(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FromUserString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_FromUserString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_FromUserString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ToUserString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxNativeFontInfo_ToUserString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxNativeFontInfo_ToUserString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxNativeFontInfo instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxNativeFontInfo(wxNativeFontInfoPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxNativeFontInfo,_args,_kwargs)
|
||||
self.this = fontsc.new_wxNativeFontInfo(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -86,32 +86,32 @@ class wxFontMapperPtr :
|
||||
delfunc(self)
|
||||
except:
|
||||
pass
|
||||
def GetAltForEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_GetAltForEncoding,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def IsEncodingAvailable(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_IsEncodingAvailable,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def CharsetToEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_CharsetToEncoding,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetDialogParent(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_SetDialogParent,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetDialogTitle(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_SetDialogTitle,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontMapper_CharsetToEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetConfig(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_SetConfig,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontMapper_SetConfig(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetConfigPath(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_SetConfigPath,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontMapper_SetConfigPath(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAltForEncoding(self, *_args, **_kwargs):
|
||||
val = fontsc.wxFontMapper_GetAltForEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsEncodingAvailable(self, *_args, **_kwargs):
|
||||
val = fontsc.wxFontMapper_IsEncodingAvailable(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDialogParent(self, *_args, **_kwargs):
|
||||
val = fontsc.wxFontMapper_SetDialogParent(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDialogTitle(self, *_args, **_kwargs):
|
||||
val = fontsc.wxFontMapper_SetDialogTitle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFontMapper instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFontMapper(wxFontMapperPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxFontMapper,_args,_kwargs)
|
||||
self.this = fontsc.new_wxFontMapper(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ class wxFontPtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def wxFontFromNativeInfoString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_wxFontFromNativeInfoString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_wxFontFromNativeInfoString(self, *_args, **_kwargs)
|
||||
if val: val = wxFontPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __del__(self, delfunc=fontsc.delete_wxFont):
|
||||
@@ -132,95 +132,96 @@ class wxFontPtr(wxObjectPtr):
|
||||
except:
|
||||
pass
|
||||
def Ok(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_Ok,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_Ok(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPointSize(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetPointSize,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetPointSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFamily(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetFamily,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetFamily(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStyle(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetStyle,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetWeight(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetWeight,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetWeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetUnderlined(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetUnderlined,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetUnderlined(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFaceName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetFaceName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetFaceName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetEncoding,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsFixedWidth(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_IsFixedWidth,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_IsFixedWidth(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetNativeFontInfo(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetNativeFontInfo,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetNativeFontInfo(self, *_args, **_kwargs)
|
||||
if val: val = wxNativeFontInfoPtr(val)
|
||||
return val
|
||||
def GetNativeFontInfoDesc(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetNativeFontInfoDesc,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetNativeFontInfoDesc(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetNativeFontInfoUserDesc(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetNativeFontInfoUserDesc,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetNativeFontInfoUserDesc(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetPointSize(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetPointSize,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetPointSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFamily(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetFamily,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetFamily(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStyle(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetStyle,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetWeight(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetWeight,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetWeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFaceName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetFaceName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetFaceName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetUnderlined(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetUnderlined,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetUnderlined(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetEncoding(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetEncoding,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetEncoding(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetNativeFontInfo(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetNativeFontInfo,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetNativeFontInfo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetNativeFontInfoUserDesc(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetNativeFontInfoUserDesc,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetNativeFontInfoUserDesc(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFamilyString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetFamilyString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetFamilyString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStyleString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetStyleString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetStyleString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetWeightString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetWeightString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetWeightString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetNoAntiAliasing(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_SetNoAntiAliasing,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_SetNoAntiAliasing(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetNoAntiAliasing(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_GetNoAntiAliasing,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFont_GetNoAntiAliasing(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFont instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
def __nonzero__(self): return self.Ok()
|
||||
class wxFont(wxFontPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxFont,_args,_kwargs)
|
||||
self.this = fontsc.new_wxFont(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
def wxFontFromNativeInfo(*_args,**_kwargs):
|
||||
val = wxFontPtr(apply(fontsc.new_wxFontFromNativeInfo,_args,_kwargs))
|
||||
val = wxFontPtr(fontsc.new_wxFontFromNativeInfo(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
@@ -230,20 +231,20 @@ class wxFontListPtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def AddFont(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontList_AddFont,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontList_AddFont(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindOrCreateFont(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontList_FindOrCreateFont,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontList_FindOrCreateFont(self, *_args, **_kwargs)
|
||||
if val: val = wxFontPtr(val)
|
||||
return val
|
||||
def RemoveFont(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontList_RemoveFont,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontList_RemoveFont(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetCount(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontList_GetCount,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontList_GetCount(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFontList instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFontList(wxFontListPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -262,25 +263,25 @@ class wxFontEnumeratorPtr :
|
||||
except:
|
||||
pass
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontEnumerator__setCallbackInfo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnumerateFacenames(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontEnumerator_EnumerateFacenames(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnumerateEncodings(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontEnumerator_EnumerateEncodings(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetEncodings(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontEnumerator_GetEncodings(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFacenames(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxFontEnumerator_GetFacenames(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFontEnumerator instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxFontEnumerator(wxFontEnumeratorPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxFontEnumerator,_args,_kwargs)
|
||||
self.this = fontsc.new_wxFontEnumerator(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setCallbackInfo(self, wxFontEnumerator, 0)
|
||||
|
||||
@@ -311,7 +312,7 @@ class wxLanguageInfoPtr :
|
||||
return fontsc.wxLanguageInfo_Description_get(self)
|
||||
raise AttributeError,name
|
||||
def __repr__(self):
|
||||
return "<C wxLanguageInfo instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxLanguageInfo(wxLanguageInfoPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -330,51 +331,51 @@ class wxLocalePtr :
|
||||
except:
|
||||
pass
|
||||
def Init1(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_Init1,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_Init1(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Init2(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_Init2,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_Init2(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsOk(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_IsOk,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_IsOk(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLocale(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetLocale,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetLocale(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLanguage(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetLanguage,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetLanguage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetSysName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetSysName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetSysName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetCanonicalName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetCanonicalName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetCanonicalName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddCatalog(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_AddCatalog,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_AddCatalog(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsLoaded(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_IsLoaded,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_IsLoaded(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetString,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetString(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetName(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetName,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxLocale_GetName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxLocale instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
|
||||
def Init(self, *_args, **_kwargs):
|
||||
if type(_args[0]) in [type(''), type(u'')]:
|
||||
val = apply(self.Init1, _args, _kwargs)
|
||||
val = self.Init1(*_args, **_kwargs)
|
||||
else:
|
||||
val = apply(self.Init2, _args, _kwargs)
|
||||
val = self.Init2(*_args, **_kwargs)
|
||||
return val
|
||||
|
||||
class wxLocale(wxLocalePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxLocale,_args,_kwargs)
|
||||
self.this = fontsc.new_wxLocale(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -391,16 +392,17 @@ class wxEncodingConverterPtr(wxObjectPtr):
|
||||
except:
|
||||
pass
|
||||
def Init(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxEncodingConverter_Init,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxEncodingConverter_Init(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Convert(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxEncodingConverter_Convert,(self,) + _args, _kwargs)
|
||||
val = fontsc.wxEncodingConverter_Convert(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxEncodingConverter instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
def __nonzero__(self): return self.IsOk()
|
||||
class wxEncodingConverter(wxEncodingConverterPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(fontsc.new_wxEncodingConverter,_args,_kwargs)
|
||||
self.this = fontsc.new_wxEncodingConverter(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -411,22 +413,26 @@ class wxEncodingConverter(wxEncodingConverterPtr):
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
def wxGetLocale(*_args, **_kwargs):
|
||||
val = apply(fontsc.wxGetLocale,_args,_kwargs)
|
||||
val = fontsc.wxGetLocale(*_args,**_kwargs)
|
||||
if val: val = wxLocalePtr(val)
|
||||
return val
|
||||
|
||||
wxGetTranslation = fontsc.wxGetTranslation
|
||||
|
||||
def wxFontMapper_Get(*_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_Get,_args,_kwargs)
|
||||
val = fontsc.wxFontMapper_Get(*_args,**_kwargs)
|
||||
if val: val = wxFontMapperPtr(val)
|
||||
return val
|
||||
|
||||
def wxFontMapper_Set(*_args, **_kwargs):
|
||||
val = apply(fontsc.wxFontMapper_Set,_args,_kwargs)
|
||||
val = fontsc.wxFontMapper_Set(*_args,**_kwargs)
|
||||
if val: val = wxFontMapperPtr(val)
|
||||
return val
|
||||
|
||||
wxFontMapper_GetSupportedEncodingsCount = fontsc.wxFontMapper_GetSupportedEncodingsCount
|
||||
|
||||
wxFontMapper_GetEncoding = fontsc.wxFontMapper_GetEncoding
|
||||
|
||||
wxFontMapper_GetEncodingName = fontsc.wxFontMapper_GetEncodingName
|
||||
|
||||
wxFontMapper_GetEncodingDescription = fontsc.wxFontMapper_GetEncodingDescription
|
||||
@@ -446,12 +452,14 @@ wxLocale_GetSystemEncodingName = fontsc.wxLocale_GetSystemEncodingName
|
||||
wxLocale_AddCatalogLookupPathPrefix = fontsc.wxLocale_AddCatalogLookupPathPrefix
|
||||
|
||||
def wxLocale_GetLanguageInfo(*_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_GetLanguageInfo,_args,_kwargs)
|
||||
val = fontsc.wxLocale_GetLanguageInfo(*_args,**_kwargs)
|
||||
if val: val = wxLanguageInfoPtr(val)
|
||||
return val
|
||||
|
||||
wxLocale_GetLanguageName = fontsc.wxLocale_GetLanguageName
|
||||
|
||||
def wxLocale_FindLanguageInfo(*_args, **_kwargs):
|
||||
val = apply(fontsc.wxLocale_FindLanguageInfo,_args,_kwargs)
|
||||
val = fontsc.wxLocale_FindLanguageInfo(*_args,**_kwargs)
|
||||
if val: val = wxLanguageInfoPtr(val)
|
||||
return val
|
||||
|
||||
|
||||
+106
-1
@@ -685,6 +685,42 @@ static PyObject *_wrap_wxTopLevelWindow_GetTitle(PyObject *self, PyObject *args,
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxTopLevelWindow_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
|
||||
static PyObject *_wrap_wxTopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxTopLevelWindow * _arg0;
|
||||
wxRegion * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","region", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetShape",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetShape. Expected _wxTopLevelWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo1) {
|
||||
if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_SetShape. Expected _wxRegion_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxTopLevelWindow_SetShape(_arg0,*_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxFrameTowxTopLevelWindow(void *ptr) {
|
||||
wxFrame *src;
|
||||
wxTopLevelWindow *dest;
|
||||
@@ -1395,7 +1431,7 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyO
|
||||
PyObject * _resultobj;
|
||||
wxToolBar * _result;
|
||||
wxFrame * _arg0;
|
||||
long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
|
||||
long _arg1 = (long ) -1;
|
||||
wxWindowID _arg2 = (wxWindowID ) -1;
|
||||
wxString * _arg3 = (wxString *) &wxPyToolBarNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
@@ -1525,6 +1561,72 @@ static PyObject *_wrap_wxFrame_SendSizeEvent(PyObject *self, PyObject *args, PyO
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxFrame_DoMenuUpdates(_swigobj,_swigarg0) (_swigobj->DoMenuUpdates(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxMenu * _arg1 = (wxMenu *) NULL;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","menu", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFrame_DoMenuUpdates",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_DoMenuUpdates. Expected _wxFrame_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_DoMenuUpdates. Expected _wxMenu_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxFrame_DoMenuUpdates(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxFrame_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
long _arg1 = (long ) wxUPDATE_UI_NONE;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","flags", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxFrame_UpdateWindowUI",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_UpdateWindowUI. Expected _wxFrame_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxFrame_UpdateWindowUI(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxDialogTowxTopLevelWindow(void *ptr) {
|
||||
wxDialog *src;
|
||||
wxTopLevelWindow *dest;
|
||||
@@ -2613,6 +2715,8 @@ static PyMethodDef framescMethods[] = {
|
||||
{ "wxDialog_Create", (PyCFunction) _wrap_wxDialog_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPreDialog", (PyCFunction) _wrap_new_wxPreDialog, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_UpdateWindowUI", (PyCFunction) _wrap_wxFrame_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_DoMenuUpdates", (PyCFunction) _wrap_wxFrame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SendSizeEvent", (PyCFunction) _wrap_wxFrame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -2634,6 +2738,7 @@ static PyMethodDef framescMethods[] = {
|
||||
{ "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxTopLevelWindow_SetShape", (PyCFunction) _wrap_wxTopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxTopLevelWindow_GetTitle", (PyCFunction) _wrap_wxTopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxTopLevelWindow_SetTitle", (PyCFunction) _wrap_wxTopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxTopLevelWindow_IsFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+73
-64
@@ -22,57 +22,60 @@ class wxTopLevelWindowPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_Create,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Maximize(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_Maximize,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_Maximize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Restore(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_Restore,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_Restore(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Iconize(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_Iconize,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_Iconize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsMaximized(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_IsMaximized,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_IsMaximized(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsIconized(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_IsIconized,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_IsIconized(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetIcon(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_GetIcon,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_GetIcon(self, *_args, **_kwargs)
|
||||
if val: val = wxIconPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetIcon(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_SetIcon,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_SetIcon(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetIcons(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_SetIcons,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_SetIcons(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ShowFullScreen(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_ShowFullScreen,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_ShowFullScreen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsFullScreen(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_IsFullScreen,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_IsFullScreen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetTitle(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_SetTitle,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_SetTitle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetTitle(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxTopLevelWindow_GetTitle,(self,) + _args, _kwargs)
|
||||
val = framesc.wxTopLevelWindow_GetTitle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetShape(self, *_args, **_kwargs):
|
||||
val = framesc.wxTopLevelWindow_SetShape(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxTopLevelWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxTopLevelWindow(wxTopLevelWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxTopLevelWindow,_args,_kwargs)
|
||||
self.this = framesc.new_wxTopLevelWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreTopLevelWindow(*_args,**_kwargs):
|
||||
val = wxTopLevelWindowPtr(apply(framesc.new_wxPreTopLevelWindow,_args,_kwargs))
|
||||
val = wxTopLevelWindowPtr(framesc.new_wxPreTopLevelWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -83,76 +86,82 @@ class wxFramePtr(wxTopLevelWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_Create,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetClientAreaOrigin(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_GetClientAreaOrigin(self, *_args, **_kwargs)
|
||||
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetMenuBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetMenuBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMenuBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_GetMenuBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ProcessCommand(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_ProcessCommand(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CreateStatusBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_CreateStatusBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStatusBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_GetStatusBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetStatusBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusText(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusWidths(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetStatusWidths(self, *_args, **_kwargs)
|
||||
return val
|
||||
def PushStatusText(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_PushStatusText,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_PushStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def PopStatusText(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_PopStatusText,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_PopStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DoGiveHelp(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_DoGiveHelp,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_DoGiveHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusBarPane(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetStatusBarPane,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetStatusBarPane(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStatusBarPane(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_GetStatusBarPane,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_GetStatusBarPane(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CreateToolBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_CreateToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_GetToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolBar(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SetToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SendSizeEvent(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxFrame_SendSizeEvent,(self,) + _args, _kwargs)
|
||||
val = framesc.wxFrame_SendSizeEvent(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DoMenuUpdates(self, *_args, **_kwargs):
|
||||
val = framesc.wxFrame_DoMenuUpdates(self, *_args, **_kwargs)
|
||||
return val
|
||||
def UpdateWindowUI(self, *_args, **_kwargs):
|
||||
val = framesc.wxFrame_UpdateWindowUI(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxFrame instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
Command = ProcessCommand
|
||||
class wxFrame(wxFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxFrame,_args,_kwargs)
|
||||
self.this = framesc.new_wxFrame(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreFrame(*_args,**_kwargs):
|
||||
val = wxFramePtr(apply(framesc.new_wxPreFrame,_args,_kwargs))
|
||||
val = wxFramePtr(framesc.new_wxPreFrame(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -163,47 +172,47 @@ class wxDialogPtr(wxTopLevelWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_Create,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Centre(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_Centre,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_Centre(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EndModal(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_EndModal,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_EndModal(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetModal(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_SetModal,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_SetModal(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsModal(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_IsModal,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_IsModal(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ShowModal(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_ShowModal,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_ShowModal(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetReturnCode(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_GetReturnCode,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_GetReturnCode(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetReturnCode(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_SetReturnCode,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_SetReturnCode(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CreateTextSizer(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_CreateTextSizer,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_CreateTextSizer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CreateButtonSizer(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxDialog_CreateButtonSizer,(self,) + _args, _kwargs)
|
||||
val = framesc.wxDialog_CreateButtonSizer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxDialog instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxDialog(wxDialogPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxDialog,_args,_kwargs)
|
||||
self.this = framesc.new_wxDialog(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreDialog(*_args,**_kwargs):
|
||||
val = wxDialogPtr(apply(framesc.new_wxPreDialog,_args,_kwargs))
|
||||
val = wxDialogPtr(framesc.new_wxPreDialog(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -214,20 +223,20 @@ class wxMiniFramePtr(wxFramePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxMiniFrame_Create,(self,) + _args, _kwargs)
|
||||
val = framesc.wxMiniFrame_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMiniFrame instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxMiniFrame(wxMiniFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
|
||||
self.this = framesc.new_wxMiniFrame(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMiniFrame(*_args,**_kwargs):
|
||||
val = wxMiniFramePtr(apply(framesc.new_wxPreMiniFrame,_args,_kwargs))
|
||||
val = wxMiniFramePtr(framesc.new_wxPreMiniFrame(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -238,17 +247,17 @@ class wxSplashScreenWindowPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetBitmap(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxSplashScreenWindow_SetBitmap,(self,) + _args, _kwargs)
|
||||
val = framesc.wxSplashScreenWindow_SetBitmap(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBitmap(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxSplashScreenWindow_GetBitmap,(self,) + _args, _kwargs)
|
||||
val = framesc.wxSplashScreenWindow_GetBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSplashScreenWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSplashScreenWindow(wxSplashScreenWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxSplashScreenWindow,_args,_kwargs)
|
||||
self.this = framesc.new_wxSplashScreenWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
@@ -260,20 +269,20 @@ class wxSplashScreenPtr(wxFramePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetSplashStyle(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxSplashScreen_GetSplashStyle,(self,) + _args, _kwargs)
|
||||
val = framesc.wxSplashScreen_GetSplashStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetSplashWindow(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxSplashScreen_GetSplashWindow,(self,) + _args, _kwargs)
|
||||
val = framesc.wxSplashScreen_GetSplashWindow(self, *_args, **_kwargs)
|
||||
if val: val = wxSplashScreenWindowPtr(val)
|
||||
return val
|
||||
def GetTimeout(self, *_args, **_kwargs):
|
||||
val = apply(framesc.wxSplashScreen_GetTimeout,(self,) + _args, _kwargs)
|
||||
val = framesc.wxSplashScreen_GetTimeout(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSplashScreen instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSplashScreen(wxSplashScreenPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(framesc.new_wxSplashScreen,_args,_kwargs)
|
||||
self.this = framesc.new_wxSplashScreen(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
+636
-27
File diff suppressed because it is too large
Load Diff
+396
-310
File diff suppressed because it is too large
Load Diff
+210
-57
@@ -3855,13 +3855,13 @@ static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, Py
|
||||
static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxGridCellAttr * _arg0;
|
||||
bool _arg1;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","allow", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -4212,6 +4212,34 @@ static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGridCellAttr_HasOverflowMode(_swigobj) (_swigobj->HasOverflowMode())
|
||||
static PyObject *_wrap_wxGridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxGridCellAttr * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasOverflowMode",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasOverflowMode. Expected _wxGridCellAttr_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxGridCellAttr_HasOverflowMode(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
|
||||
static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -4355,14 +4383,20 @@ static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, Py
|
||||
PyObject * _resultobj;
|
||||
wxGridCellAttr * _arg0;
|
||||
int * _arg1;
|
||||
int temp;
|
||||
int * _arg2;
|
||||
int temp0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","num_rows","num_cols", NULL };
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellAttr_GetSize",_kwnames,&_argo0,&_argo1,&_argo2))
|
||||
{
|
||||
_arg1 = &temp;
|
||||
}
|
||||
{
|
||||
_arg2 = &temp0;
|
||||
}
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetSize",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -4371,20 +4405,6 @@ static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, Py
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo2) {
|
||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxGridCellAttr_GetSize(_arg0,_arg1,_arg2);
|
||||
@@ -4393,6 +4413,16 @@ static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, Py
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11341,14 +11371,20 @@ static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *
|
||||
PyObject * _resultobj;
|
||||
wxGrid * _arg0;
|
||||
int * _arg1;
|
||||
int temp;
|
||||
int * _arg2;
|
||||
int temp0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","horiz","vert", NULL };
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
|
||||
{
|
||||
_arg1 = &temp;
|
||||
}
|
||||
{
|
||||
_arg2 = &temp0;
|
||||
}
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -11357,20 +11393,6 @@ static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo2) {
|
||||
if (_argo2 == Py_None) { _arg2 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
|
||||
@@ -11379,6 +11401,16 @@ static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11389,14 +11421,20 @@ static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, P
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
int * _arg3;
|
||||
int temp;
|
||||
int * _arg4;
|
||||
int temp0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
|
||||
char *_kwnames[] = { "self","row","col", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
|
||||
{
|
||||
_arg3 = &temp;
|
||||
}
|
||||
{
|
||||
_arg4 = &temp0;
|
||||
}
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -11405,20 +11443,6 @@ static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, P
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo3) {
|
||||
if (_argo3 == Py_None) { _arg3 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo4) {
|
||||
if (_argo4 == Py_None) { _arg4 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
|
||||
@@ -11427,6 +11451,16 @@ static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, P
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg3));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg4));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
@@ -11934,6 +11968,120 @@ static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGrid_SetColMinimalAcceptableWidth(_swigobj,_swigarg0) (_swigobj->SetColMinimalAcceptableWidth(_swigarg0))
|
||||
static PyObject *_wrap_wxGrid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxGrid * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColMinimalAcceptableWidth",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalAcceptableWidth. Expected _wxGrid_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxGrid_SetColMinimalAcceptableWidth(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGrid_SetRowMinimalAcceptableHeight(_swigobj,_swigarg0) (_swigobj->SetRowMinimalAcceptableHeight(_swigarg0))
|
||||
static PyObject *_wrap_wxGrid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxGrid * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowMinimalAcceptableHeight",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxGrid_SetRowMinimalAcceptableHeight(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGrid_GetColMinimalAcceptableWidth(_swigobj) (_swigobj->GetColMinimalAcceptableWidth())
|
||||
static PyObject *_wrap_wxGrid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxGrid * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColMinimalAcceptableWidth",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColMinimalAcceptableWidth. Expected _wxGrid_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxGrid_GetColMinimalAcceptableWidth(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGrid_GetRowMinimalAcceptableHeight(_swigobj) (_swigobj->GetRowMinimalAcceptableHeight())
|
||||
static PyObject *_wrap_wxGrid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxGrid * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowMinimalAcceptableHeight",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxGrid_GetRowMinimalAcceptableHeight(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
|
||||
static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -15034,6 +15182,10 @@ static PyMethodDef gridcMethods[] = {
|
||||
{ "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGrid_AutoSizeColLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -15267,6 +15419,7 @@ static PyMethodDef gridcMethods[] = {
|
||||
{ "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_HasOverflowMode", (PyCFunction) _wrap_wxGridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+456
-441
File diff suppressed because it is too large
Load Diff
@@ -719,7 +719,7 @@ static PyObject *_wrap_wxHelpProvider_ShowHelp(PyObject *self, PyObject *args, P
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxHelpProvider * _arg0;
|
||||
wxWindowBase * _arg1;
|
||||
wxWindow * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","window", NULL };
|
||||
@@ -736,8 +736,8 @@ static PyObject *_wrap_wxHelpProvider_ShowHelp(PyObject *self, PyObject *args, P
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindowBase_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindowBase_p.");
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_ShowHelp. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
@@ -755,7 +755,7 @@ static PyObject *_wrap_wxHelpProvider_ShowHelp(PyObject *self, PyObject *args, P
|
||||
static PyObject *_wrap_wxHelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxHelpProvider * _arg0;
|
||||
wxWindowBase * _arg1;
|
||||
wxWindow * _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
@@ -774,8 +774,8 @@ static PyObject *_wrap_wxHelpProvider_AddHelp(PyObject *self, PyObject *args, Py
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindowBase_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindowBase_p.");
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHelpProvider_AddHelp. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -33,29 +33,29 @@ class wxHelpEventPtr(wxCommandEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetPosition(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_GetPosition,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_GetPosition(self, *_args, **_kwargs)
|
||||
if val: val = wxPointPtr(val)
|
||||
return val
|
||||
def SetPosition(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_SetPosition,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_SetPosition(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLink(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_GetLink,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_GetLink(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetLink(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_SetLink,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_SetLink(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetTarget(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_GetTarget,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_GetTarget(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetTarget(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpEvent_SetTarget,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpEvent_SetTarget(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHelpEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHelpEvent(wxHelpEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(helpc.new_wxHelpEvent,_args,_kwargs)
|
||||
self.this = helpc.new_wxHelpEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -72,16 +72,16 @@ class wxContextHelpPtr(wxObjectPtr):
|
||||
except:
|
||||
pass
|
||||
def BeginContextHelp(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxContextHelp_BeginContextHelp,(self,) + _args, _kwargs)
|
||||
val = helpc.wxContextHelp_BeginContextHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EndContextHelp(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxContextHelp_EndContextHelp,(self,) + _args, _kwargs)
|
||||
val = helpc.wxContextHelp_EndContextHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxContextHelp instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxContextHelp(wxContextHelpPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(helpc.new_wxContextHelp,_args,_kwargs)
|
||||
self.this = helpc.new_wxContextHelp(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -92,10 +92,10 @@ class wxContextHelpButtonPtr(wxBitmapButtonPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxContextHelpButton instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxContextHelpButton(wxContextHelpButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(helpc.new_wxContextHelpButton,_args,_kwargs)
|
||||
self.this = helpc.new_wxContextHelpButton(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
@@ -107,22 +107,22 @@ class wxHelpProviderPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetHelp(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_GetHelp,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpProvider_GetHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ShowHelp(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_ShowHelp,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpProvider_ShowHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddHelp(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_AddHelp,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpProvider_AddHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddHelpById(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_AddHelpById,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpProvider_AddHelpById(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_Destroy,(self,) + _args, _kwargs)
|
||||
val = helpc.wxHelpProvider_Destroy(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHelpProvider instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHelpProvider(wxHelpProviderPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -135,10 +135,10 @@ class wxSimpleHelpProviderPtr(wxHelpProviderPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxSimpleHelpProvider instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSimpleHelpProvider(wxSimpleHelpProviderPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(helpc.new_wxSimpleHelpProvider,_args,_kwargs)
|
||||
self.this = helpc.new_wxSimpleHelpProvider(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -149,12 +149,12 @@ class wxSimpleHelpProvider(wxSimpleHelpProviderPtr):
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
def wxHelpProvider_Set(*_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_Set,_args,_kwargs)
|
||||
val = helpc.wxHelpProvider_Set(*_args,**_kwargs)
|
||||
if val: val = wxHelpProviderPtr(val)
|
||||
return val
|
||||
|
||||
def wxHelpProvider_Get(*_args, **_kwargs):
|
||||
val = apply(helpc.wxHelpProvider_Get,_args,_kwargs)
|
||||
val = helpc.wxHelpProvider_Get(*_args,**_kwargs)
|
||||
if val: val = wxHelpProviderPtr(val)
|
||||
return val
|
||||
|
||||
|
||||
+1773
-39
File diff suppressed because it is too large
Load Diff
+423
-183
File diff suppressed because it is too large
Load Diff
@@ -47,43 +47,43 @@ class wxHtmlBookRecordPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetBookFile(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetBookFile,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetBookFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetTitle(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetTitle,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetTitle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStart(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetStart,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetStart(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBasePath(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetBasePath,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetBasePath(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetContentsRange(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_SetContentsRange,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_SetContentsRange(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetContentsStart(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsStart,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetContentsStart(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetContentsEnd(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsEnd,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetContentsEnd(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetTitle(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_SetTitle,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_SetTitle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetBasePath(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_SetBasePath,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_SetBasePath(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStart(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_SetStart,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_SetStart(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFullPath(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlBookRecord_GetFullPath,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlBookRecord_GetFullPath(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlBookRecord instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlBookRecord(wxHtmlBookRecordPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(htmlhelpc.new_wxHtmlBookRecord,_args,_kwargs)
|
||||
self.this = htmlhelpc.new_wxHtmlBookRecord(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -94,23 +94,23 @@ class wxHtmlContentsItemPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetLevel(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlContentsItem_GetLevel,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlContentsItem_GetLevel(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetID(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlContentsItem_GetID,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlContentsItem_GetID(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetName(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlContentsItem_GetName,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlContentsItem_GetName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPage(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlContentsItem_GetPage,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlContentsItem_GetPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBook(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlContentsItem_GetBook,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlContentsItem_GetBook(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlBookRecordPtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlContentsItem instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlContentsItem(wxHtmlContentsItemPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -123,26 +123,26 @@ class wxHtmlSearchStatusPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Search(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_Search,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_Search(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsActive(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_IsActive,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_IsActive(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetCurIndex(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_GetCurIndex,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_GetCurIndex(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaxIndex(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_GetMaxIndex,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_GetMaxIndex(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetName(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_GetName,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_GetName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetContentsItem(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlSearchStatus_GetContentsItem,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlSearchStatus_GetContentsItem(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlContentsItemPtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlSearchStatus instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlSearchStatus(wxHtmlSearchStatusPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -161,39 +161,39 @@ class wxHtmlHelpDataPtr :
|
||||
except:
|
||||
pass
|
||||
def SetTempDir(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_SetTempDir,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_SetTempDir(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddBook(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_AddBook,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_AddBook(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindPageByName(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_FindPageByName,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_FindPageByName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindPageById(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_FindPageById,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_FindPageById(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBookRecArray(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_GetBookRecArray,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_GetBookRecArray(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetContents(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_GetContents,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_GetContents(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlContentsItemPtr(val)
|
||||
return val
|
||||
def GetContentsCnt(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_GetContentsCnt,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_GetContentsCnt(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetIndex(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_GetIndex,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_GetIndex(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlContentsItemPtr(val)
|
||||
return val
|
||||
def GetIndexCnt(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpData_GetIndexCnt,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpData_GetIndexCnt(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlHelpData instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlHelpData(wxHtmlHelpDataPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(htmlhelpc.new_wxHtmlHelpData,_args,_kwargs)
|
||||
self.this = htmlhelpc.new_wxHtmlHelpData(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -204,41 +204,41 @@ class wxHtmlHelpFramePtr(wxFramePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetData(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_GetData,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_GetData(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlHelpDataPtr(val)
|
||||
return val
|
||||
def SetTitleFormat(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_SetTitleFormat,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_SetTitleFormat(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Display(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_Display,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_Display(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayID(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayID,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_DisplayID(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayContents(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayContents,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_DisplayContents(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayIndex(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayIndex,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_DisplayIndex(self, *_args, **_kwargs)
|
||||
return val
|
||||
def KeywordSearch(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_KeywordSearch,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_KeywordSearch(self, *_args, **_kwargs)
|
||||
return val
|
||||
def UseConfig(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_UseConfig,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_UseConfig(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ReadCustomization(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_ReadCustomization,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_ReadCustomization(self, *_args, **_kwargs)
|
||||
return val
|
||||
def WriteCustomization(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpFrame_WriteCustomization,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpFrame_WriteCustomization(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlHelpFrame instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlHelpFrame(wxHtmlHelpFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs)
|
||||
self.this = htmlhelpc.new_wxHtmlHelpFrame(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
@@ -256,47 +256,47 @@ class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
|
||||
except:
|
||||
pass
|
||||
def SetTitleFormat(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_SetTitleFormat(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetTempDir(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_SetTempDir(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddBook(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_AddBook(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Display(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_Display(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayID(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_DisplayID(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayContents(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_DisplayContents(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DisplayIndex(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_DisplayIndex(self, *_args, **_kwargs)
|
||||
return val
|
||||
def KeywordSearch(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_KeywordSearch(self, *_args, **_kwargs)
|
||||
return val
|
||||
def UseConfig(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_UseConfig(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ReadCustomization(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_ReadCustomization(self, *_args, **_kwargs)
|
||||
return val
|
||||
def WriteCustomization(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_WriteCustomization(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFrame(self, *_args, **_kwargs):
|
||||
val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs)
|
||||
val = htmlhelpc.wxHtmlHelpController_GetFrame(self, *_args, **_kwargs)
|
||||
if val: val = wxHtmlHelpFramePtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxHtmlHelpController instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxHtmlHelpController(wxHtmlHelpControllerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
|
||||
self.this = htmlhelpc.new_wxHtmlHelpController(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
@@ -85,11 +85,11 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
||||
return target;
|
||||
}
|
||||
|
||||
wxImage* wxEmptyImage(int width=0, int height=0) {
|
||||
if (width == 0 && height == 0)
|
||||
return new wxImage;
|
||||
wxImage* wxEmptyImage(int width=0, int height=0, bool clear = TRUE) {
|
||||
if (width > 0 && height > 0)
|
||||
return new wxImage(width, height, clear);
|
||||
else
|
||||
return new wxImage(width, height);
|
||||
return new wxImage;
|
||||
}
|
||||
|
||||
|
||||
@@ -143,15 +143,18 @@ static PyObject *_wrap_wxEmptyImage(PyObject *self, PyObject *args, PyObject *kw
|
||||
wxImage * _result;
|
||||
int _arg0 = (int ) 0;
|
||||
int _arg1 = (int ) 0;
|
||||
char *_kwnames[] = { "width","height", NULL };
|
||||
bool _arg2 = (bool ) TRUE;
|
||||
int tempbool2 = (int) TRUE;
|
||||
char *_kwnames[] = { "width","height","clear", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:wxEmptyImage",_kwnames,&_arg0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:wxEmptyImage",_kwnames,&_arg0,&_arg1,&tempbool2))
|
||||
return NULL;
|
||||
_arg2 = (bool ) tempbool2;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxImage *)wxEmptyImage(_arg0,_arg1);
|
||||
_result = (wxImage *)wxEmptyImage(_arg0,_arg1,_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
@@ -3536,6 +3539,33 @@ static PyObject *_wrap_wxImage_RemoveHandler(PyObject *self, PyObject *args, PyO
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxImage_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxImage_GetImageExtWildcard",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = new wxString (wxImage::GetImageExtWildcard());
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{
|
||||
#if wxUSE_UNICODE
|
||||
_resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
|
||||
#else
|
||||
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
||||
#endif
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static wxBitmap wxImage_ConvertToBitmap(wxImage *self) {
|
||||
wxBitmap bitmap(*self);
|
||||
return bitmap;
|
||||
@@ -3609,6 +3639,7 @@ static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *self, PyObject *arg
|
||||
static PyMethodDef imagecMethods[] = {
|
||||
{ "wxImage_ConvertToMonoBitmap", (PyCFunction) _wrap_wxImage_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetImageExtWildcard", (PyCFunction) _wrap_wxImage_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_RemoveHandler", (PyCFunction) _wrap_wxImage_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_InsertHandler", (PyCFunction) _wrap_wxImage_InsertHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_AddHandler", (PyCFunction) _wrap_wxImage_AddHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+99
-96
@@ -13,13 +13,13 @@ class wxImageHistogramPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def FindFirstUnusedColour(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHistogram_FindFirstUnusedColour,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHistogram_FindFirstUnusedColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxImageHistogram instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxImageHistogram(wxImageHistogramPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxImageHistogram,_args,_kwargs)
|
||||
self.this = imagec.new_wxImageHistogram(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -30,34 +30,34 @@ class wxImageHandlerPtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetName(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_GetName,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_GetName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetExtension(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_GetExtension,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_GetExtension(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetType(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_GetType,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_GetType(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMimeType(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_GetMimeType,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_GetMimeType(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CanRead(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_CanRead,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_CanRead(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetName(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_SetName,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_SetName(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetExtension(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_SetExtension,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_SetExtension(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetType(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_SetType,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_SetType(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMimeType(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImageHandler_SetMimeType,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImageHandler_SetMimeType(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxImageHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxImageHandler(wxImageHandlerPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -70,10 +70,10 @@ class wxPNGHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxPNGHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPNGHandler(wxPNGHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxPNGHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxPNGHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -84,10 +84,10 @@ class wxJPEGHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxJPEGHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxJPEGHandler(wxJPEGHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxJPEGHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxJPEGHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -98,10 +98,10 @@ class wxBMPHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxBMPHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxBMPHandler(wxBMPHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxBMPHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxBMPHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -112,10 +112,10 @@ class wxICOHandlerPtr(wxBMPHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxICOHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxICOHandler(wxICOHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxICOHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxICOHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -126,10 +126,10 @@ class wxCURHandlerPtr(wxICOHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxCURHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCURHandler(wxCURHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxCURHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxCURHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -140,10 +140,10 @@ class wxANIHandlerPtr(wxCURHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxANIHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxANIHandler(wxANIHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxANIHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxANIHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -154,10 +154,10 @@ class wxGIFHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGIFHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxGIFHandler(wxGIFHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxGIFHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxGIFHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -168,10 +168,10 @@ class wxPNMHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxPNMHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPNMHandler(wxPNMHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxPNMHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxPNMHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -182,10 +182,10 @@ class wxPCXHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxPCXHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPCXHandler(wxPCXHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxPCXHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxPCXHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -196,10 +196,10 @@ class wxTIFFHandlerPtr(wxImageHandlerPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxTIFFHandler instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxTIFFHandler(wxTIFFHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxTIFFHandler,_args,_kwargs)
|
||||
self.this = imagec.new_wxTIFFHandler(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -216,183 +216,184 @@ class wxImagePtr(wxObjectPtr):
|
||||
except:
|
||||
pass
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Create,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Destroy,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Destroy(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Scale(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Scale,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Scale(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def ShrinkBy(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ShrinkBy,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_ShrinkBy(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Rescale(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Rescale,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Rescale(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val)
|
||||
return val
|
||||
def SetRGB(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetRGB,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetRGB(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetRed(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetRed,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetRed(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetGreen(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetGreen,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetGreen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBlue(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetBlue,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetBlue(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetAlpha(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetAlpha,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetAlpha(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAlpha(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetAlpha,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetAlpha(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasAlpha(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_HasAlpha,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_HasAlpha(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindFirstUnusedColour(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_FindFirstUnusedColour,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_FindFirstUnusedColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMaskFromImage(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetMaskFromImage,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetMaskFromImage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LoadFile(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_LoadFile,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_LoadFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LoadMimeFile(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_LoadMimeFile,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_LoadMimeFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SaveFile(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SaveFile,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SaveFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SaveMimeFile(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SaveMimeFile,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SaveMimeFile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LoadStream(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_LoadStream,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_LoadStream(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LoadMimeStream(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_LoadMimeStream,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_LoadMimeStream(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Ok(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Ok,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Ok(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetWidth(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetWidth,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetWidth(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetHeight(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetHeight,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetHeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetSubImage(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetSubImage,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetSubImage(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Copy(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Copy,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Copy(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Paste(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Paste,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Paste(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetData(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetData,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetData(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetData,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetDataBuffer(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetDataBuffer,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetDataBuffer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDataBuffer(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetDataBuffer,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetDataBuffer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAlphaData(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetAlphaData,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetAlphaData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetAlphaData(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetAlphaData,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetAlphaData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAlphaBuffer(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetAlphaBuffer,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetAlphaBuffer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetAlphaBuffer(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetAlphaBuffer,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetAlphaBuffer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMaskColour(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetMaskColour,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetMaskColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaskRed(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetMaskRed,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetMaskRed(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaskGreen(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetMaskGreen,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetMaskGreen(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaskBlue(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetMaskBlue,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetMaskBlue(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMask(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetMask,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetMask(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasMask(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_HasMask,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_HasMask(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Rotate(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Rotate,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Rotate(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Rotate90(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Rotate90,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Rotate90(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Mirror(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Mirror,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Mirror(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Replace(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Replace,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_Replace(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ConvertToMono(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToMono,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_ConvertToMono(self, *_args, **_kwargs)
|
||||
if val: val = wxImagePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetOption(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetOption,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetOption(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetOptionInt(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_SetOptionInt,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_SetOptionInt(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetOption(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetOption,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetOption(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetOptionInt(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_GetOptionInt,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_GetOptionInt(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasOption(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_HasOption,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_HasOption(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CountColours(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_CountColours,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_CountColours(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ComputeHistogram(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ComputeHistogram,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_ComputeHistogram(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ConvertToBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToBitmap,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_ConvertToBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def ConvertToMonoBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToMonoBitmap,(self,) + _args, _kwargs)
|
||||
val = imagec.wxImage_ConvertToMonoBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxImage instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
def __nonzero__(self): return self.Ok()
|
||||
class wxImage(wxImagePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(imagec.new_wxImage,_args,_kwargs)
|
||||
self.this = imagec.new_wxImage(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -403,39 +404,39 @@ class wxImage(wxImagePtr):
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
def wxEmptyImage(*_args, **_kwargs):
|
||||
val = apply(imagec.wxEmptyImage,_args,_kwargs)
|
||||
val = imagec.wxEmptyImage(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxImageFromMime(*_args, **_kwargs):
|
||||
val = apply(imagec.wxImageFromMime,_args,_kwargs)
|
||||
val = imagec.wxImageFromMime(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxImageFromBitmap(*_args, **_kwargs):
|
||||
val = apply(imagec.wxImageFromBitmap,_args,_kwargs)
|
||||
val = imagec.wxImageFromBitmap(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxImageFromData(*_args, **_kwargs):
|
||||
val = apply(imagec.wxImageFromData,_args,_kwargs)
|
||||
val = imagec.wxImageFromData(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxImageFromStream(*_args, **_kwargs):
|
||||
val = apply(imagec.wxImageFromStream,_args,_kwargs)
|
||||
val = imagec.wxImageFromStream(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxImageFromStreamMime(*_args, **_kwargs):
|
||||
val = apply(imagec.wxImageFromStreamMime,_args,_kwargs)
|
||||
val = imagec.wxImageFromStreamMime(*_args,**_kwargs)
|
||||
if val: val = wxImagePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
wxInitAllImageHandlers = imagec.wxInitAllImageHandlers
|
||||
|
||||
def wxBitmapFromImage(*_args, **_kwargs):
|
||||
val = apply(imagec.wxBitmapFromImage,_args,_kwargs)
|
||||
val = imagec.wxBitmapFromImage(*_args,**_kwargs)
|
||||
if val: val = wxBitmapPtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
@@ -453,6 +454,8 @@ wxImage_InsertHandler = imagec.wxImage_InsertHandler
|
||||
|
||||
wxImage_RemoveHandler = imagec.wxImage_RemoveHandler
|
||||
|
||||
wxImage_GetImageExtWildcard = imagec.wxImage_GetImageExtWildcard
|
||||
|
||||
|
||||
|
||||
#-------------- VARIABLE WRAPPERS ------------------
|
||||
|
||||
+26
-26
@@ -24,53 +24,53 @@ class wxMDIParentFramePtr(wxFramePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ActivateNext(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_ActivateNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ActivatePrevious(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_ActivatePrevious(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ArrangeIcons(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_ArrangeIcons(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Cascade(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_Cascade(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetActiveChild(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_GetActiveChild(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetClientWindow(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_GetClientWindow(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolBar(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_GetToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetWindowMenu(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_GetWindowMenu(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetWindowMenu(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_SetWindowMenu(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolBar(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_SetToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Tile(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIParentFrame_Tile(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMDIParentFrame instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxMDIParentFrame(wxMDIParentFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
|
||||
self.this = mdic.new_wxMDIParentFrame(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIParentFrame(*_args,**_kwargs):
|
||||
val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
|
||||
val = wxMDIParentFramePtr(mdic.new_wxPreMDIParentFrame(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -81,29 +81,29 @@ class wxMDIChildFramePtr(wxFramePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIChildFrame_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Activate(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIChildFrame_Activate(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Maximize(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIChildFrame_Maximize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Restore(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIChildFrame_Restore(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMDIChildFrame instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxMDIChildFrame(wxMDIChildFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
|
||||
self.this = mdic.new_wxMDIChildFrame(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIChildFrame(*_args,**_kwargs):
|
||||
val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
|
||||
val = wxMDIChildFramePtr(mdic.new_wxPreMDIChildFrame(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -114,20 +114,20 @@ class wxMDIClientWindowPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
|
||||
val = mdic.wxMDIClientWindow_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMDIClientWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxMDIClientWindow(wxMDIClientWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
|
||||
self.this = mdic.new_wxMDIClientWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIClientWindow(*_args,**_kwargs):
|
||||
val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
|
||||
val = wxMDIClientWindowPtr(mdic.new_wxPreMDIClientWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
|
||||
@@ -55,7 +55,6 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
#define SWIG_name "miscc"
|
||||
|
||||
#include "helpers.h"
|
||||
#include <wx/resource.h>
|
||||
#include <wx/tooltip.h>
|
||||
#include <wx/busyinfo.h>
|
||||
#include <wx/geometry.h>
|
||||
@@ -1332,6 +1331,76 @@ static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_IncTo(_swigobj,_swigarg0) (_swigobj->IncTo(_swigarg0))
|
||||
static PyObject *_wrap_wxSize_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _arg0;
|
||||
wxSize * _arg1;
|
||||
wxSize temp;
|
||||
PyObject * _obj0 = 0;
|
||||
wxSize temp0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","sz", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize_IncTo",_kwnames,&_obj0,&_obj1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = &temp;
|
||||
if (! wxSize_helper(_obj0, &_arg0))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
_arg1 = &temp0;
|
||||
if (! wxSize_helper(_obj1, &_arg1))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSize_IncTo(_arg0,*_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_DecTo(_swigobj,_swigarg0) (_swigobj->DecTo(_swigarg0))
|
||||
static PyObject *_wrap_wxSize_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _arg0;
|
||||
wxSize * _arg1;
|
||||
wxSize temp;
|
||||
PyObject * _obj0 = 0;
|
||||
wxSize temp0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","sz", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize_DecTo",_kwnames,&_obj0,&_obj1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = &temp;
|
||||
if (! wxSize_helper(_obj0, &_arg0))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
_arg1 = &temp0;
|
||||
if (! wxSize_helper(_obj1, &_arg1))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSize_DecTo(_arg0,*_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject * wxSize_asTuple(wxSize *self) {
|
||||
wxPyBeginBlockThreads();
|
||||
PyObject* tup = PyTuple_New(2);
|
||||
@@ -5513,6 +5582,8 @@ static PyMethodDef misccMethods[] = {
|
||||
{ "wxSize___ne__", (PyCFunction) _wrap_wxSize___ne__, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize___eq__", (PyCFunction) _wrap_wxSize___eq__, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_asTuple", (PyCFunction) _wrap_wxSize_asTuple, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_DecTo", (PyCFunction) _wrap_wxSize_DecTo, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_IncTo", (PyCFunction) _wrap_wxSize_IncTo, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+118
-112
File diff suppressed because it is too large
Load Diff
+224
-43
@@ -56,7 +56,6 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
|
||||
#include "helpers.h"
|
||||
#include "pyistream.h"
|
||||
#include <wx/resource.h>
|
||||
#include <wx/tooltip.h>
|
||||
#include <wx/caret.h>
|
||||
#include <wx/tipdlg.h>
|
||||
@@ -73,7 +72,7 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
#include <wx/mimetype.h>
|
||||
#include <wx/snglinst.h>
|
||||
#include <wx/effects.h>
|
||||
//#include <wx/spawnbrowser.h>
|
||||
#include <wx/sysopt.h>
|
||||
|
||||
|
||||
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
||||
@@ -2465,6 +2464,206 @@ static PyObject *_wrap_wxSystemSettings_SetScreenType(PyObject *self, PyObject *
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxSystemOptionsTowxObject(void *ptr) {
|
||||
wxSystemOptions *src;
|
||||
wxObject *dest;
|
||||
src = (wxSystemOptions *) ptr;
|
||||
dest = (wxObject *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define new_wxSystemOptions() (new wxSystemOptions())
|
||||
static PyObject *_wrap_new_wxSystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSystemOptions * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSystemOptions",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxSystemOptions *)new_wxSystemOptions();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} if (_result) {
|
||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxSystemOptions_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
} else {
|
||||
Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "name","value", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSystemOptions_SetOption",_kwnames,&_obj0,&_obj1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
_arg1 = wxString_in_helper(_obj1);
|
||||
if (_arg1 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSystemOptions::SetOption(*_arg0,*_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "name","value", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSystemOptions_SetOptionInt",_kwnames,&_obj0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSystemOptions::SetOption(*_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSystemOptions_GetOption",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = new wxString (wxSystemOptions::GetOption(*_arg0));
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{
|
||||
#if wxUSE_UNICODE
|
||||
_resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
|
||||
#else
|
||||
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
||||
#endif
|
||||
}
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSystemOptions_GetOptionInt",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxSystemOptions::GetOptionInt(*_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSystemOptions_HasOption",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = wxString_in_helper(_obj0);
|
||||
if (_arg0 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxSystemOptions::HasOption(*_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxToolTipTowxObject(void *ptr) {
|
||||
wxToolTip *src;
|
||||
wxObject *dest;
|
||||
@@ -4338,6 +4537,7 @@ static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObje
|
||||
#define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyTimer * _arg0;
|
||||
int _arg1 = (int ) -1;
|
||||
int _arg2 = (int ) FALSE;
|
||||
@@ -4356,12 +4556,11 @@ static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxPyTimer_Start(_arg0,_arg1,_arg2);
|
||||
_result = (bool )wxPyTimer_Start(_arg0,_arg1,_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
@@ -8656,9 +8855,9 @@ static PyObject *_wrap_wxFileType_GetExtensions(PyObject *self, PyObject *args,
|
||||
}
|
||||
|
||||
static wxIcon * wxFileType_GetIcon(wxFileType *self) {
|
||||
wxIcon icon;
|
||||
if (self->GetIcon(&icon))
|
||||
return new wxIcon(icon);
|
||||
wxIconLocation loc;
|
||||
if (self->GetIcon(&loc))
|
||||
return new wxIcon(loc);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
@@ -8697,14 +8896,18 @@ static PyObject *_wrap_wxFileType_GetIcon(PyObject *self, PyObject *args, PyObje
|
||||
}
|
||||
|
||||
static PyObject * wxFileType_GetIconInfo(wxFileType *self) {
|
||||
wxIcon icon;
|
||||
wxString iconFile;
|
||||
int iconIndex;
|
||||
if (self->GetIcon(&icon, &iconFile, &iconIndex)) {
|
||||
wxIconLocation loc;
|
||||
if (self->GetIcon(&loc)) {
|
||||
wxString iconFile = loc.GetFileName();
|
||||
int iconIndex = -1;
|
||||
#ifdef __WXMSW__
|
||||
iconIndex = loc.GetIndex();
|
||||
#endif
|
||||
// Make a tuple and put the values in it
|
||||
wxPyBeginBlockThreads();
|
||||
PyObject* tuple = PyTuple_New(3);
|
||||
PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(icon),
|
||||
wxT("wxIcon"), TRUE));
|
||||
PyTuple_SetItem(tuple, 0,
|
||||
wxPyConstructObject(new wxIcon(loc), wxT("wxIcon"), TRUE));
|
||||
#if wxUSE_UNICODE
|
||||
PyTuple_SetItem(tuple, 1, PyUnicode_FromWideChar(iconFile.c_str(), iconFile.Len()));
|
||||
#else
|
||||
@@ -10345,34 +10548,6 @@ static PyObject *_wrap_wxFileHistory_GetCount(PyObject *self, PyObject *args, Py
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
|
||||
static PyObject *_wrap_wxFileHistory_GetNoHistoryFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxFileHistory * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetNoHistoryFiles",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxFileHistory_GetNoHistoryFiles(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxEffectsTowxObject(void *ptr) {
|
||||
wxEffects *src;
|
||||
wxObject *dest;
|
||||
@@ -11104,7 +11279,6 @@ static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxEffects_GetLightShadow", (PyCFunction) _wrap_wxEffects_GetLightShadow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEffects_GetHighlightColour", (PyCFunction) _wrap_wxEffects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxEffects", (PyCFunction) _wrap_new_wxEffects, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileHistory_GetNoHistoryFiles", (PyCFunction) _wrap_wxFileHistory_GetNoHistoryFiles, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileHistory_GetCount", (PyCFunction) _wrap_wxFileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileHistory_GetHistoryFile", (PyCFunction) _wrap_wxFileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11346,6 +11520,12 @@ static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemOptions_HasOption", (PyCFunction) _wrap_wxSystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemOptions_GetOptionInt", (PyCFunction) _wrap_wxSystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemOptions_GetOption", (PyCFunction) _wrap_wxSystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemOptions_SetOptionInt", (PyCFunction) _wrap_wxSystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemOptions_SetOption", (PyCFunction) _wrap_wxSystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxSystemOptions", (PyCFunction) _wrap_new_wxSystemOptions, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemSettings_SetScreenType", (PyCFunction) _wrap_wxSystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemSettings_GetScreenType", (PyCFunction) _wrap_wxSystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSystemSettings_HasFeature", (PyCFunction) _wrap_wxSystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11484,6 +11664,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
||||
{ "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
|
||||
{ "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
|
||||
{ "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
|
||||
{ "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject},
|
||||
{ "_signed_short","_WXTYPE",0},
|
||||
{ "_signed_short","_short",0},
|
||||
{ "_unsigned_char","_byte",0},
|
||||
|
||||
+282
-257
File diff suppressed because it is too large
Load Diff
+3110
-809
File diff suppressed because it is too large
Load Diff
+479
-224
File diff suppressed because it is too large
Load Diff
+350
-1104
File diff suppressed because it is too large
Load Diff
+143
-278
File diff suppressed because it is too large
Load Diff
@@ -2290,6 +2290,35 @@ static PyObject *_wrap_wxToolBarBase_SetToolClientData(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolBarBase_GetToolPos(_swigobj,_swigarg0) (_swigobj->GetToolPos(_swigarg0))
|
||||
static PyObject *_wrap_wxToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxToolBarBase * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","id", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolPos",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolPos. Expected _wxToolBarBase_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxToolBarBase_GetToolPos(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
|
||||
static PyObject *_wrap_wxToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -3061,7 +3090,7 @@ static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *k
|
||||
wxWindowID _arg1;
|
||||
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
||||
long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
|
||||
long _arg4 = (long ) wxNO_BORDER|(wxTB_HORIZONTAL);
|
||||
wxString * _arg5 = (wxString *) &wxPyToolBarNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
wxPoint temp;
|
||||
@@ -3155,7 +3184,7 @@ static PyObject *_wrap_wxToolBar_Create(PyObject *self, PyObject *args, PyObject
|
||||
wxWindowID _arg2;
|
||||
wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg4 = (wxSize *) &wxDefaultSize;
|
||||
long _arg5 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
|
||||
long _arg5 = (long ) wxNO_BORDER|(wxTB_HORIZONTAL);
|
||||
wxString * _arg6 = (wxString *) &wxPyToolBarNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
@@ -3293,7 +3322,7 @@ static PyObject *_wrap_new_wxToolBarSimple(PyObject *self, PyObject *args, PyObj
|
||||
wxWindowID _arg1;
|
||||
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
||||
long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
|
||||
long _arg4 = (long ) wxNO_BORDER|(wxTB_HORIZONTAL);
|
||||
wxString * _arg5 = (wxString *) &wxPyToolBarNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
wxPoint temp;
|
||||
@@ -3387,7 +3416,7 @@ static PyObject *_wrap_wxToolBarSimple_Create(PyObject *self, PyObject *args, Py
|
||||
wxWindowID _arg2;
|
||||
wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg4 = (wxSize *) &wxDefaultSize;
|
||||
long _arg5 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
|
||||
long _arg5 = (long ) wxNO_BORDER|(wxTB_HORIZONTAL);
|
||||
wxString * _arg6 = (wxString *) &wxPyToolBarNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
@@ -3509,6 +3538,7 @@ static PyMethodDef stattoolcMethods[] = {
|
||||
{ "wxToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_GetToolEnabled", (PyCFunction) _wrap_wxToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_GetToolState", (PyCFunction) _wrap_wxToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_GetToolPos", (PyCFunction) _wrap_wxToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_SetToolClientData", (PyCFunction) _wrap_wxToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_GetToolClientData", (PyCFunction) _wrap_wxToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolBarBase_SetToggle", (PyCFunction) _wrap_wxToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -3705,6 +3735,17 @@ SWIGEXPORT(void) initstattoolc() {
|
||||
PyDict_SetItemString(d,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON));
|
||||
PyDict_SetItemString(d,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR));
|
||||
PyDict_SetItemString(d,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL));
|
||||
PyDict_SetItemString(d,"wxTB_HORIZONTAL", PyInt_FromLong((long) wxTB_HORIZONTAL));
|
||||
PyDict_SetItemString(d,"wxTB_VERTICAL", PyInt_FromLong((long) wxTB_VERTICAL));
|
||||
PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
|
||||
PyDict_SetItemString(d,"wxTB_FLAT", PyInt_FromLong((long) wxTB_FLAT));
|
||||
PyDict_SetItemString(d,"wxTB_DOCKABLE", PyInt_FromLong((long) wxTB_DOCKABLE));
|
||||
PyDict_SetItemString(d,"wxTB_NOICONS", PyInt_FromLong((long) wxTB_NOICONS));
|
||||
PyDict_SetItemString(d,"wxTB_TEXT", PyInt_FromLong((long) wxTB_TEXT));
|
||||
PyDict_SetItemString(d,"wxTB_NODIVIDER", PyInt_FromLong((long) wxTB_NODIVIDER));
|
||||
PyDict_SetItemString(d,"wxTB_NOALIGN", PyInt_FromLong((long) wxTB_NOALIGN));
|
||||
PyDict_SetItemString(d,"wxTB_HORZ_LAYOUT", PyInt_FromLong((long) wxTB_HORZ_LAYOUT));
|
||||
PyDict_SetItemString(d,"wxTB_HORZ_TEXT", PyInt_FromLong((long) wxTB_HORZ_TEXT));
|
||||
{
|
||||
int i;
|
||||
for (i = 0; _swig_mapping[i].n1; i++)
|
||||
|
||||
+111
-97
@@ -21,54 +21,54 @@ class wxStatusBarPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_Create,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFieldRect(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_GetFieldRect,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_GetFieldRect(self, *_args, **_kwargs)
|
||||
if val: val = wxRectPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetFieldsCount(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_GetFieldsCount,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_GetFieldsCount(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStatusText(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_GetStatusText,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_GetStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBorderX(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_GetBorderX,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_GetBorderX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBorderY(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_GetBorderY,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_GetBorderY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFieldsCount(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_SetFieldsCount,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_SetFieldsCount(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusText(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_SetStatusText,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_SetStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetStatusWidths(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_SetStatusWidths,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_SetStatusWidths(self, *_args, **_kwargs)
|
||||
return val
|
||||
def PushStatusText(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_PushStatusText,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_PushStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def PopStatusText(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_PopStatusText,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_PopStatusText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMinHeight(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxStatusBar_SetMinHeight,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxStatusBar_SetMinHeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxStatusBar instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxStatusBar(wxStatusBarPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(stattoolc.new_wxStatusBar,_args,_kwargs)
|
||||
self.this = stattoolc.new_wxStatusBar(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreStatusBar(*_args,**_kwargs):
|
||||
val = wxStatusBarPtr(apply(stattoolc.new_wxPreStatusBar,_args,_kwargs))
|
||||
val = wxStatusBarPtr(stattoolc.new_wxPreStatusBar(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -79,100 +79,100 @@ class wxToolBarToolBasePtr(wxObjectPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_Destroy,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_Destroy(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetId(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetId,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetId(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetControl(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetControl,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetControl(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolBar(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetToolBar,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetToolBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsButton(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_IsButton,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_IsButton(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsControl(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_IsControl,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_IsControl(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsSeparator(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_IsSeparator,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_IsSeparator(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetStyle(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetStyle,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetStyle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetKind(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetKind,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetKind(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsEnabled(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_IsEnabled,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_IsEnabled(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsToggled(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_IsToggled,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_IsToggled(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CanBeToggled(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_CanBeToggled,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_CanBeToggled(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetNormalBitmap(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetNormalBitmap,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetNormalBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val)
|
||||
return val
|
||||
def GetDisabledBitmap(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetDisabledBitmap,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetDisabledBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val)
|
||||
return val
|
||||
def GetBitmap(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetLabel(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetLabel,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetLabel(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetShortHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetShortHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetLongHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetLongHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetLongHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Enable(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_Enable,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_Enable(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Toggle(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_Toggle,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_Toggle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToggle(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetToggle,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetToggle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetShortHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetShortHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetShortHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetLongHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetLongHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetLongHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetNormalBitmap(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetNormalBitmap,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetNormalBitmap(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDisabledBitmap(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetDisabledBitmap,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetDisabledBitmap(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetLabel(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetLabel,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetLabel(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Detach(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_Detach,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_Detach(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Attach(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_Attach,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_Attach(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetClientData(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_GetClientData,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_GetClientData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetClientData(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarToolBase_SetClientData,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarToolBase_SetClientData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolBarToolBase instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
|
||||
GetBitmap1 = GetNormalBitmap
|
||||
GetBitmap2 = GetDisabledBitmap
|
||||
@@ -191,131 +191,134 @@ class wxToolBarBasePtr(wxControlPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def DoAddTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_DoAddTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_DoAddTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DoInsertTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_DoInsertTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_DoInsertTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddControl(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_AddControl,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_AddControl(self, *_args, **_kwargs)
|
||||
return val
|
||||
def InsertControl(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_InsertControl,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_InsertControl(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindControl(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_FindControl,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_FindControl(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AddSeparator(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_AddSeparator,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_AddSeparator(self, *_args, **_kwargs)
|
||||
return val
|
||||
def InsertSeparator(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_InsertSeparator,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_InsertSeparator(self, *_args, **_kwargs)
|
||||
return val
|
||||
def RemoveTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_RemoveTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_RemoveTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DeleteToolByPos(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_DeleteToolByPos,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_DeleteToolByPos(self, *_args, **_kwargs)
|
||||
return val
|
||||
def DeleteTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_DeleteTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_DeleteTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ClearTools(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_ClearTools,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_ClearTools(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Realize(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_Realize,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_Realize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def EnableTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_EnableTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_EnableTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ToggleTool(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_ToggleTool,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_ToggleTool(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToggle(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToggle,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToggle(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolClientData(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolClientData,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolClientData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolClientData(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolClientData,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolClientData(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolPos(self, *_args, **_kwargs):
|
||||
val = stattoolc.wxToolBarBase_GetToolPos(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolState(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolState,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolState(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolEnabled(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolEnabled,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolEnabled(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolShortHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolShortHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolShortHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolShortHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolShortHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolShortHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolLongHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolLongHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolLongHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolLongHelp(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolLongHelp,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolLongHelp(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMarginsXY(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetMarginsXY,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetMarginsXY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMargins(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetMargins,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetMargins(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolPacking(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolPacking,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolPacking(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolSeparation(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolSeparation,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolSeparation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolMargins(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolMargins,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolMargins(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetMargins(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetMargins,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetMargins(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetToolPacking(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolPacking,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolPacking(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolSeparation(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolSeparation,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolSeparation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetRows(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetRows,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetRows(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMaxRowsCols(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetMaxRowsCols,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetMaxRowsCols(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaxRows(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetMaxRows,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetMaxRows(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaxCols(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetMaxCols,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetMaxCols(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetToolBitmapSize(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_SetToolBitmapSize,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_SetToolBitmapSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetToolBitmapSize(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolBitmapSize,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolBitmapSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def GetToolSize(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_GetToolSize,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_GetToolSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def FindToolForPosition(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_FindToolForPosition,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_FindToolForPosition(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsVertical(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarBase_IsVertical,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarBase_IsVertical(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolBarBase instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
|
||||
# These match the original Add methods for this class, kept for
|
||||
# backwards compatibility with versions < 2.3.3.
|
||||
@@ -452,23 +455,23 @@ class wxToolBarPtr(wxToolBarBasePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBar_Create,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBar_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindToolForPosition(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBar_FindToolForPosition(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolBar instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxToolBar(wxToolBarPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(stattoolc.new_wxToolBar,_args,_kwargs)
|
||||
self.this = stattoolc.new_wxToolBar(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreToolBar(*_args,**_kwargs):
|
||||
val = wxToolBarPtr(apply(stattoolc.new_wxPreToolBar,_args,_kwargs))
|
||||
val = wxToolBarPtr(stattoolc.new_wxPreToolBar(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -479,23 +482,23 @@ class wxToolBarSimplePtr(wxToolBarBasePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarSimple_Create,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarSimple_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def FindToolForPosition(self, *_args, **_kwargs):
|
||||
val = apply(stattoolc.wxToolBarSimple_FindToolForPosition,(self,) + _args, _kwargs)
|
||||
val = stattoolc.wxToolBarSimple_FindToolForPosition(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolBarSimple instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxToolBarSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxToolBarSimple(wxToolBarSimplePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(stattoolc.new_wxToolBarSimple,_args,_kwargs)
|
||||
self.this = stattoolc.new_wxToolBarSimple(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreToolBarSimple(*_args,**_kwargs):
|
||||
val = wxToolBarSimplePtr(apply(stattoolc.new_wxPreToolBarSimple,_args,_kwargs))
|
||||
val = wxToolBarSimplePtr(stattoolc.new_wxPreToolBarSimple(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -512,3 +515,14 @@ def wxPreToolBarSimple(*_args,**_kwargs):
|
||||
wxTOOL_STYLE_BUTTON = stattoolc.wxTOOL_STYLE_BUTTON
|
||||
wxTOOL_STYLE_SEPARATOR = stattoolc.wxTOOL_STYLE_SEPARATOR
|
||||
wxTOOL_STYLE_CONTROL = stattoolc.wxTOOL_STYLE_CONTROL
|
||||
wxTB_HORIZONTAL = stattoolc.wxTB_HORIZONTAL
|
||||
wxTB_VERTICAL = stattoolc.wxTB_VERTICAL
|
||||
wxTB_3DBUTTONS = stattoolc.wxTB_3DBUTTONS
|
||||
wxTB_FLAT = stattoolc.wxTB_FLAT
|
||||
wxTB_DOCKABLE = stattoolc.wxTB_DOCKABLE
|
||||
wxTB_NOICONS = stattoolc.wxTB_NOICONS
|
||||
wxTB_TEXT = stattoolc.wxTB_TEXT
|
||||
wxTB_NODIVIDER = stattoolc.wxTB_NODIVIDER
|
||||
wxTB_NOALIGN = stattoolc.wxTB_NOALIGN
|
||||
wxTB_HORZ_LAYOUT = stattoolc.wxTB_HORZ_LAYOUT
|
||||
wxTB_HORZ_TEXT = stattoolc.wxTB_HORZ_TEXT
|
||||
|
||||
+20
-20
@@ -6,58 +6,58 @@ class wxInputStreamPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def close(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_close,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_close(self, *_args, **_kwargs)
|
||||
return val
|
||||
def flush(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_flush,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_flush(self, *_args, **_kwargs)
|
||||
return val
|
||||
def eof(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_eof,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_eof(self, *_args, **_kwargs)
|
||||
return val
|
||||
def read(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_read,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_read(self, *_args, **_kwargs)
|
||||
return val
|
||||
def readline(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_readline,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_readline(self, *_args, **_kwargs)
|
||||
return val
|
||||
def readlines(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_readlines,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_readlines(self, *_args, **_kwargs)
|
||||
return val
|
||||
def seek(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_seek,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_seek(self, *_args, **_kwargs)
|
||||
return val
|
||||
def tell(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_tell,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_tell(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Peek(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_Peek,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_Peek(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetC(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_GetC,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_GetC(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LastRead(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_LastRead,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_LastRead(self, *_args, **_kwargs)
|
||||
return val
|
||||
def CanRead(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_CanRead,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_CanRead(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Eof(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_Eof,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_Eof(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Ungetch(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_Ungetch,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_Ungetch(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SeekI(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_SeekI,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_SeekI(self, *_args, **_kwargs)
|
||||
return val
|
||||
def TellI(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxInputStream_TellI,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxInputStream_TellI(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxInputStream instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxInputStream(wxInputStreamPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(streamsc.new_wxInputStream,_args,_kwargs)
|
||||
self.this = streamsc.new_wxInputStream(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -68,10 +68,10 @@ class wxOutputStreamPtr :
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def write(self, *_args, **_kwargs):
|
||||
val = apply(streamsc.wxOutputStream_write,(self,) + _args, _kwargs)
|
||||
val = streamsc.wxOutputStream_write(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxOutputStream instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxOutputStream(wxOutputStreamPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
|
||||
+201
-201
File diff suppressed because it is too large
Load Diff
+267
-33
@@ -1785,34 +1785,6 @@ static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *ar
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
|
||||
static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBorder _result;
|
||||
wxWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxBorder )wxWindow_GetBorder(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject * wxWindow_GetChildren(wxWindow *self) {
|
||||
wxWindowList& list = self->GetChildren();
|
||||
return wxPy_ConvertList(&list, "wxWindow");
|
||||
@@ -5166,15 +5138,16 @@ static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *a
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
|
||||
#define wxWindow_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _arg0;
|
||||
long _arg1 = (long ) wxUPDATE_UI_NONE;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char *_kwnames[] = { "self","flags", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxWindow_UpdateWindowUI",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -5185,7 +5158,7 @@ static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, P
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxWindow_UpdateWindowUI(_arg0);
|
||||
wxWindow_UpdateWindowUI(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
@@ -6463,6 +6436,78 @@ static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *ar
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode) {
|
||||
#if wxUSE_HOTKEY
|
||||
return self->RegisterHotKey(hotkeyId, modifiers, keycode);
|
||||
#else
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
int _arg3;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","hotkeyId","modifiers","keycode", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxWindow_RegisterHotKey",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RegisterHotKey. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxWindow_RegisterHotKey(_arg0,_arg1,_arg2,_arg3);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId) {
|
||||
#if wxUSE_HOTKEY
|
||||
return self->UnregisterHotKey(hotkeyId);
|
||||
#else
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","hotkeyId", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_UnregisterHotKey",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnregisterHotKey. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxWindow_UnregisterHotKey(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -6733,6 +6778,122 @@ static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObj
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_SetThemeEnabled(_swigobj,_swigarg0) (_swigobj->SetThemeEnabled(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","enable", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetThemeEnabled",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetThemeEnabled. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxWindow_SetThemeEnabled(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_GetThemeEnabled(_swigobj) (_swigobj->GetThemeEnabled())
|
||||
static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetThemeEnabled",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetThemeEnabled. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxWindow_GetThemeEnabled(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_GetBorderFlags(_swigobj,_swigarg0) (_swigobj->GetBorder(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBorder _result;
|
||||
wxWindow * _arg0;
|
||||
long _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","flags", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_GetBorderFlags",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorderFlags. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxBorder )wxWindow_GetBorderFlags(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
|
||||
static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBorder _result;
|
||||
wxWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxBorder )wxWindow_GetBorder(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxPanelTowxWindow(void *ptr) {
|
||||
wxPanel *src;
|
||||
wxWindow *dest;
|
||||
@@ -9000,6 +9161,35 @@ static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObj
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxMenu_FindItemByPosition(_swigobj,_swigarg0) (_swigobj->FindItemByPosition(_swigarg0))
|
||||
static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMenuItem * _result;
|
||||
wxMenu * _arg0;
|
||||
size_t _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","position", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemByPosition",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemByPosition. Expected _wxMenu_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxMenuItem *)wxMenu_FindItemByPosition(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{ _resultobj = wxPyMake_wxObject(_result); }
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
|
||||
static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -10731,6 +10921,43 @@ static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObje
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxMenuItem_SetMenu(_swigobj,_swigarg0) (_swigobj->SetMenu(_swigarg0))
|
||||
static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMenuItem * _arg0;
|
||||
wxMenu * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","menu", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetMenu",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMenu. Expected _wxMenuItem_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetMenu. Expected _wxMenu_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxMenuItem_SetMenu(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
|
||||
static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -11919,6 +12146,7 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenuItem_SetMenu", (PyCFunction) _wrap_wxMenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11967,6 +12195,7 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_FindItemByPosition", (PyCFunction) _wrap_wxMenu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -12021,6 +12250,10 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetBorderFlags", (PyCFunction) _wrap_wxWindow_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetThemeEnabled", (PyCFunction) _wrap_wxWindow_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_SetThemeEnabled", (PyCFunction) _wrap_wxWindow_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -12030,6 +12263,8 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_UnregisterHotKey", (PyCFunction) _wrap_wxWindow_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_RegisterHotKey", (PyCFunction) _wrap_wxWindow_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -12171,7 +12406,6 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_FitInside", (PyCFunction) _wrap_wxWindow_FitInside, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+367
-346
File diff suppressed because it is too large
Load Diff
+236
-66
@@ -59,7 +59,7 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
#include <wx/splitter.h>
|
||||
#include <wx/imaglist.h>
|
||||
#ifdef __WXMSW__
|
||||
#include <wx/msw/taskbar.h>
|
||||
#include <wx/taskbar.h>
|
||||
#endif
|
||||
|
||||
// Put some wx default wxChar* values into wxStrings.
|
||||
@@ -700,63 +700,32 @@ static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, P
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxWindow * _result;
|
||||
wxNotebook * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","page", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxNotebook_SetSelection(_arg0,_arg1);
|
||||
_result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebook * _arg0;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","forward", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxNotebook_AdvanceSelection(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
}{ _resultobj = wxPyMake_wxObject(_result); }
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
@@ -1005,7 +974,7 @@ static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, P
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","page","image", NULL };
|
||||
char *_kwnames[] = { "self","page","nImage", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
@@ -1127,6 +1096,80 @@ static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyO
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebook * _arg0;
|
||||
wxSize * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
wxSize temp;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","sz", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetTabSize",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg1 = &temp;
|
||||
if (! wxSize_helper(_obj1, &_arg1))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxNotebook_SetTabSize(_arg0,*_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _result;
|
||||
wxNotebook * _arg0;
|
||||
wxSize * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
wxSize temp;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","sizePage", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_CalcSizeFromPage",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg1 = &temp;
|
||||
if (! wxSize_helper(_obj1, &_arg1))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = new wxSize (wxNotebook_CalcSizeFromPage(_arg0,*_arg1));
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1220,15 +1263,16 @@ static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObje
|
||||
wxNotebook * _arg0;
|
||||
wxWindow * _arg1;
|
||||
wxString * _arg2;
|
||||
int _arg3 = (int ) FALSE;
|
||||
bool _arg3 = (bool ) FALSE;
|
||||
int _arg4 = (int ) -1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","page","text","select","imageId", NULL };
|
||||
int tempbool3 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","page","text","telect","imageId", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&tempbool3,&_arg4))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1249,6 +1293,7 @@ static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObje
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
_arg3 = (bool ) tempbool3;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
|
||||
@@ -1277,7 +1322,7 @@ static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyO
|
||||
PyObject * _argo2 = 0;
|
||||
PyObject * _obj3 = 0;
|
||||
int tempbool4 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","page","page","text","select","imageId", NULL };
|
||||
char *_kwnames[] = { "self","index","page","text","select","imageId", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
|
||||
@@ -1316,58 +1361,104 @@ static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyO
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
#define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
int _result;
|
||||
wxNotebook * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","page", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
|
||||
_result = (int )wxNotebook_SetSelection(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{ _resultobj = wxPyMake_wxObject(_result); }
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void wxNotebook_ResizeChildren(wxNotebook *self) {
|
||||
wxSizeEvent evt(self->GetClientSize());
|
||||
self->GetEventHandler()->ProcessEvent(evt);
|
||||
}
|
||||
static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
#define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxNotebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxNotebook * _arg0;
|
||||
wxPoint * _arg1;
|
||||
long * _arg2;
|
||||
long temp;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
wxPoint temp0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","pt", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
|
||||
{
|
||||
_arg2 = &temp;
|
||||
}
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_HitTest",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg1 = &temp0;
|
||||
if (! wxPoint_helper(_obj1, &_arg1))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxNotebook_ResizeChildren(_arg0);
|
||||
_result = (int )wxNotebook_HitTest(_arg0,*_arg1,_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg2));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebook * _arg0;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","forward", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxNotebook_AdvanceSelection(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
@@ -1617,7 +1708,7 @@ static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyOb
|
||||
wxWindowID _arg1;
|
||||
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
||||
long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
|
||||
long _arg4 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
|
||||
wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
wxPoint temp;
|
||||
@@ -1711,7 +1802,7 @@ static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, P
|
||||
wxWindowID _arg2;
|
||||
wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
|
||||
wxSize * _arg4 = (wxSize *) &wxDefaultSize;
|
||||
long _arg5 = (long ) wxSP_3D|wxCLIP_CHILDREN;
|
||||
long _arg5 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
|
||||
wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
@@ -2444,6 +2535,58 @@ static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxTaskBarIconEventTowxEvent(void *ptr) {
|
||||
wxTaskBarIconEvent *src;
|
||||
wxEvent *dest;
|
||||
src = (wxTaskBarIconEvent *) ptr;
|
||||
dest = (wxEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxTaskBarIconEventTowxObject(void *ptr) {
|
||||
wxTaskBarIconEvent *src;
|
||||
wxObject *dest;
|
||||
src = (wxTaskBarIconEvent *) ptr;
|
||||
dest = (wxObject *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define new_wxTaskBarIconEvent(_swigarg0,_swigarg1) (new wxTaskBarIconEvent(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_new_wxTaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxTaskBarIconEvent * _result;
|
||||
wxEventType _arg0;
|
||||
wxTaskBarIcon * _arg1;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "evtType","tbIcon", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:new_wxTaskBarIconEvent",_kwnames,&_arg0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo1) {
|
||||
if (_argo1 == Py_None) { _arg1 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTaskBarIcon_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxTaskBarIconEvent. Expected _wxTaskBarIcon_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxTaskBarIconEvent *)new_wxTaskBarIconEvent(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} if (_result) {
|
||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIconEvent_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
} else {
|
||||
Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
|
||||
wxTaskBarIcon *src;
|
||||
wxEvtHandler *dest;
|
||||
@@ -4965,6 +5108,7 @@ static PyMethodDef windows2cMethods[] = {
|
||||
{ "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxTaskBarIconEvent", (PyCFunction) _wrap_new_wxTaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -4995,13 +5139,16 @@ static PyMethodDef windows2cMethods[] = {
|
||||
{ "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_HitTest", (PyCFunction) _wrap_wxNotebook_HitTest, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_CalcSizeFromPage", (PyCFunction) _wrap_wxNotebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetTabSize", (PyCFunction) _wrap_wxNotebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetPageSize", (PyCFunction) _wrap_wxNotebook_SetPageSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -5013,8 +5160,7 @@ static PyMethodDef windows2cMethods[] = {
|
||||
{ "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -5033,6 +5179,7 @@ static PyMethodDef windows2cMethods[] = {
|
||||
* This table is used by the pointer type-checker
|
||||
*/
|
||||
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
||||
{ "_wxEvent","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxEvent},
|
||||
{ "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
|
||||
{ "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
|
||||
{ "_signed_long","_long",0},
|
||||
@@ -5091,6 +5238,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
||||
{ "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
|
||||
{ "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
|
||||
{ "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject},
|
||||
{ "_wxObject","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxObject},
|
||||
{ "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
|
||||
{ "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
|
||||
{ "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
|
||||
@@ -5168,6 +5316,16 @@ SWIGEXPORT(void) initwindows2c() {
|
||||
d = PyModule_GetDict(m);
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
|
||||
PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH));
|
||||
PyDict_SetItemString(d,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP));
|
||||
PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
|
||||
PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
|
||||
PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM));
|
||||
PyDict_SetItemString(d,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE));
|
||||
PyDict_SetItemString(d,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE));
|
||||
PyDict_SetItemString(d,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON));
|
||||
PyDict_SetItemString(d,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL));
|
||||
PyDict_SetItemString(d,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
||||
@@ -5177,6 +5335,18 @@ SWIGEXPORT(void) initwindows2c() {
|
||||
PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
|
||||
PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
|
||||
PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
|
||||
PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
|
||||
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_WRAP", PyInt_FromLong((long) wxSP_WRAP));
|
||||
PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
|
||||
PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
|
||||
PyDict_SetItemString(d,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH));
|
||||
PyDict_SetItemString(d,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER));
|
||||
PyDict_SetItemString(d,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH));
|
||||
PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
|
||||
PyDict_SetItemString(d,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE));
|
||||
PyDict_SetItemString(d,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT));
|
||||
PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
|
||||
PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
|
||||
|
||||
+203
-138
File diff suppressed because it is too large
Load Diff
@@ -57,10 +57,8 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
#include "helpers.h"
|
||||
#include <wx/sashwin.h>
|
||||
#include <wx/laywin.h>
|
||||
#ifndef __WXMAC__
|
||||
#include <wx/popupwin.h>
|
||||
#include <wx/tipwin.h>
|
||||
#endif
|
||||
|
||||
|
||||
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
||||
|
||||
@@ -28,29 +28,29 @@ class wxSashEventPtr(wxCommandEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetEdge(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_SetEdge,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_SetEdge(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetEdge(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_GetEdge,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_GetEdge(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDragRect(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_SetDragRect,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_SetDragRect(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetDragRect(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_GetDragRect,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_GetDragRect(self, *_args, **_kwargs)
|
||||
if val: val = wxRectPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetDragStatus(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_SetDragStatus,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_SetDragStatus(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetDragStatus(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashEvent_GetDragStatus,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashEvent_GetDragStatus(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSashEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSashEvent(wxSashEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxSashEvent,_args,_kwargs)
|
||||
self.this = windows3c.new_wxSashEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -61,71 +61,71 @@ class wxSashWindowPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_Create,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetSashVisible(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetSashVisible,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetSashVisible(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetDefaultBorderSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetDefaultBorderSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetDefaultBorderSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetEdgeMargin(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetEdgeMargin,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetEdgeMargin(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetExtraBorderSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetExtraBorderSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetExtraBorderSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaximumSizeX(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetMaximumSizeX,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetMaximumSizeX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMaximumSizeY(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetMaximumSizeY,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetMaximumSizeY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMinimumSizeX(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetMinimumSizeX,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetMinimumSizeX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetMinimumSizeY(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_GetMinimumSizeY,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_GetMinimumSizeY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasBorder(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_HasBorder,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_HasBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDefaultBorderSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetDefaultBorderSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetDefaultBorderSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetExtraBorderSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetExtraBorderSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetExtraBorderSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMaximumSizeX(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetMaximumSizeX,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetMaximumSizeX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMaximumSizeY(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetMaximumSizeY,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetMaximumSizeY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMinimumSizeX(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetMinimumSizeX,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetMinimumSizeX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMinimumSizeY(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetMinimumSizeY,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetMinimumSizeY(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetSashVisible(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetSashVisible,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetSashVisible(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetSashBorder(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashWindow_SetSashBorder,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashWindow_SetSashBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSashWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSashWindow(wxSashWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxSashWindow,_args,_kwargs)
|
||||
self.this = windows3c.new_wxSashWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreSashWindow(*_args,**_kwargs):
|
||||
val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs))
|
||||
val = wxSashWindowPtr(windows3c.new_wxPreSashWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -136,41 +136,41 @@ class wxQueryLayoutInfoEventPtr(wxEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetRequestedLength(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_SetRequestedLength(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetRequestedLength(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_GetRequestedLength(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFlags(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_SetFlags(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFlags(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_GetFlags(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_SetSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_GetSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def SetOrientation(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_SetOrientation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetOrientation(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_GetOrientation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetAlignment(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_SetAlignment(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAlignment(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxQueryLayoutInfoEvent_GetAlignment(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxQueryLayoutInfoEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxQueryLayoutInfoEvent,_args,_kwargs)
|
||||
self.this = windows3c.new_wxQueryLayoutInfoEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -181,23 +181,23 @@ class wxCalculateLayoutEventPtr(wxEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetFlags(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxCalculateLayoutEvent_SetFlags,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxCalculateLayoutEvent_SetFlags(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetFlags(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxCalculateLayoutEvent_GetFlags,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxCalculateLayoutEvent_GetFlags(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetRect(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxCalculateLayoutEvent_SetRect,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxCalculateLayoutEvent_SetRect(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetRect(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxCalculateLayoutEvent_GetRect,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxCalculateLayoutEvent_GetRect(self, *_args, **_kwargs)
|
||||
if val: val = wxRectPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxCalculateLayoutEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxCalculateLayoutEvent,_args,_kwargs)
|
||||
self.this = windows3c.new_wxCalculateLayoutEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -208,35 +208,35 @@ class wxSashLayoutWindowPtr(wxSashWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_Create,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetAlignment(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_GetAlignment,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_GetAlignment(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetOrientation(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_GetOrientation,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_GetOrientation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetAlignment(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_SetAlignment,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_SetAlignment(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetDefaultSize(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_SetDefaultSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetOrientation(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxSashLayoutWindow_SetOrientation,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxSashLayoutWindow_SetOrientation(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSashLayoutWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSashLayoutWindow(wxSashLayoutWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxSashLayoutWindow,_args,_kwargs)
|
||||
self.this = windows3c.new_wxSashLayoutWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreSashLayoutWindow(*_args,**_kwargs):
|
||||
val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs))
|
||||
val = wxSashLayoutWindowPtr(windows3c.new_wxPreSashLayoutWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -253,19 +253,19 @@ class wxLayoutAlgorithmPtr(wxObjectPtr):
|
||||
except:
|
||||
pass
|
||||
def LayoutMDIFrame(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxLayoutAlgorithm_LayoutMDIFrame(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LayoutFrame(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxLayoutAlgorithm_LayoutFrame(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LayoutWindow(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxLayoutAlgorithm_LayoutWindow,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxLayoutAlgorithm_LayoutWindow(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxLayoutAlgorithm instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxLayoutAlgorithm,_args,_kwargs)
|
||||
self.this = windows3c.new_wxLayoutAlgorithm(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -276,23 +276,23 @@ class wxPopupWindowPtr(wxWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxPopupWindow_Create,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxPopupWindow_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Position(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxPopupWindow_Position,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxPopupWindow_Position(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPopupWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPopupWindow(wxPopupWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxPopupWindow,_args,_kwargs)
|
||||
self.this = windows3c.new_wxPopupWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPrePopupWindow(*_args,**_kwargs):
|
||||
val = wxPopupWindowPtr(apply(windows3c.new_wxPrePopupWindow,_args,_kwargs))
|
||||
val = wxPopupWindowPtr(windows3c.new_wxPrePopupWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -303,19 +303,19 @@ class wxPopupTransientWindowPtr(wxPopupWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxPopupTransientWindow__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxPopupTransientWindow__setCallbackInfo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Popup(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxPopupTransientWindow_Popup,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxPopupTransientWindow_Popup(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Dismiss(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxPopupTransientWindow_Dismiss,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxPopupTransientWindow_Dismiss(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPopupTransientWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPopupTransientWindow(wxPopupTransientWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxPopupTransientWindow,_args,_kwargs)
|
||||
self.this = windows3c.new_wxPopupTransientWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setCallbackInfo(self, wxPopupTransientWindow)
|
||||
self._setOORInfo(self)
|
||||
@@ -323,7 +323,7 @@ class wxPopupTransientWindow(wxPopupTransientWindowPtr):
|
||||
|
||||
|
||||
def wxPrePopupTransientWindow(*_args,**_kwargs):
|
||||
val = wxPopupTransientWindowPtr(apply(windows3c.new_wxPrePopupTransientWindow,_args,_kwargs))
|
||||
val = wxPopupTransientWindowPtr(windows3c.new_wxPrePopupTransientWindow(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -334,16 +334,16 @@ class wxTipWindowPtr(wxPopupTransientWindowPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetBoundingRect(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxTipWindow_SetBoundingRect,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxTipWindow_SetBoundingRect(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Close(self, *_args, **_kwargs):
|
||||
val = apply(windows3c.wxTipWindow_Close,(self,) + _args, _kwargs)
|
||||
val = windows3c.wxTipWindow_Close(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxTipWindow instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxTipWindow(wxTipWindowPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windows3c.new_wxTipWindow,_args,_kwargs)
|
||||
self.this = windows3c.new_wxTipWindow(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
@@ -1640,7 +1640,7 @@ static void *SwigwxWizardTowxObject(void *ptr) {
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define new_wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
||||
#define new_wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWizard(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
||||
static PyObject *_wrap_new_wxWizard(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWizard * _result;
|
||||
@@ -1649,16 +1649,17 @@ static PyObject *_wrap_new_wxWizard(PyObject *self, PyObject *args, PyObject *kw
|
||||
wxString * _arg2 = (wxString *) &wxEmptyString;
|
||||
wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
|
||||
wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
|
||||
long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
wxPoint temp;
|
||||
PyObject * _obj4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","bitmap","pos", NULL };
|
||||
char *_kwnames[] = { "parent","id","title","bitmap","pos","style", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOO:new_wxWizard",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOl:new_wxWizard",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4,&_arg5))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1687,7 +1688,7 @@ static PyObject *_wrap_new_wxWizard(PyObject *self, PyObject *args, PyObject *kw
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxWizard *)new_wxWizard(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
|
||||
_result = (wxWizard *)new_wxWizard(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
@@ -1994,6 +1995,63 @@ static PyObject *_wrap_wxWizard_FitToPage(PyObject *self, PyObject *args, PyObje
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWizard_GetPageAreaSizer(_swigobj) (_swigobj->GetPageAreaSizer())
|
||||
static PyObject *_wrap_wxWizard_GetPageAreaSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSizer * _result;
|
||||
wxWizard * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWizard_GetPageAreaSizer",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_GetPageAreaSizer. Expected _wxWizard_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (wxSizer *)wxWizard_GetPageAreaSizer(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
}{ _resultobj = wxPyMake_wxSizer(_result); }
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWizard_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
|
||||
static PyObject *_wrap_wxWizard_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWizard * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","border", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWizard_SetBorder",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWizard_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWizard_SetBorder. Expected _wxWizard_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxWizard_SetBorder(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWizard_IsRunning(_swigobj) (_swigobj->IsRunning())
|
||||
static PyObject *_wrap_wxWizard_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -2141,6 +2199,8 @@ static PyMethodDef wizardcMethods[] = {
|
||||
{ "wxWizard_HasNextPage", (PyCFunction) _wrap_wxWizard_HasNextPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_ShowPage", (PyCFunction) _wrap_wxWizard_ShowPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_IsRunning", (PyCFunction) _wrap_wxWizard_IsRunning, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_SetBorder", (PyCFunction) _wrap_wxWizard_SetBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_GetPageAreaSizer", (PyCFunction) _wrap_wxWizard_GetPageAreaSizer, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_FitToPage", (PyCFunction) _wrap_wxWizard_FitToPage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_GetPageSize", (PyCFunction) _wrap_wxWizard_GetPageSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxWizard_SetPageSize", (PyCFunction) _wrap_wxWizard_SetPageSize, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
+58
-52
@@ -41,16 +41,16 @@ class wxWizardEventPtr(wxNotifyEventPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetDirection(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardEvent_GetDirection,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardEvent_GetDirection(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardEvent_GetPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardEvent_GetPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxWizardEvent instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxWizardEvent(wxWizardEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(wizardc.new_wxWizardEvent,_args,_kwargs)
|
||||
self.this = wizardc.new_wxWizardEvent(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
@@ -61,20 +61,20 @@ class wxWizardPagePtr(wxPanelPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPage_Create,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPage_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPrev(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPage_GetPrev,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPage_GetPrev(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetNext(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPage_GetNext,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPage_GetNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetBitmap(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPage_GetBitmap,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPage_GetBitmap(self, *_args, **_kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxWizardPage instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxWizardPage(wxWizardPagePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -87,73 +87,73 @@ class wxPyWizardPagePtr(wxWizardPagePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_Create,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage__setCallbackInfo(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoMoveWindow(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoMoveWindow,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoMoveWindow(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoSetSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoSetSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoSetSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoSetClientSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoSetClientSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoSetClientSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoSetVirtualSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoSetVirtualSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoSetVirtualSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoGetSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoGetSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoGetSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoGetClientSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoGetClientSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoGetClientSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoGetPosition(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoGetPosition,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoGetPosition(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_DoGetVirtualSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoGetVirtualSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoGetVirtualSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def base_DoGetBestSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_DoGetBestSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_DoGetBestSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def base_InitDialog(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_InitDialog,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_InitDialog(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_TransferDataToWindow(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_TransferDataToWindow,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_TransferDataToWindow(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_TransferDataFromWindow(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_TransferDataFromWindow,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_TransferDataFromWindow(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_Validate(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_Validate,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_Validate(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_AcceptsFocus(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_AcceptsFocus,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_AcceptsFocus(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_GetMaxSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_GetMaxSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_GetMaxSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def base_AddChild(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_AddChild,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_AddChild(self, *_args, **_kwargs)
|
||||
return val
|
||||
def base_RemoveChild(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxPyWizardPage_base_RemoveChild,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxPyWizardPage_base_RemoveChild(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPyWizardPage instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxPyWizardPage(wxPyWizardPagePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(wizardc.new_wxPyWizardPage,_args,_kwargs)
|
||||
self.this = wizardc.new_wxPyWizardPage(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setCallbackInfo(self, wxPyWizardPage)
|
||||
self._setOORInfo(self)
|
||||
@@ -161,7 +161,7 @@ class wxPyWizardPage(wxPyWizardPagePtr):
|
||||
|
||||
|
||||
def wxPrePyWizardPage(*_args,**_kwargs):
|
||||
val = wxPyWizardPagePtr(apply(wizardc.new_wxPrePyWizardPage,_args,_kwargs))
|
||||
val = wxPyWizardPagePtr(wizardc.new_wxPrePyWizardPage(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -172,26 +172,26 @@ class wxWizardPageSimplePtr(wxWizardPagePtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPageSimple_Create,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPageSimple_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetPrev(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPageSimple_SetPrev,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPageSimple_SetPrev(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetNext(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizardPageSimple_SetNext,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizardPageSimple_SetNext(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxWizardPageSimple instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxWizardPageSimple(wxWizardPageSimplePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(wizardc.new_wxWizardPageSimple,_args,_kwargs)
|
||||
self.this = wizardc.new_wxWizardPageSimple(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreWizardPageSimple(*_args,**_kwargs):
|
||||
val = wxWizardPageSimplePtr(apply(wizardc.new_wxPreWizardPageSimple,_args,_kwargs))
|
||||
val = wxWizardPageSimplePtr(wizardc.new_wxPreWizardPageSimple(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
@@ -202,51 +202,57 @@ class wxWizardPtr(wxDialogPtr):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_Create,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_Create(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Init(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_Init,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_Init(self, *_args, **_kwargs)
|
||||
return val
|
||||
def RunWizard(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_RunWizard,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_RunWizard(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetCurrentPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_GetCurrentPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_GetCurrentPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetPageSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_SetPageSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_SetPageSize(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPageSize(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_GetPageSize,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_GetPageSize(self, *_args, **_kwargs)
|
||||
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def FitToPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_FitToPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_FitToPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPageAreaSizer(self, *_args, **_kwargs):
|
||||
val = wizardc.wxWizard_GetPageAreaSizer(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetBorder(self, *_args, **_kwargs):
|
||||
val = wizardc.wxWizard_SetBorder(self, *_args, **_kwargs)
|
||||
return val
|
||||
def IsRunning(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_IsRunning,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_IsRunning(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ShowPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_ShowPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_ShowPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasNextPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_HasNextPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_HasNextPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HasPrevPage(self, *_args, **_kwargs):
|
||||
val = apply(wizardc.wxWizard_HasPrevPage,(self,) + _args, _kwargs)
|
||||
val = wizardc.wxWizard_HasPrevPage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxWizard instance at %s>" % (self.this,)
|
||||
return "<%s.%s instance; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxWizard(wxWizardPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(wizardc.new_wxWizard,_args,_kwargs)
|
||||
self.this = wizardc.new_wxWizard(*_args,**_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreWizard(*_args,**_kwargs):
|
||||
val = wxWizardPtr(apply(wizardc.new_wxPreWizard,_args,_kwargs))
|
||||
val = wxWizardPtr(wizardc.new_wxPreWizard(*_args,**_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
|
||||
+43
-115
@@ -83,6 +83,18 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
||||
return target;
|
||||
}
|
||||
|
||||
#if ! wxUSE_HOTKEY
|
||||
enum wxHotkeyModifier
|
||||
{
|
||||
wxMOD_NONE = 0,
|
||||
wxMOD_ALT = 1,
|
||||
wxMOD_CONTROL = 2,
|
||||
wxMOD_SHIFT = 4,
|
||||
wxMOD_WIN = 8
|
||||
};
|
||||
#define wxEVT_HOTKEY 9999
|
||||
#endif
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -1090,34 +1102,6 @@ static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args, PyObje
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPyApp_GetAuto3D(_swigobj) (_swigobj->GetAuto3D())
|
||||
static PyObject *_wrap_wxPyApp_GetAuto3D(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetAuto3D",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyApp_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetAuto3D. Expected _wxPyApp_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxPyApp_GetAuto3D(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPyApp_GetClassName(_swigobj) (_swigobj->GetClassName())
|
||||
static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1542,37 +1526,6 @@ static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args, PyObje
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPyApp_SetAuto3D(_swigobj,_swigarg0) (_swigobj->SetAuto3D(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetAuto3D(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","auto3D", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_SetAuto3D",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyApp_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetAuto3D. Expected _wxPyApp_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxPyApp_SetAuto3D(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPyApp_SetClassName(_swigobj,_swigarg0) (_swigobj->SetClassName(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -2102,7 +2055,6 @@ static PyMethodDef wxcMethods[] = {
|
||||
{ "wxPyApp_SetPrintMode", (PyCFunction) _wrap_wxPyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetClassName", (PyCFunction) _wrap_wxPyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetAuto3D", (PyCFunction) _wrap_wxPyApp_SetAuto3D, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetAppName", (PyCFunction) _wrap_wxPyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_Yield", (PyCFunction) _wrap_wxPyApp_Yield, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_ProcessIdle", (PyCFunction) _wrap_wxPyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -2117,7 +2069,6 @@ static PyMethodDef wxcMethods[] = {
|
||||
{ "wxPyApp_GetPrintMode", (PyCFunction) _wrap_wxPyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetClassName", (PyCFunction) _wrap_wxPyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetAuto3D", (PyCFunction) _wrap_wxPyApp_GetAuto3D, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetAppName", (PyCFunction) _wrap_wxPyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp__setCallbackInfo", (PyCFunction) _wrap_wxPyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxPyApp", (PyCFunction) _wrap_delete_wxPyApp, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -2303,6 +2254,7 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxFRAME_FLOAT_ON_PARENT", PyInt_FromLong((long) wxFRAME_FLOAT_ON_PARENT));
|
||||
PyDict_SetItemString(d,"wxFRAME_NO_WINDOW_MENU", PyInt_FromLong((long) wxFRAME_NO_WINDOW_MENU));
|
||||
PyDict_SetItemString(d,"wxFRAME_NO_TASKBAR", PyInt_FromLong((long) wxFRAME_NO_TASKBAR));
|
||||
PyDict_SetItemString(d,"wxFRAME_SHAPED", PyInt_FromLong((long) wxFRAME_SHAPED));
|
||||
PyDict_SetItemString(d,"wxED_CLIENT_MARGIN", PyInt_FromLong((long) wxED_CLIENT_MARGIN));
|
||||
PyDict_SetItemString(d,"wxED_BUTTONS_BOTTOM", PyInt_FromLong((long) wxED_BUTTONS_BOTTOM));
|
||||
PyDict_SetItemString(d,"wxED_BUTTONS_RIGHT", PyInt_FromLong((long) wxED_BUTTONS_RIGHT));
|
||||
@@ -2312,15 +2264,6 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxCLIP_SIBLINGS", PyInt_FromLong((long) wxCLIP_SIBLINGS));
|
||||
PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
|
||||
PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
|
||||
PyDict_SetItemString(d,"wxTB_HORIZONTAL", PyInt_FromLong((long) wxTB_HORIZONTAL));
|
||||
PyDict_SetItemString(d,"wxTB_VERTICAL", PyInt_FromLong((long) wxTB_VERTICAL));
|
||||
PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
|
||||
PyDict_SetItemString(d,"wxTB_FLAT", PyInt_FromLong((long) wxTB_FLAT));
|
||||
PyDict_SetItemString(d,"wxTB_DOCKABLE", PyInt_FromLong((long) wxTB_DOCKABLE));
|
||||
PyDict_SetItemString(d,"wxTB_NOICONS", PyInt_FromLong((long) wxTB_NOICONS));
|
||||
PyDict_SetItemString(d,"wxTB_TEXT", PyInt_FromLong((long) wxTB_TEXT));
|
||||
PyDict_SetItemString(d,"wxTB_NODIVIDER", PyInt_FromLong((long) wxTB_NODIVIDER));
|
||||
PyDict_SetItemString(d,"wxTB_NOALIGN", PyInt_FromLong((long) wxTB_NOALIGN));
|
||||
PyDict_SetItemString(d,"wxCOLOURED", PyInt_FromLong((long) wxCOLOURED));
|
||||
PyDict_SetItemString(d,"wxFIXED_LENGTH", PyInt_FromLong((long) wxFIXED_LENGTH));
|
||||
PyDict_SetItemString(d,"wxALIGN_LEFT", PyInt_FromLong((long) wxALIGN_LEFT));
|
||||
@@ -2345,24 +2288,6 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxLB_HSCROLL", PyInt_FromLong((long) wxLB_HSCROLL));
|
||||
PyDict_SetItemString(d,"wxPROCESS_ENTER", PyInt_FromLong((long) wxPROCESS_ENTER));
|
||||
PyDict_SetItemString(d,"wxPASSWORD", PyInt_FromLong((long) wxPASSWORD));
|
||||
PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
|
||||
PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
|
||||
PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
|
||||
PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
|
||||
PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
|
||||
PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
|
||||
PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
|
||||
PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
|
||||
PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
|
||||
PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
|
||||
PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
|
||||
PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
|
||||
PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
|
||||
PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
|
||||
PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
|
||||
PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
|
||||
PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
|
||||
PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
|
||||
PyDict_SetItemString(d,"wxCB_SIMPLE", PyInt_FromLong((long) wxCB_SIMPLE));
|
||||
PyDict_SetItemString(d,"wxCB_DROPDOWN", PyInt_FromLong((long) wxCB_DROPDOWN));
|
||||
PyDict_SetItemString(d,"wxCB_SORT", PyInt_FromLong((long) wxCB_SORT));
|
||||
@@ -2398,18 +2323,6 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxBU_RIGHT", PyInt_FromLong((long) wxBU_RIGHT));
|
||||
PyDict_SetItemString(d,"wxBU_BOTTOM", PyInt_FromLong((long) wxBU_BOTTOM));
|
||||
PyDict_SetItemString(d,"wxBU_EXACTFIT", PyInt_FromLong((long) wxBU_EXACTFIT));
|
||||
PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
|
||||
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_WRAP", PyInt_FromLong((long) wxSP_WRAP));
|
||||
PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
|
||||
PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
|
||||
PyDict_SetItemString(d,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH));
|
||||
PyDict_SetItemString(d,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER));
|
||||
PyDict_SetItemString(d,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH));
|
||||
PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
|
||||
PyDict_SetItemString(d,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE));
|
||||
PyDict_SetItemString(d,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT));
|
||||
PyDict_SetItemString(d,"wxFLOOD_SURFACE", PyInt_FromLong((long) wxFLOOD_SURFACE));
|
||||
PyDict_SetItemString(d,"wxFLOOD_BORDER", PyInt_FromLong((long) wxFLOOD_BORDER));
|
||||
PyDict_SetItemString(d,"wxODDEVEN_RULE", PyInt_FromLong((long) wxODDEVEN_RULE));
|
||||
@@ -2481,6 +2394,18 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxID_FIND", PyInt_FromLong((long) wxID_FIND));
|
||||
PyDict_SetItemString(d,"wxID_DUPLICATE", PyInt_FromLong((long) wxID_DUPLICATE));
|
||||
PyDict_SetItemString(d,"wxID_SELECTALL", PyInt_FromLong((long) wxID_SELECTALL));
|
||||
PyDict_SetItemString(d,"wxID_DELETE", PyInt_FromLong((long) wxID_DELETE));
|
||||
PyDict_SetItemString(d,"wxID_REPLACE", PyInt_FromLong((long) wxID_REPLACE));
|
||||
PyDict_SetItemString(d,"wxID_REPLACE_ALL", PyInt_FromLong((long) wxID_REPLACE_ALL));
|
||||
PyDict_SetItemString(d,"wxID_PROPERTIES", PyInt_FromLong((long) wxID_PROPERTIES));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_DETAILS", PyInt_FromLong((long) wxID_VIEW_DETAILS));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_LARGEICONS", PyInt_FromLong((long) wxID_VIEW_LARGEICONS));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_SMALLICONS", PyInt_FromLong((long) wxID_VIEW_SMALLICONS));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_LIST", PyInt_FromLong((long) wxID_VIEW_LIST));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_SORTDATE", PyInt_FromLong((long) wxID_VIEW_SORTDATE));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_SORTNAME", PyInt_FromLong((long) wxID_VIEW_SORTNAME));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_SORTSIZE", PyInt_FromLong((long) wxID_VIEW_SORTSIZE));
|
||||
PyDict_SetItemString(d,"wxID_VIEW_SORTTYPE", PyInt_FromLong((long) wxID_VIEW_SORTTYPE));
|
||||
PyDict_SetItemString(d,"wxID_FILE1", PyInt_FromLong((long) wxID_FILE1));
|
||||
PyDict_SetItemString(d,"wxID_FILE2", PyInt_FromLong((long) wxID_FILE2));
|
||||
PyDict_SetItemString(d,"wxID_FILE3", PyInt_FromLong((long) wxID_FILE3));
|
||||
@@ -2545,11 +2470,6 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxSHRINK", PyInt_FromLong((long) wxSHRINK));
|
||||
PyDict_SetItemString(d,"wxGROW", PyInt_FromLong((long) wxGROW));
|
||||
PyDict_SetItemString(d,"wxEXPAND", PyInt_FromLong((long) wxEXPAND));
|
||||
PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH));
|
||||
PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
|
||||
PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
|
||||
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_VERTICAL", PyInt_FromLong((long) wxLI_VERTICAL));
|
||||
PyDict_SetItemString(d,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1));
|
||||
@@ -2562,6 +2482,9 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxWS_EX_VALIDATE_RECURSIVELY", PyInt_FromLong((long) wxWS_EX_VALIDATE_RECURSIVELY));
|
||||
PyDict_SetItemString(d,"wxWS_EX_BLOCK_EVENTS", PyInt_FromLong((long) wxWS_EX_BLOCK_EVENTS));
|
||||
PyDict_SetItemString(d,"wxWS_EX_TRANSIENT", PyInt_FromLong((long) wxWS_EX_TRANSIENT));
|
||||
PyDict_SetItemString(d,"wxWS_EX_THEMED_BACKGROUND", PyInt_FromLong((long) wxWS_EX_THEMED_BACKGROUND));
|
||||
PyDict_SetItemString(d,"wxWS_EX_PROCESS_IDLE", PyInt_FromLong((long) wxWS_EX_PROCESS_IDLE));
|
||||
PyDict_SetItemString(d,"wxWS_EX_PROCESS_UI_UPDATES", PyInt_FromLong((long) wxWS_EX_PROCESS_UI_UPDATES));
|
||||
PyDict_SetItemString(d,"wxMM_TEXT", PyInt_FromLong((long) wxMM_TEXT));
|
||||
PyDict_SetItemString(d,"wxMM_LOMETRIC", PyInt_FromLong((long) wxMM_LOMETRIC));
|
||||
PyDict_SetItemString(d,"wxMM_HIMETRIC", PyInt_FromLong((long) wxMM_HIMETRIC));
|
||||
@@ -2897,6 +2820,14 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxHT_WINDOW_HORZ_SCROLLBAR", PyInt_FromLong((long) wxHT_WINDOW_HORZ_SCROLLBAR));
|
||||
PyDict_SetItemString(d,"wxHT_WINDOW_CORNER", PyInt_FromLong((long) wxHT_WINDOW_CORNER));
|
||||
PyDict_SetItemString(d,"wxHT_MAX", PyInt_FromLong((long) wxHT_MAX));
|
||||
PyDict_SetItemString(d,"wxMOD_NONE", PyInt_FromLong((long) wxMOD_NONE));
|
||||
PyDict_SetItemString(d,"wxMOD_ALT", PyInt_FromLong((long) wxMOD_ALT));
|
||||
PyDict_SetItemString(d,"wxMOD_CONTROL", PyInt_FromLong((long) wxMOD_CONTROL));
|
||||
PyDict_SetItemString(d,"wxMOD_SHIFT", PyInt_FromLong((long) wxMOD_SHIFT));
|
||||
PyDict_SetItemString(d,"wxMOD_WIN", PyInt_FromLong((long) wxMOD_WIN));
|
||||
PyDict_SetItemString(d,"wxUPDATE_UI_NONE", PyInt_FromLong((long) wxUPDATE_UI_NONE));
|
||||
PyDict_SetItemString(d,"wxUPDATE_UI_RECURSE", PyInt_FromLong((long) wxUPDATE_UI_RECURSE));
|
||||
PyDict_SetItemString(d,"wxUPDATE_UI_FROMIDLE", PyInt_FromLong((long) wxUPDATE_UI_FROMIDLE));
|
||||
PyDict_SetItemString(d,"wxEVT_NULL", PyInt_FromLong((long) wxEVT_NULL));
|
||||
PyDict_SetItemString(d,"wxEVT_FIRST", PyInt_FromLong((long) wxEVT_FIRST));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_BUTTON_CLICKED));
|
||||
@@ -2954,6 +2885,7 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxEVT_KEY_DOWN", PyInt_FromLong((long) wxEVT_KEY_DOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_KEY_UP", PyInt_FromLong((long) wxEVT_KEY_UP));
|
||||
PyDict_SetItemString(d,"wxEVT_CHAR_HOOK", PyInt_FromLong((long) wxEVT_CHAR_HOOK));
|
||||
PyDict_SetItemString(d,"wxEVT_HOTKEY", PyInt_FromLong((long) wxEVT_HOTKEY));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_TOP", PyInt_FromLong((long) wxEVT_SCROLL_TOP));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_BOTTOM", PyInt_FromLong((long) wxEVT_SCROLL_BOTTOM));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_LINEUP", PyInt_FromLong((long) wxEVT_SCROLL_LINEUP));
|
||||
@@ -2973,6 +2905,8 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong((long) wxEVT_SCROLLWIN_THUMBRELEASE));
|
||||
PyDict_SetItemString(d,"wxEVT_SIZE", PyInt_FromLong((long) wxEVT_SIZE));
|
||||
PyDict_SetItemString(d,"wxEVT_MOVE", PyInt_FromLong((long) wxEVT_MOVE));
|
||||
PyDict_SetItemString(d,"wxEVT_SIZING", PyInt_FromLong((long) wxEVT_SIZING));
|
||||
PyDict_SetItemString(d,"wxEVT_MOVING", PyInt_FromLong((long) wxEVT_MOVING));
|
||||
PyDict_SetItemString(d,"wxEVT_CLOSE_WINDOW", PyInt_FromLong((long) wxEVT_CLOSE_WINDOW));
|
||||
PyDict_SetItemString(d,"wxEVT_END_SESSION", PyInt_FromLong((long) wxEVT_END_SESSION));
|
||||
PyDict_SetItemString(d,"wxEVT_QUERY_END_SESSION", PyInt_FromLong((long) wxEVT_QUERY_END_SESSION));
|
||||
@@ -3017,7 +2951,6 @@ SWIGEXPORT(void) initwxc() {
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_ENTER));
|
||||
PyDict_SetItemString(d,"wxEVT_NAVIGATION_KEY", PyInt_FromLong((long) wxEVT_NAVIGATION_KEY));
|
||||
PyDict_SetItemString(d,"wxEVT_TIMER", PyInt_FromLong((long) wxEVT_TIMER));
|
||||
PyDict_SetItemString(d,"__version__", PyString_FromString("0.0.0"));
|
||||
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
||||
SWIG_addvarlink(SWIG_globals,"wxDefaultPosition",_wrap_wxDefaultPosition_get, _wrap_wxDefaultPosition_set);
|
||||
SWIG_addvarlink(SWIG_globals,"wxDefaultSize",_wrap_wxDefaultSize_get, _wrap_wxDefaultSize_set);
|
||||
@@ -3062,17 +2995,12 @@ SWIGEXPORT(void) initwxc() {
|
||||
initfontsc();
|
||||
|
||||
|
||||
// Although these are redfined in __version__ they need to be here too so
|
||||
// that an assert can be done to ensure that the wxPython and the wxWindows
|
||||
// versions match.
|
||||
PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
|
||||
PyDict_SetItemString(d,"wxMINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
|
||||
PyDict_SetItemString(d,"wxRELEASE_NUMBER", PyInt_FromLong((long)wxRELEASE_NUMBER ));
|
||||
PyDict_SetItemString(d,"wxVERSION_NUMBER", PyInt_FromLong((long)wxVERSION_NUMBER ));
|
||||
#if wxUSE_UNICODE
|
||||
wxString tempStr(wxVERSION_STRING);
|
||||
PyDict_SetItemString(d,"wxVERSION_STRING", PyUnicode_FromWideChar(tempStr.c_str(), tempStr.Len()));
|
||||
#else
|
||||
PyDict_SetItemString(d,"wxVERSION_STRING", PyString_FromString(wxVERSION_STRING));
|
||||
#endif
|
||||
|
||||
PyDict_SetItemString(d,"wxRELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
|
||||
|
||||
{
|
||||
int i;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user