minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,7 +5,7 @@ MODULE = 'wxc'
|
|||||||
SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
|
SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
|
||||||
'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i',
|
'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i',
|
||||||
'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i',
|
'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i',
|
||||||
'image.i', 'printfw.i', 'sizers.i', 'clip_dnd.i', 'grid.i',
|
'image.i', 'printfw.i', 'sizers.i', 'clip_dnd.i', #'grid.i',
|
||||||
]
|
]
|
||||||
|
|
||||||
PYFILES = ['__init__.py', '__version__.py']
|
PYFILES = ['__init__.py', '__version__.py']
|
||||||
|
@@ -82,10 +82,12 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxBitmap GetSubBitmap( const wxRect& rect );
|
wxBitmap GetSubBitmap( const wxRect& rect );
|
||||||
|
#ifdef __WXMSW__
|
||||||
bool CopyFromIcon(const wxIcon& icon);
|
bool CopyFromIcon(const wxIcon& icon);
|
||||||
bool CopyFromCursor(const wxCursor& cursor);
|
bool CopyFromCursor(const wxCursor& cursor);
|
||||||
int GetQuality();
|
int GetQuality();
|
||||||
void SetQuality(int q);
|
void SetQuality(int q);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -13,6 +13,50 @@ from events import *
|
|||||||
|
|
||||||
from controls import *
|
from controls import *
|
||||||
import wx
|
import wx
|
||||||
|
class wxListItemAttrPtr :
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def SetTextColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_SetTextColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_SetBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetFont(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_SetFont,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def HasTextColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_HasTextColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def HasBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_HasBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def HasFont(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_HasFont,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetTextColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_GetTextColour,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxColourPtr(val)
|
||||||
|
return val
|
||||||
|
def GetBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_GetBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxColourPtr(val)
|
||||||
|
return val
|
||||||
|
def GetFont(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItemAttr_GetFont,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxFontPtr(val)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxListItemAttr instance at %s>" % (self.this,)
|
||||||
|
class wxListItemAttr(wxListItemAttrPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(controls2c.new_wxListItemAttr,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxListItemPtr :
|
class wxListItemPtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
@@ -20,6 +64,97 @@ class wxListItemPtr :
|
|||||||
def __del__(self,controls2c=controls2c):
|
def __del__(self,controls2c=controls2c):
|
||||||
if self.thisown == 1 :
|
if self.thisown == 1 :
|
||||||
controls2c.delete_wxListItem(self)
|
controls2c.delete_wxListItem(self)
|
||||||
|
def Clear(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_Clear,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def ClearAttributes(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_ClearAttributes,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetMask(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetMask,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetId(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetId,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetColumn(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetColumn,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetState(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetState,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetStateMask(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetStateMask,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetText(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetText,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetImage(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetImage,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetData(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetWidth(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetWidth,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetAlign(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetAlign,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetTextColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetTextColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetFont(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_SetFont,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetMask(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetMask,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetId(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetId,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetColumn(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetColumn,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetState(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetState,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetText(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetText,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetImage(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetImage,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetData(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetWidth(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetWidth,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetAlign(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetAlign,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetAttributes(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetAttributes,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxListItemAttrPtr(val)
|
||||||
|
return val
|
||||||
|
def HasAttributes(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_HasAttributes,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetTextColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetTextColour,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetBackgroundColour(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetBackgroundColour,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxColourPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetFont(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListItem_GetFont,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxFontPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
def __setattr__(self,name,value):
|
def __setattr__(self,name,value):
|
||||||
if name == "m_mask" :
|
if name == "m_mask" :
|
||||||
controls2c.wxListItem_m_mask_set(self,value)
|
controls2c.wxListItem_m_mask_set(self,value)
|
||||||
@@ -88,6 +223,47 @@ class wxListEventPtr(wxCommandEventPtr):
|
|||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
self.thisown = 0
|
self.thisown = 0
|
||||||
|
def GetCode(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetCode,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetIndex(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetIndex,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetOldIndex(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetOldIndex,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetOldItem(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetOldItem,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetColumn(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetColumn,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def Cancelled(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_Cancelled,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetPoint(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetPoint,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetLabel(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetLabel,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetText(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetText,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetImage(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetImage,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetData(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetData,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetMask(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetMask,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetItem(self, *_args, **_kwargs):
|
||||||
|
val = apply(controls2c.wxListEvent_GetItem,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxListItemPtr(val)
|
||||||
|
return val
|
||||||
def __setattr__(self,name,value):
|
def __setattr__(self,name,value):
|
||||||
if name == "m_code" :
|
if name == "m_code" :
|
||||||
controls2c.wxListEvent_m_code_set(self,value)
|
controls2c.wxListEvent_m_code_set(self,value)
|
||||||
@@ -642,10 +818,6 @@ wxLIST_ALIGN_DEFAULT = controls2c.wxLIST_ALIGN_DEFAULT
|
|||||||
wxLIST_ALIGN_LEFT = controls2c.wxLIST_ALIGN_LEFT
|
wxLIST_ALIGN_LEFT = controls2c.wxLIST_ALIGN_LEFT
|
||||||
wxLIST_ALIGN_TOP = controls2c.wxLIST_ALIGN_TOP
|
wxLIST_ALIGN_TOP = controls2c.wxLIST_ALIGN_TOP
|
||||||
wxLIST_ALIGN_SNAP_TO_GRID = controls2c.wxLIST_ALIGN_SNAP_TO_GRID
|
wxLIST_ALIGN_SNAP_TO_GRID = controls2c.wxLIST_ALIGN_SNAP_TO_GRID
|
||||||
wxLIST_FORMAT_LEFT = controls2c.wxLIST_FORMAT_LEFT
|
|
||||||
wxLIST_FORMAT_RIGHT = controls2c.wxLIST_FORMAT_RIGHT
|
|
||||||
wxLIST_FORMAT_CENTRE = controls2c.wxLIST_FORMAT_CENTRE
|
|
||||||
wxLIST_FORMAT_CENTER = controls2c.wxLIST_FORMAT_CENTER
|
|
||||||
wxLIST_AUTOSIZE = controls2c.wxLIST_AUTOSIZE
|
wxLIST_AUTOSIZE = controls2c.wxLIST_AUTOSIZE
|
||||||
wxLIST_AUTOSIZE_USEHEADER = controls2c.wxLIST_AUTOSIZE_USEHEADER
|
wxLIST_AUTOSIZE_USEHEADER = controls2c.wxLIST_AUTOSIZE_USEHEADER
|
||||||
wxLIST_RECT_BOUNDS = controls2c.wxLIST_RECT_BOUNDS
|
wxLIST_RECT_BOUNDS = controls2c.wxLIST_RECT_BOUNDS
|
||||||
@@ -655,6 +827,10 @@ wxLIST_FIND_UP = controls2c.wxLIST_FIND_UP
|
|||||||
wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN
|
wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN
|
||||||
wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT
|
wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT
|
||||||
wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT
|
wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT
|
||||||
|
wxLIST_FORMAT_LEFT = controls2c.wxLIST_FORMAT_LEFT
|
||||||
|
wxLIST_FORMAT_RIGHT = controls2c.wxLIST_FORMAT_RIGHT
|
||||||
|
wxLIST_FORMAT_CENTRE = controls2c.wxLIST_FORMAT_CENTRE
|
||||||
|
wxLIST_FORMAT_CENTER = controls2c.wxLIST_FORMAT_CENTER
|
||||||
wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
|
wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
|
||||||
wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
|
wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
|
||||||
wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
|
wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
|
||||||
|
@@ -294,6 +294,41 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
|
||||||
|
static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxIcon * _result;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0))
|
||||||
|
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_GetIcon. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
const wxIcon & _result_ref = wxFrame_GetIcon(_arg0);
|
||||||
|
_result = (wxIcon *) &_result_ref;
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
|
#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
|
||||||
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -515,6 +550,60 @@ static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
|
||||||
|
static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
bool _result;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0))
|
||||||
|
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_IsMaximized. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (bool )wxFrame_IsMaximized(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxFrame_Restore(_swigobj) (_swigobj->Restore())
|
||||||
|
static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0))
|
||||||
|
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_Restore. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxFrame_Restore(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
|
#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
|
||||||
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -824,6 +913,121 @@ static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObje
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
bool _arg1 = (bool ) TRUE;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
int tempbool1 = (int) TRUE;
|
||||||
|
char *_kwnames[] = { "self","modal", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1))
|
||||||
|
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_MakeModal. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_arg1 = (bool ) tempbool1;
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxFrame_MakeModal(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
|
||||||
|
static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPoint * _result;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
|
||||||
|
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_GetClientAreaOrigin. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
bool _result;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","id", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_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_Command. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (bool )wxFrame_Command(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
bool _result;
|
||||||
|
wxFrame * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","id", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_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_ProcessCommand. Expected _wxFrame_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxMiniFrameTowxFrame(void *ptr) {
|
static void *SwigwxMiniFrameTowxFrame(void *ptr) {
|
||||||
wxMiniFrame *src;
|
wxMiniFrame *src;
|
||||||
wxFrame *dest;
|
wxFrame *dest;
|
||||||
@@ -918,6 +1122,10 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject
|
|||||||
|
|
||||||
static PyMethodDef framescMethods[] = {
|
static PyMethodDef framescMethods[] = {
|
||||||
{ "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -926,6 +1134,8 @@ static PyMethodDef framescMethods[] = {
|
|||||||
{ "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -933,6 +1143,7 @@ static PyMethodDef framescMethods[] = {
|
|||||||
{ "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -30,6 +30,10 @@ class wxFramePtr(wxWindowPtr):
|
|||||||
val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
|
val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
|
||||||
if val: val = wxToolBarPtr(val)
|
if val: val = wxToolBarPtr(val)
|
||||||
return val
|
return val
|
||||||
|
def GetIcon(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_GetIcon,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxIconPtr(val)
|
||||||
|
return val
|
||||||
def GetMenuBar(self, *_args, **_kwargs):
|
def GetMenuBar(self, *_args, **_kwargs):
|
||||||
val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
|
val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
|
||||||
if val: val = wxMenuBarPtr(val)
|
if val: val = wxMenuBarPtr(val)
|
||||||
@@ -54,6 +58,12 @@ class wxFramePtr(wxWindowPtr):
|
|||||||
def Maximize(self, *_args, **_kwargs):
|
def Maximize(self, *_args, **_kwargs):
|
||||||
val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
|
val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def IsMaximized(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_IsMaximized,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def Restore(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_Restore,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def SetAcceleratorTable(self, *_args, **_kwargs):
|
def SetAcceleratorTable(self, *_args, **_kwargs):
|
||||||
val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
|
val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -78,6 +88,19 @@ class wxFramePtr(wxWindowPtr):
|
|||||||
def SetToolBar(self, *_args, **_kwargs):
|
def SetToolBar(self, *_args, **_kwargs):
|
||||||
val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
|
val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def MakeModal(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_MakeModal,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetClientAreaOrigin(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_GetClientAreaOrigin,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def Command(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def ProcessCommand(self, *_args, **_kwargs):
|
||||||
|
val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxFrame instance at %s>" % (self.this,)
|
return "<C wxFrame instance at %s>" % (self.this,)
|
||||||
class wxFrame(wxFramePtr):
|
class wxFrame(wxFramePtr):
|
||||||
|
@@ -1479,6 +1479,43 @@ static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObjec
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxBitmap * _result;
|
||||||
|
wxBitmap * _arg0;
|
||||||
|
wxRect * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
wxRect temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","rect", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp;
|
||||||
|
if (! wxRect_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
|
#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
|
||||||
static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -7215,6 +7252,7 @@ static PyMethodDef gdicMethods[] = {
|
|||||||
{ "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -47,6 +47,10 @@ class wxBitmapPtr :
|
|||||||
def SetDepth(self, *_args, **_kwargs):
|
def SetDepth(self, *_args, **_kwargs):
|
||||||
val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs)
|
val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def GetSubBitmap(self, *_args, **_kwargs):
|
||||||
|
val = apply(gdic.wxBitmap_GetSubBitmap,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxBitmap instance at %s>" % (self.this,)
|
return "<C wxBitmap instance at %s>" % (self.this,)
|
||||||
class wxBitmap(wxBitmapPtr):
|
class wxBitmap(wxBitmapPtr):
|
||||||
|
@@ -990,11 +990,13 @@ static PyObject *_wrap_wxImage_Scale(PyObject *self, PyObject *args, PyObject *k
|
|||||||
#define wxImage_Rescale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Rescale(_swigarg0,_swigarg1))
|
#define wxImage_Rescale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Rescale(_swigarg0,_swigarg1))
|
||||||
static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
|
wxImage * _result;
|
||||||
wxImage * _arg0;
|
wxImage * _arg0;
|
||||||
int _arg1;
|
int _arg1;
|
||||||
int _arg2;
|
int _arg2;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
char *_kwnames[] = { "self","width","height", NULL };
|
char *_kwnames[] = { "self","width","height", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_Rescale",_kwnames,&_argo0,&_arg1,&_arg2))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_Rescale",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||||
@@ -1008,11 +1010,17 @@ static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args, PyObject
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxImage_Rescale(_arg0,_arg1,_arg2);
|
wxImage & _result_ref = wxImage_Rescale(_arg0,_arg1,_arg2);
|
||||||
|
_result = (wxImage *) &_result_ref;
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
} Py_INCREF(Py_None);
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxImage_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
_resultobj = Py_None;
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1686,7 +1694,121 @@ static PyObject *_wrap_wxImage_HasMask(PyObject *self, PyObject *args, PyObject
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxImage_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||||
|
static PyObject *_wrap_wxImage_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxImage * _result;
|
||||||
|
wxImage * _arg0;
|
||||||
|
double _arg1;
|
||||||
|
wxPoint * _arg2;
|
||||||
|
bool _arg3 = (bool ) TRUE;
|
||||||
|
wxPoint * _arg4 = (wxPoint *) NULL;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
wxPoint temp;
|
||||||
|
PyObject * _obj2 = 0;
|
||||||
|
int tempbool3 = (int) TRUE;
|
||||||
|
wxPoint temp0;
|
||||||
|
PyObject * _obj4 = 0;
|
||||||
|
char *_kwnames[] = { "self","angle","centre_of_rotation","interpolating","offset_after_rotation", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OdO|iO:wxImage_Rotate",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3,&_obj4))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImage_Rotate. Expected _wxImage_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg2 = &temp;
|
||||||
|
if (! wxPoint_helper(_obj2, &_arg2))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
_arg3 = (bool ) tempbool3;
|
||||||
|
if (_obj4)
|
||||||
|
{
|
||||||
|
_arg4 = &temp0;
|
||||||
|
if (! wxPoint_helper(_obj4, &_arg4))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxImage (wxImage_Rotate(_arg0,_arg1,*_arg2,_arg3,_arg4));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxImage_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxImage_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
||||||
|
static PyObject *_wrap_wxImage_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxImage * _arg0;
|
||||||
|
unsigned char _arg1;
|
||||||
|
unsigned char _arg2;
|
||||||
|
unsigned char _arg3;
|
||||||
|
unsigned char _arg4;
|
||||||
|
unsigned char _arg5;
|
||||||
|
unsigned char _arg6;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","r1","g1","b1","r2","g2","b2", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbbbbb:wxImage_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImage_Replace. Expected _wxImage_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxImage_Replace(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxImage_CountColours(_swigobj,_swigarg0) (_swigobj->CountColours(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxImage_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
unsigned long _result;
|
||||||
|
wxImage * _arg0;
|
||||||
|
unsigned long _arg1 = (unsigned long ) (unsigned long)-1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","stopafter", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxImage_CountColours",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImage_CountColours. Expected _wxImage_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (unsigned long )wxImage_CountColours(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("l",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static PyMethodDef imagecMethods[] = {
|
static PyMethodDef imagecMethods[] = {
|
||||||
|
{ "wxImage_CountColours", (PyCFunction) _wrap_wxImage_CountColours, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxImage_Replace", (PyCFunction) _wrap_wxImage_Replace, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxImage_Rotate", (PyCFunction) _wrap_wxImage_Rotate, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxImage_HasMask", (PyCFunction) _wrap_wxImage_HasMask, METH_VARARGS | METH_KEYWORDS },
|
{ "wxImage_HasMask", (PyCFunction) _wrap_wxImage_HasMask, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxImage_SetMask", (PyCFunction) _wrap_wxImage_SetMask, METH_VARARGS | METH_KEYWORDS },
|
{ "wxImage_SetMask", (PyCFunction) _wrap_wxImage_SetMask, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxImage_GetMaskBlue", (PyCFunction) _wrap_wxImage_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
|
{ "wxImage_GetMaskBlue", (PyCFunction) _wrap_wxImage_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -162,6 +162,7 @@ class wxImagePtr :
|
|||||||
return val
|
return val
|
||||||
def Rescale(self, *_args, **_kwargs):
|
def Rescale(self, *_args, **_kwargs):
|
||||||
val = apply(imagec.wxImage_Rescale,(self,) + _args, _kwargs)
|
val = apply(imagec.wxImage_Rescale,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxImagePtr(val)
|
||||||
return val
|
return val
|
||||||
def SetRGB(self, *_args, **_kwargs):
|
def SetRGB(self, *_args, **_kwargs):
|
||||||
val = apply(imagec.wxImage_SetRGB,(self,) + _args, _kwargs)
|
val = apply(imagec.wxImage_SetRGB,(self,) + _args, _kwargs)
|
||||||
@@ -224,6 +225,16 @@ class wxImagePtr :
|
|||||||
def HasMask(self, *_args, **_kwargs):
|
def HasMask(self, *_args, **_kwargs):
|
||||||
val = apply(imagec.wxImage_HasMask,(self,) + _args, _kwargs)
|
val = apply(imagec.wxImage_HasMask,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def Rotate(self, *_args, **_kwargs):
|
||||||
|
val = apply(imagec.wxImage_Rotate,(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)
|
||||||
|
return val
|
||||||
|
def CountColours(self, *_args, **_kwargs):
|
||||||
|
val = apply(imagec.wxImage_CountColours,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxImage instance at %s>" % (self.this,)
|
return "<C wxImage instance at %s>" % (self.this,)
|
||||||
class wxImage(wxImagePtr):
|
class wxImage(wxImagePtr):
|
||||||
|
@@ -223,6 +223,125 @@ static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args,
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
int _arg1;
|
||||||
|
int _arg2;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","width","height", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetRatioWH",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
wxSize * _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
wxSize temp;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","size", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetRatioSize",_kwnames,&_argo0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp;
|
||||||
|
if (! wxSize_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetRatioSize(_arg0,*_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
float _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self","ratio", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Of:wxSizerItem_SetRatio",_kwnames,&_argo0,&_arg1))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxSizerItem_SetRatio(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
|
||||||
|
static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
float _result;
|
||||||
|
wxSizerItem * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetRatio",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (float )wxSizerItem_GetRatio(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("f",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
|
#define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
|
||||||
static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1386,6 +1505,62 @@ static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args,
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
||||||
|
static PyObject *_wrap_wxBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxBoxSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_RecalcSizes",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxBoxSizer_RecalcSizes(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
||||||
|
static PyObject *_wrap_wxBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSize * _result;
|
||||||
|
wxBoxSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_CalcMin",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxSize (wxBoxSizer_CalcMin(_arg0));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
|
static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
|
||||||
wxStaticBoxSizer *src;
|
wxStaticBoxSizer *src;
|
||||||
wxBoxSizer *dest;
|
wxBoxSizer *dest;
|
||||||
@@ -1471,9 +1646,205 @@ static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *a
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
||||||
|
static PyObject *_wrap_wxStaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxStaticBoxSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_RecalcSizes",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxStaticBoxSizer_RecalcSizes(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
||||||
|
static PyObject *_wrap_wxStaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSize * _result;
|
||||||
|
wxStaticBoxSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_CalcMin",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void *SwigwxNotebookSizerTowxSizer(void *ptr) {
|
||||||
|
wxNotebookSizer *src;
|
||||||
|
wxSizer *dest;
|
||||||
|
src = (wxNotebookSizer *) ptr;
|
||||||
|
dest = (wxSizer *) src;
|
||||||
|
return (void *) dest;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
|
||||||
|
static PyObject *_wrap_new_wxNotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxNotebookSizer * _result;
|
||||||
|
wxNotebook * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "nb", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxNotebookSizer",_kwnames,&_argo0))
|
||||||
|
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 new_wxNotebookSizer. Expected _wxNotebook_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
||||||
|
static PyObject *_wrap_wxNotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxNotebookSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_RecalcSizes",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxNotebookSizer_RecalcSizes(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
||||||
|
static PyObject *_wrap_wxNotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxSize * _result;
|
||||||
|
wxNotebookSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_CalcMin",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
|
||||||
|
static PyObject *_wrap_wxNotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxNotebook * _result;
|
||||||
|
wxNotebookSizer * _arg0;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
char *_kwnames[] = { "self", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0))
|
||||||
|
return NULL;
|
||||||
|
if (_argo0) {
|
||||||
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
||||||
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} if (_result) {
|
||||||
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
} else {
|
||||||
|
Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
}
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static PyMethodDef sizerscMethods[] = {
|
static PyMethodDef sizerscMethods[] = {
|
||||||
|
{ "wxNotebookSizer_GetNotebook", (PyCFunction) _wrap_wxNotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxNotebookSizer_CalcMin", (PyCFunction) _wrap_wxNotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxNotebookSizer_RecalcSizes", (PyCFunction) _wrap_wxNotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "new_wxNotebookSizer", (PyCFunction) _wrap_new_wxNotebookSizer, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxStaticBoxSizer_CalcMin", (PyCFunction) _wrap_wxStaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxStaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxStaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
|
{ "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
|
{ "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPySizer__setSelf", (PyCFunction) _wrap_wxPySizer__setSelf, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPySizer__setSelf", (PyCFunction) _wrap_wxPySizer__setSelf, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -1509,6 +1880,10 @@ static PyMethodDef sizerscMethods[] = {
|
|||||||
{ "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -1551,6 +1926,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxMask","_class_wxMask",0},
|
{ "_wxMask","_class_wxMask",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
||||||
|
{ "_class_wxNotebookSizer","_wxNotebookSizer",0},
|
||||||
{ "_byte","_unsigned_char",0},
|
{ "_byte","_unsigned_char",0},
|
||||||
{ "_wxDataObject","_class_wxDataObject",0},
|
{ "_wxDataObject","_class_wxDataObject",0},
|
||||||
{ "_wxStaticBox","_class_wxStaticBox",0},
|
{ "_wxStaticBox","_class_wxStaticBox",0},
|
||||||
@@ -1564,6 +1940,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
|
{ "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
|
||||||
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
||||||
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
||||||
|
{ "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
||||||
|
{ "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
||||||
{ "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
{ "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
||||||
{ "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
{ "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
||||||
{ "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
{ "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
||||||
@@ -1803,6 +2181,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
|
{ "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
|
||||||
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
|
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
|
||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
|
{ "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
||||||
|
{ "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
||||||
{ "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
{ "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
||||||
{ "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
{ "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
||||||
{ "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
{ "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
||||||
@@ -1833,6 +2213,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
||||||
{ "_class_wxPalette","_wxPalette",0},
|
{ "_class_wxPalette","_wxPalette",0},
|
||||||
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
||||||
|
{ "_wxNotebookSizer","_class_wxNotebookSizer",0},
|
||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
||||||
{ "_wxWindow","_class_wxWindow",0},
|
{ "_wxWindow","_class_wxWindow",0},
|
||||||
|
@@ -29,6 +29,18 @@ class wxSizerItemPtr :
|
|||||||
def SetDimension(self, *_args, **_kwargs):
|
def SetDimension(self, *_args, **_kwargs):
|
||||||
val = apply(sizersc.wxSizerItem_SetDimension,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxSizerItem_SetDimension,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetRatioWH(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetRatioWH,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetRatioSize(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetRatioSize,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def SetRatio(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_SetRatio,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def GetRatio(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxSizerItem_GetRatio,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def IsWindow(self, *_args, **_kwargs):
|
def IsWindow(self, *_args, **_kwargs):
|
||||||
val = apply(sizersc.wxSizerItem_IsWindow,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxSizerItem_IsWindow,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -205,6 +217,13 @@ class wxBoxSizerPtr(wxSizerPtr):
|
|||||||
def GetOrientation(self, *_args, **_kwargs):
|
def GetOrientation(self, *_args, **_kwargs):
|
||||||
val = apply(sizersc.wxBoxSizer_GetOrientation,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxBoxSizer_GetOrientation,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def RecalcSizes(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxBoxSizer_RecalcSizes,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def CalcMin(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxBoxSizer_CalcMin,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxBoxSizer instance at %s>" % (self.this,)
|
return "<C wxBoxSizer instance at %s>" % (self.this,)
|
||||||
class wxBoxSizer(wxBoxSizerPtr):
|
class wxBoxSizer(wxBoxSizerPtr):
|
||||||
@@ -223,6 +242,13 @@ class wxStaticBoxSizerPtr(wxBoxSizerPtr):
|
|||||||
val = apply(sizersc.wxStaticBoxSizer_GetStaticBox,(self,) + _args, _kwargs)
|
val = apply(sizersc.wxStaticBoxSizer_GetStaticBox,(self,) + _args, _kwargs)
|
||||||
if val: val = wxStaticBoxPtr(val)
|
if val: val = wxStaticBoxPtr(val)
|
||||||
return val
|
return val
|
||||||
|
def RecalcSizes(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxStaticBoxSizer_RecalcSizes,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def CalcMin(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxStaticBoxSizer_CalcMin,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxStaticBoxSizer instance at %s>" % (self.this,)
|
return "<C wxStaticBoxSizer instance at %s>" % (self.this,)
|
||||||
class wxStaticBoxSizer(wxStaticBoxSizerPtr):
|
class wxStaticBoxSizer(wxStaticBoxSizerPtr):
|
||||||
@@ -233,6 +259,31 @@ class wxStaticBoxSizer(wxStaticBoxSizerPtr):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class wxNotebookSizerPtr(wxSizerPtr):
|
||||||
|
def __init__(self,this):
|
||||||
|
self.this = this
|
||||||
|
self.thisown = 0
|
||||||
|
def RecalcSizes(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxNotebookSizer_RecalcSizes,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
|
def CalcMin(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxNotebookSizer_CalcMin,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxSizePtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def GetNotebook(self, *_args, **_kwargs):
|
||||||
|
val = apply(sizersc.wxNotebookSizer_GetNotebook,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxNotebookPtr(val)
|
||||||
|
return val
|
||||||
|
def __repr__(self):
|
||||||
|
return "<C wxNotebookSizer instance at %s>" % (self.this,)
|
||||||
|
class wxNotebookSizer(wxNotebookSizerPtr):
|
||||||
|
def __init__(self,*_args,**_kwargs):
|
||||||
|
self.this = apply(sizersc.new_wxNotebookSizer,_args,_kwargs)
|
||||||
|
self.thisown = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------- FUNCTION WRAPPERS ------------------
|
#-------------- FUNCTION WRAPPERS ------------------
|
||||||
|
@@ -1126,6 +1126,33 @@ static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxPyApp_GetUseBestVisual(_swigobj) (_swigobj->GetUseBestVisual())
|
||||||
|
static PyObject *_wrap_wxPyApp_GetUseBestVisual(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_GetUseBestVisual",_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_GetUseBestVisual. Expected _wxPyApp_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (bool )wxPyApp_GetUseBestVisual(_arg0);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxPyApp_Dispatch(_swigobj) (_swigobj->Dispatch())
|
#define wxPyApp_Dispatch(_swigobj) (_swigobj->Dispatch())
|
||||||
static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1502,6 +1529,36 @@ static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define wxPyApp_SetUseBestVisual(_swigobj,_swigarg0) (_swigobj->SetUseBestVisual(_swigarg0))
|
||||||
|
static PyObject *_wrap_wxPyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPyApp * _arg0;
|
||||||
|
bool _arg1;
|
||||||
|
PyObject * _argo0 = 0;
|
||||||
|
int tempbool1;
|
||||||
|
char *_kwnames[] = { "self","flag", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_SetUseBestVisual",_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_SetUseBestVisual. Expected _wxPyApp_p.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_arg1 = (bool ) tempbool1;
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
wxPyApp_SetUseBestVisual(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} Py_INCREF(Py_None);
|
||||||
|
_resultobj = Py_None;
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxPyApp_GetStdIcon(_swigobj,_swigarg0) (_swigobj->GetStdIcon(_swigarg0))
|
#define wxPyApp_GetStdIcon(_swigobj,_swigarg0) (_swigobj->GetStdIcon(_swigarg0))
|
||||||
static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1534,6 +1591,7 @@ static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args, PyObje
|
|||||||
|
|
||||||
static PyMethodDef wxcMethods[] = {
|
static PyMethodDef wxcMethods[] = {
|
||||||
{ "wxPyApp_GetStdIcon", (PyCFunction) _wrap_wxPyApp_GetStdIcon, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_GetStdIcon", (PyCFunction) _wrap_wxPyApp_GetStdIcon, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPyApp_SetUseBestVisual", (PyCFunction) _wrap_wxPyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_SetVendorName", (PyCFunction) _wrap_wxPyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_SetVendorName", (PyCFunction) _wrap_wxPyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_SetTopWindow", (PyCFunction) _wrap_wxPyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_SetTopWindow", (PyCFunction) _wrap_wxPyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_SetPrintMode", (PyCFunction) _wrap_wxPyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_SetPrintMode", (PyCFunction) _wrap_wxPyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -1546,6 +1604,7 @@ static PyMethodDef wxcMethods[] = {
|
|||||||
{ "wxPyApp_Initialized", (PyCFunction) _wrap_wxPyApp_Initialized, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_Initialized", (PyCFunction) _wrap_wxPyApp_Initialized, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_ExitMainLoop", (PyCFunction) _wrap_wxPyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_ExitMainLoop", (PyCFunction) _wrap_wxPyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_Dispatch", (PyCFunction) _wrap_wxPyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_Dispatch", (PyCFunction) _wrap_wxPyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPyApp_GetUseBestVisual", (PyCFunction) _wrap_wxPyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_GetVendorName", (PyCFunction) _wrap_wxPyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_GetVendorName", (PyCFunction) _wrap_wxPyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_GetTopWindow", (PyCFunction) _wrap_wxPyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_GetTopWindow", (PyCFunction) _wrap_wxPyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPyApp_GetPrintMode", (PyCFunction) _wrap_wxPyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPyApp_GetPrintMode", (PyCFunction) _wrap_wxPyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -1620,6 +1679,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPrinter","_class_wxPrinter",0},
|
{ "_wxPrinter","_class_wxPrinter",0},
|
||||||
{ "_wxPen","_class_wxPen",0},
|
{ "_wxPen","_class_wxPen",0},
|
||||||
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
||||||
|
{ "_class_wxNotebookSizer","_wxNotebookSizer",0},
|
||||||
{ "_byte","_unsigned_char",0},
|
{ "_byte","_unsigned_char",0},
|
||||||
{ "_wxDataObject","_class_wxDataObject",0},
|
{ "_wxDataObject","_class_wxDataObject",0},
|
||||||
{ "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
|
{ "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
|
||||||
@@ -1794,6 +1854,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_signed_int","_wxWindowID",0},
|
{ "_signed_int","_wxWindowID",0},
|
||||||
{ "_signed_int","_int",0},
|
{ "_signed_int","_int",0},
|
||||||
{ "_class_wxTextCtrl","_wxTextCtrl",0},
|
{ "_class_wxTextCtrl","_wxTextCtrl",0},
|
||||||
|
{ "_class_wxListItemAttr","_wxListItemAttr",0},
|
||||||
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
|
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
|
||||||
{ "_class_wxTextDataObject","_wxTextDataObject",0},
|
{ "_class_wxTextDataObject","_wxTextDataObject",0},
|
||||||
{ "_wxMenu","_class_wxMenu",0},
|
{ "_wxMenu","_class_wxMenu",0},
|
||||||
@@ -1986,6 +2047,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxColourDialog","_wxColourDialog",0},
|
{ "_class_wxColourDialog","_wxColourDialog",0},
|
||||||
{ "_class_wxPrintData","_wxPrintData",0},
|
{ "_class_wxPrintData","_wxPrintData",0},
|
||||||
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
||||||
|
{ "_wxListItemAttr","_class_wxListItemAttr",0},
|
||||||
{ "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
|
{ "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
|
||||||
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
||||||
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
||||||
@@ -1994,6 +2056,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxPalette","_wxPalette",0},
|
{ "_class_wxPalette","_wxPalette",0},
|
||||||
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
||||||
{ "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
|
{ "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
|
||||||
|
{ "_wxNotebookSizer","_class_wxNotebookSizer",0},
|
||||||
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
||||||
{ "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
|
{ "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
|
||||||
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
||||||
@@ -2095,6 +2158,7 @@ SWIGEXPORT(void) initwxc() {
|
|||||||
PyDict_SetItemString(d,"wxPROCESS_ENTER", PyInt_FromLong((long) wxPROCESS_ENTER));
|
PyDict_SetItemString(d,"wxPROCESS_ENTER", PyInt_FromLong((long) wxPROCESS_ENTER));
|
||||||
PyDict_SetItemString(d,"wxPASSWORD", PyInt_FromLong((long) wxPASSWORD));
|
PyDict_SetItemString(d,"wxPASSWORD", PyInt_FromLong((long) wxPASSWORD));
|
||||||
PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
|
PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
|
||||||
|
PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
|
||||||
PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
|
PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
|
||||||
PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
|
PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
|
||||||
PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
|
PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
|
||||||
|
@@ -60,6 +60,9 @@ class wxPyAppPtr(wxEvtHandlerPtr):
|
|||||||
def GetVendorName(self, *_args, **_kwargs):
|
def GetVendorName(self, *_args, **_kwargs):
|
||||||
val = apply(wxc.wxPyApp_GetVendorName,(self,) + _args, _kwargs)
|
val = apply(wxc.wxPyApp_GetVendorName,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def GetUseBestVisual(self, *_args, **_kwargs):
|
||||||
|
val = apply(wxc.wxPyApp_GetUseBestVisual,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def Dispatch(self, *_args, **_kwargs):
|
def Dispatch(self, *_args, **_kwargs):
|
||||||
val = apply(wxc.wxPyApp_Dispatch,(self,) + _args, _kwargs)
|
val = apply(wxc.wxPyApp_Dispatch,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
@@ -96,6 +99,9 @@ class wxPyAppPtr(wxEvtHandlerPtr):
|
|||||||
def SetVendorName(self, *_args, **_kwargs):
|
def SetVendorName(self, *_args, **_kwargs):
|
||||||
val = apply(wxc.wxPyApp_SetVendorName,(self,) + _args, _kwargs)
|
val = apply(wxc.wxPyApp_SetVendorName,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def SetUseBestVisual(self, *_args, **_kwargs):
|
||||||
|
val = apply(wxc.wxPyApp_SetUseBestVisual,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def GetStdIcon(self, *_args, **_kwargs):
|
def GetStdIcon(self, *_args, **_kwargs):
|
||||||
val = apply(wxc.wxPyApp_GetStdIcon,(self,) + _args, _kwargs)
|
val = apply(wxc.wxPyApp_GetStdIcon,(self,) + _args, _kwargs)
|
||||||
if val: val = wxIconPtr(val) ; val.thisown = 1
|
if val: val = wxIconPtr(val) ; val.thisown = 1
|
||||||
@@ -219,6 +225,7 @@ wxLB_HSCROLL = wxc.wxLB_HSCROLL
|
|||||||
wxPROCESS_ENTER = wxc.wxPROCESS_ENTER
|
wxPROCESS_ENTER = wxc.wxPROCESS_ENTER
|
||||||
wxPASSWORD = wxc.wxPASSWORD
|
wxPASSWORD = wxc.wxPASSWORD
|
||||||
wxTE_PROCESS_ENTER = wxc.wxTE_PROCESS_ENTER
|
wxTE_PROCESS_ENTER = wxc.wxTE_PROCESS_ENTER
|
||||||
|
wxTE_PROCESS_TAB = wxc.wxTE_PROCESS_TAB
|
||||||
wxTE_PASSWORD = wxc.wxTE_PASSWORD
|
wxTE_PASSWORD = wxc.wxTE_PASSWORD
|
||||||
wxTE_READONLY = wxc.wxTE_READONLY
|
wxTE_READONLY = wxc.wxTE_READONLY
|
||||||
wxTE_RICH = wxc.wxTE_RICH
|
wxTE_RICH = wxc.wxTE_RICH
|
||||||
|
Reference in New Issue
Block a user