Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e328812d74
commit
f460c29d59
@ -1,2 +1,5 @@
|
||||
.m*
|
||||
config.dmc
|
||||
makefile.dmc
|
||||
vc_mswhdll
|
||||
vc_mswuhdll
|
||||
|
@ -39,19 +39,19 @@
|
||||
// wxDataViewCtrl globals
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxDataViewModel;
|
||||
class WXDLLIMPEXP_CORE wxDataViewListModel;
|
||||
class WXDLLIMPEXP_CORE wxDataViewCtrl;
|
||||
class WXDLLIMPEXP_CORE wxDataViewColumn;
|
||||
class WXDLLIMPEXP_CORE wxDataViewCell;
|
||||
class WXDLLIMPEXP_ADV wxDataViewModel;
|
||||
class WXDLLIMPEXP_ADV wxDataViewListModel;
|
||||
class WXDLLIMPEXP_ADV wxDataViewCtrl;
|
||||
class WXDLLIMPEXP_ADV wxDataViewColumn;
|
||||
class WXDLLIMPEXP_ADV wxDataViewCell;
|
||||
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxDataViewCtrlNameStr[];
|
||||
extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxDataViewCtrlNameStr[];
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// wxDataViewModel
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewModel: public wxObject
|
||||
class WXDLLIMPEXP_ADV wxDataViewModel: public wxObject
|
||||
{
|
||||
public:
|
||||
wxDataViewModel() { }
|
||||
@ -66,7 +66,7 @@ protected:
|
||||
// ---------------------------------------------------------
|
||||
|
||||
|
||||
class wxDataViewListModelNotifier: public wxObject
|
||||
class WXDLLIMPEXP_ADV wxDataViewListModelNotifier: public wxObject
|
||||
{
|
||||
public:
|
||||
wxDataViewListModelNotifier() { }
|
||||
@ -92,7 +92,7 @@ private:
|
||||
// wxDataViewListModel
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewViewingColumn: public wxObject
|
||||
class WXDLLIMPEXP_ADV wxDataViewViewingColumn: public wxObject
|
||||
{
|
||||
public:
|
||||
wxDataViewViewingColumn( wxDataViewColumn *view_column, size_t model_column )
|
||||
@ -105,7 +105,7 @@ public:
|
||||
size_t m_modelColumn;
|
||||
};
|
||||
|
||||
class wxDataViewListModel: public wxDataViewModel
|
||||
class WXDLLIMPEXP_ADV wxDataViewListModel: public wxDataViewModel
|
||||
{
|
||||
public:
|
||||
wxDataViewListModel();
|
||||
@ -151,9 +151,9 @@ protected:
|
||||
typedef int (wxCALLBACK *wxDataViewListModelCompare)
|
||||
(size_t row1, size_t row2, size_t col, wxDataViewListModel* model );
|
||||
|
||||
WX_DEFINE_SORTED_EXPORTED_ARRAY_SIZE_T(size_t, wxDataViewSortedIndexArray );
|
||||
WX_DEFINE_SORTED_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxDataViewSortedIndexArray, WXDLLIMPEXP_ADV);
|
||||
|
||||
class wxDataViewSortedListModel: public wxDataViewListModel
|
||||
class WXDLLIMPEXP_ADV wxDataViewSortedListModel: public wxDataViewListModel
|
||||
{
|
||||
public:
|
||||
wxDataViewSortedListModel( wxDataViewListModel *child );
|
||||
@ -210,7 +210,7 @@ enum wxDataViewCellRenderState
|
||||
wxDATAVIEW_CELL_FOCUSED = 8
|
||||
};
|
||||
|
||||
class wxDataViewCellBase: public wxObject
|
||||
class WXDLLIMPEXP_ADV wxDataViewCellBase: public wxObject
|
||||
{
|
||||
public:
|
||||
wxDataViewCellBase( const wxString &varianttype, wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
|
||||
@ -252,7 +252,7 @@ enum wxDataViewColumnSizing
|
||||
wxDATAVIEW_COL_WIDTH_GROW
|
||||
};
|
||||
|
||||
class wxDataViewColumnBase: public wxObject
|
||||
class WXDLLIMPEXP_ADV wxDataViewColumnBase: public wxObject
|
||||
{
|
||||
public:
|
||||
wxDataViewColumnBase( const wxString &title, wxDataViewCell *cell, size_t model_column,
|
||||
@ -293,7 +293,7 @@ protected:
|
||||
#define wxDV_SINGLE 0x0000 // for convenience
|
||||
#define wxDV_MULTIPLE 0x0020 // can select multiple items
|
||||
|
||||
class wxDataViewCtrlBase: public wxControl
|
||||
class WXDLLIMPEXP_ADV wxDataViewCtrlBase: public wxControl
|
||||
{
|
||||
public:
|
||||
wxDataViewCtrlBase();
|
||||
|
@ -20,15 +20,15 @@
|
||||
// classes
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxDataViewCtrl;
|
||||
class WXDLLIMPEXP_CORE wxDataViewMainWindow;
|
||||
class WXDLLIMPEXP_CORE wxDataViewHeaderWindow;
|
||||
class WXDLLIMPEXP_ADV wxDataViewCtrl;
|
||||
class WXDLLIMPEXP_ADV wxDataViewMainWindow;
|
||||
class WXDLLIMPEXP_ADV wxDataViewHeaderWindow;
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// wxDataViewCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewCell: public wxDataViewCellBase
|
||||
class WXDLLIMPEXP_ADV wxDataViewCell: public wxDataViewCellBase
|
||||
{
|
||||
public:
|
||||
wxDataViewCell( const wxString &varianttype, wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
|
||||
@ -76,7 +76,7 @@ protected:
|
||||
// wxDataViewCustomCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewCustomCell: public wxDataViewCell
|
||||
class WXDLLIMPEXP_ADV wxDataViewCustomCell: public wxDataViewCell
|
||||
{
|
||||
public:
|
||||
wxDataViewCustomCell( const wxString &varianttype = wxT("string"),
|
||||
@ -90,7 +90,7 @@ protected:
|
||||
// wxDataViewTextCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewTextCell: public wxDataViewCustomCell
|
||||
class WXDLLIMPEXP_ADV wxDataViewTextCell: public wxDataViewCustomCell
|
||||
{
|
||||
public:
|
||||
wxDataViewTextCell( const wxString &varianttype = wxT("string"),
|
||||
@ -113,7 +113,7 @@ protected:
|
||||
// wxDataViewToggleCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewToggleCell: public wxDataViewCustomCell
|
||||
class WXDLLIMPEXP_ADV wxDataViewToggleCell: public wxDataViewCustomCell
|
||||
{
|
||||
public:
|
||||
wxDataViewToggleCell( const wxString &varianttype = wxT("bool"),
|
||||
@ -137,7 +137,7 @@ protected:
|
||||
// wxDataViewProgressCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewProgressCell: public wxDataViewCustomCell
|
||||
class WXDLLIMPEXP_ADV wxDataViewProgressCell: public wxDataViewCustomCell
|
||||
{
|
||||
public:
|
||||
wxDataViewProgressCell( const wxString &label = wxEmptyString,
|
||||
@ -162,7 +162,7 @@ protected:
|
||||
// wxDataViewDateCell
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class wxDataViewDateCell: public wxDataViewCustomCell
|
||||
class WXDLLIMPEXP_ADV wxDataViewDateCell: public wxDataViewCustomCell
|
||||
{
|
||||
public:
|
||||
wxDataViewDateCell( const wxString &varianttype = wxT("datetime"),
|
||||
@ -186,7 +186,7 @@ protected:
|
||||
// wxDataViewColumn
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxDataViewColumn: public wxDataViewColumnBase
|
||||
class WXDLLIMPEXP_ADV wxDataViewColumn: public wxDataViewColumnBase
|
||||
{
|
||||
public:
|
||||
wxDataViewColumn( const wxString &title, wxDataViewCell *cell, size_t model_column,
|
||||
@ -213,7 +213,7 @@ protected:
|
||||
// wxDataViewCtrl
|
||||
// ---------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxDataViewCtrl: public wxDataViewCtrlBase,
|
||||
class WXDLLIMPEXP_ADV wxDataViewCtrl: public wxDataViewCtrlBase,
|
||||
public wxScrollHelperNative
|
||||
{
|
||||
public:
|
||||
|
@ -516,9 +516,9 @@ void MyFrame::InitWithIconItems(bool withText, bool sameIcon)
|
||||
m_listCtrl->SetImageList(m_imageListNormal, wxIMAGE_LIST_NORMAL);
|
||||
m_listCtrl->SetImageList(m_imageListSmall, wxIMAGE_LIST_SMALL);
|
||||
|
||||
for ( int i = 0; i < NUM_ICONS; i++ )
|
||||
for ( int i = 0; i < NUM_ICONS*20; i++ )
|
||||
{
|
||||
int image = sameIcon ? 0 : i;
|
||||
int image = i % (NUM_ICONS);
|
||||
|
||||
if ( withText )
|
||||
{
|
||||
|
@ -1,8 +1,9 @@
|
||||
build
|
||||
minimalM5.mcp
|
||||
minimalM*Data
|
||||
*Classic?Debug*
|
||||
*Classic?Release*
|
||||
*Carbon?Debug*
|
||||
*Carbon?Release*
|
||||
*Classic?Debug*
|
||||
*Classic?Release*
|
||||
build
|
||||
minimal
|
||||
minimalM*Data
|
||||
minimalM5.mcp
|
||||
vc_mswhdll
|
||||
|
@ -679,6 +679,10 @@ void MyFrame::OnToolLeftClick(wxCommandEvent& event)
|
||||
{
|
||||
DoDeletePrint();
|
||||
}
|
||||
if (event.GetId() == IDM_TOOLBAR_OTHER_1)
|
||||
{
|
||||
m_tbar->Realize();
|
||||
}
|
||||
}
|
||||
|
||||
void MyFrame::OnToolRightClick(wxCommandEvent& event)
|
||||
|
@ -7957,23 +7957,24 @@ void wxGrid::ShowCellEditControl()
|
||||
|
||||
editor->SetCellAttr( attr );
|
||||
editor->SetSize( rect );
|
||||
editor->GetControl()->Move(
|
||||
editor->GetControl()->GetPosition().x + nXMove,
|
||||
editor->GetControl()->GetPosition().y );
|
||||
if (nXMove != 0)
|
||||
editor->GetControl()->Move(
|
||||
editor->GetControl()->GetPosition().x + nXMove,
|
||||
editor->GetControl()->GetPosition().y );
|
||||
editor->Show( true, attr );
|
||||
|
||||
int colXPos = 0;
|
||||
for (int i = 0; i < m_currentCellCoords.GetCol(); i++)
|
||||
{
|
||||
colXPos += GetColSize( i );
|
||||
}
|
||||
int colXPos = GetColLeft(col);
|
||||
// for (int i = 0; i < m_currentCellCoords.GetCol(); i++)
|
||||
// {
|
||||
// colXPos += GetColSize( i );
|
||||
// }
|
||||
|
||||
int xUnit = 1, yUnit = 1;
|
||||
GetScrollPixelsPerUnit( &xUnit, &yUnit );
|
||||
if (m_currentCellCoords.GetCol() != 0)
|
||||
Scroll( colXPos / xUnit - 1, GetScrollPos( wxVERTICAL ) );
|
||||
else
|
||||
Scroll( colXPos / xUnit, GetScrollPos( wxVERTICAL ) );
|
||||
// int xUnit = 1, yUnit = 1;
|
||||
// GetScrollPixelsPerUnit( &xUnit, &yUnit );
|
||||
// if (col != 0)
|
||||
// Scroll( colXPos / xUnit - 1, GetScrollPos( wxVERTICAL ) );
|
||||
// else
|
||||
// Scroll( colXPos / xUnit, GetScrollPos( wxVERTICAL ) );
|
||||
|
||||
// recalc dimensions in case we need to
|
||||
// expand the scrolled window to account for editor
|
||||
|
@ -178,7 +178,7 @@ CONTRIBS_INC = "" # A dir to add as an -I flag when compiling the contribs
|
||||
|
||||
# Some MSW build settings
|
||||
|
||||
MONOLITHIC = 1 # The core wxWidgets lib can be built as either a
|
||||
MONOLITHIC = 0 # The core wxWidgets lib can be built as either a
|
||||
# single monolithic DLL or as a collection of DLLs.
|
||||
# This flag controls which set of libs will be used
|
||||
# on Windows. (For other platforms it is automatic
|
||||
|
@ -354,7 +354,7 @@ ActiveXWindow_swigregister(ActiveXWindow)
|
||||
|
||||
def RegisterActiveXEvent(*args, **kwargs):
|
||||
"""
|
||||
RegisterActiveXEvent(String eventName) -> wxEventType
|
||||
RegisterActiveXEvent(String eventName) -> EventType
|
||||
|
||||
Creates a standard wx event ID for the given eventName.
|
||||
"""
|
||||
|
@ -5664,7 +5664,7 @@ SWIGINTERN PyObject *_wrap_IEHtmlWindowBase_LoadStream(PyObject *SWIGUNUSEDPARM(
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_is", NULL
|
||||
(char *) "self",(char *) "is", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
|
@ -357,6 +357,8 @@ class TreeListColumnInfo(_core.Object):
|
||||
bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
|
||||
"""
|
||||
_gizmos.TreeListColumnInfo_swiginit(self,_gizmos.new_TreeListColumnInfo(*args, **kwargs))
|
||||
__swig_destroy__ = _gizmos.delete_TreeListColumnInfo
|
||||
__del__ = lambda self : None;
|
||||
def GetShown(*args, **kwargs):
|
||||
"""GetShown(self) -> bool"""
|
||||
return _gizmos.TreeListColumnInfo_GetShown(*args, **kwargs)
|
||||
|
@ -5137,6 +5137,34 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
delete arg1;
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
|
||||
@ -7482,7 +7510,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(sel
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
void *argp3 = 0 ;
|
||||
int res3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -7505,11 +7532,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(sel
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxPyTreeItemData * >(argp3);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
|
||||
@ -8817,7 +8843,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self),
|
||||
int ecode3 = 0 ;
|
||||
int val4 ;
|
||||
int ecode4 = 0 ;
|
||||
void *argp5 = 0 ;
|
||||
int res5 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -8854,11 +8879,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self),
|
||||
arg4 = static_cast< int >(val4);
|
||||
}
|
||||
if (obj4) {
|
||||
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg5 = reinterpret_cast< wxPyTreeItemData * >(argp5);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@ -8899,7 +8923,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(sel
|
||||
int ecode4 = 0 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
void *argp6 = 0 ;
|
||||
int res6 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -8945,11 +8968,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(sel
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
if (obj5) {
|
||||
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res6)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg6 = reinterpret_cast< wxPyTreeItemData * >(argp6);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@ -8993,7 +9015,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self
|
||||
int ecode5 = 0 ;
|
||||
int val6 ;
|
||||
int ecode6 = 0 ;
|
||||
void *argp7 = 0 ;
|
||||
int res7 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -9048,11 +9069,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self
|
||||
arg6 = static_cast< int >(val6);
|
||||
}
|
||||
if (obj6) {
|
||||
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res7)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg7 = reinterpret_cast< wxPyTreeItemData * >(argp7);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@ -9096,7 +9116,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPAR
|
||||
int ecode5 = 0 ;
|
||||
int val6 ;
|
||||
int ecode6 = 0 ;
|
||||
void *argp7 = 0 ;
|
||||
int res7 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -9148,11 +9167,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPAR
|
||||
arg6 = static_cast< int >(val6);
|
||||
}
|
||||
if (obj6) {
|
||||
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res7)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg7 = reinterpret_cast< wxPyTreeItemData * >(argp7);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@ -9193,7 +9211,6 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self
|
||||
int ecode4 = 0 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
void *argp6 = 0 ;
|
||||
int res6 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@ -9239,11 +9256,10 @@ SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
if (obj5) {
|
||||
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
|
||||
res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res6)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
|
||||
}
|
||||
arg6 = reinterpret_cast< wxPyTreeItemData * >(argp6);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@ -10868,6 +10884,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
|
||||
{ (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
|
||||
{ (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
|
||||
{ (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
|
||||
|
@ -64,7 +64,7 @@ class GLContext(_core.Object):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
|
||||
__init__(self, bool isRGB, GLCanvas win, Palette palette=wxNullPalette,
|
||||
GLContext other=None) -> GLContext
|
||||
"""
|
||||
_glcanvas.GLContext_swiginit(self,_glcanvas.new_GLContext(*args, **kwargs))
|
||||
@ -115,7 +115,7 @@ class GLCanvas(_core.Window):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=GLCanvasNameStr,
|
||||
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
|
||||
int attribList=None, Palette palette=wxNullPalette) -> GLCanvas
|
||||
"""
|
||||
_glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
@ -141,15 +141,15 @@ class GLCanvas(_core.Window):
|
||||
return _glcanvas.GLCanvas_SetupPixelFormat(*args, **kwargs)
|
||||
|
||||
def SetupPalette(*args, **kwargs):
|
||||
"""SetupPalette(self, wxPalette palette)"""
|
||||
"""SetupPalette(self, Palette palette)"""
|
||||
return _glcanvas.GLCanvas_SetupPalette(*args, **kwargs)
|
||||
|
||||
def CreateDefaultPalette(*args, **kwargs):
|
||||
"""CreateDefaultPalette(self) -> wxPalette"""
|
||||
"""CreateDefaultPalette(self) -> Palette"""
|
||||
return _glcanvas.GLCanvas_CreateDefaultPalette(*args, **kwargs)
|
||||
|
||||
def GetPalette(*args, **kwargs):
|
||||
"""GetPalette(self) -> wxPalette"""
|
||||
"""GetPalette(self) -> Palette"""
|
||||
return _glcanvas.GLCanvas_GetPalette(*args, **kwargs)
|
||||
|
||||
GLCanvas_swigregister = _glcanvas.GLCanvas_swigregister
|
||||
@ -160,7 +160,7 @@ def GLCanvasWithContext(*args, **kwargs):
|
||||
GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize,
|
||||
long style=0, String name=GLCanvasNameStr,
|
||||
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
|
||||
int attribList=None, Palette palette=wxNullPalette) -> GLCanvas
|
||||
"""
|
||||
val = _glcanvas.new_GLCanvasWithContext(*args, **kwargs)
|
||||
val._setOORInfo(val)
|
||||
|
@ -5176,7 +5176,7 @@ class StyledTextEvent(_core.CommandEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=0, int id=0) -> StyledTextEvent"""
|
||||
"""__init__(self, EventType commandType=0, int id=0) -> StyledTextEvent"""
|
||||
_stc.StyledTextEvent_swiginit(self,_stc.new_StyledTextEvent(*args, **kwargs))
|
||||
__swig_destroy__ = _stc.delete_StyledTextEvent
|
||||
__del__ = lambda self : None;
|
||||
|
@ -18906,7 +18906,7 @@ SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(se
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
|
@ -50,10 +50,13 @@ demo item so you can learn how to use the classes yourself.</p>
|
||||
if "gtk2" in wx.PlatformInfo:
|
||||
html.SetStandardFonts()
|
||||
py_version = sys.version.split()[0]
|
||||
html.SetPage(self.text % (wx.VERSION_STRING,
|
||||
", ".join(wx.PlatformInfo[1:]),
|
||||
py_version
|
||||
))
|
||||
txt = self.text % (wx.VERSION_STRING,
|
||||
", ".join(wx.PlatformInfo[1:]),
|
||||
py_version
|
||||
)
|
||||
html.SetPage(txt)
|
||||
f = file('c:/tmp/about.html', 'w')
|
||||
f.write(txt)
|
||||
btn = html.FindWindowById(wx.ID_OK)
|
||||
ir = html.GetInternalRepresentation()
|
||||
html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1535,6 +1535,11 @@ class TextAttr(object):
|
||||
"""Init(self)"""
|
||||
return _controls_.TextAttr_Init(*args, **kwargs)
|
||||
|
||||
def Merge(*args, **kwargs):
|
||||
"""Merge(TextAttr base, TextAttr overlay) -> TextAttr"""
|
||||
return _controls_.TextAttr_Merge(*args, **kwargs)
|
||||
|
||||
Merge = staticmethod(Merge)
|
||||
def SetTextColour(*args, **kwargs):
|
||||
"""SetTextColour(self, Colour colText)"""
|
||||
return _controls_.TextAttr_SetTextColour(*args, **kwargs)
|
||||
@ -1648,6 +1653,10 @@ TextAttr_swigregister = _controls_.TextAttr_swigregister
|
||||
TextAttr_swigregister(TextAttr)
|
||||
TextCtrlNameStr = cvar.TextCtrlNameStr
|
||||
|
||||
def TextAttr_Merge(*args, **kwargs):
|
||||
"""TextAttr_Merge(TextAttr base, TextAttr overlay) -> TextAttr"""
|
||||
return _controls_.TextAttr_Merge(*args, **kwargs)
|
||||
|
||||
def TextAttr_Combine(*args, **kwargs):
|
||||
"""TextAttr_Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr"""
|
||||
return _controls_.TextAttr_Combine(*args, **kwargs)
|
||||
@ -2274,7 +2283,7 @@ class SpinEvent(_core.NotifyEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent"""
|
||||
"""__init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent"""
|
||||
_controls_.SpinEvent_swiginit(self,_controls_.new_SpinEvent(*args, **kwargs))
|
||||
def GetPosition(*args, **kwargs):
|
||||
"""GetPosition(self) -> int"""
|
||||
@ -2385,6 +2394,14 @@ class RadioBox(_core.Control):
|
||||
"""GetNextItem(self, int item, int dir, long style) -> int"""
|
||||
return _controls_.RadioBox_GetNextItem(*args, **kwargs)
|
||||
|
||||
def SetItemToolTip(*args, **kwargs):
|
||||
"""SetItemToolTip(self, unsigned int item, String text)"""
|
||||
return _controls_.RadioBox_SetItemToolTip(*args, **kwargs)
|
||||
|
||||
def GetItemToolTip(*args, **kwargs):
|
||||
"""GetItemToolTip(self, unsigned int item) -> ToolTip"""
|
||||
return _controls_.RadioBox_GetItemToolTip(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
@ -2928,7 +2945,7 @@ class BookCtrlBaseEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> BookCtrlBaseEvent
|
||||
"""
|
||||
_controls_.BookCtrlBaseEvent_swiginit(self,_controls_.new_BookCtrlBaseEvent(*args, **kwargs))
|
||||
@ -3062,7 +3079,7 @@ class NotebookEvent(BookCtrlBaseEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> NotebookEvent
|
||||
"""
|
||||
_controls_.NotebookEvent_swiginit(self,_controls_.new_NotebookEvent(*args, **kwargs))
|
||||
@ -3150,7 +3167,7 @@ class ListbookEvent(BookCtrlBaseEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> ListbookEvent
|
||||
"""
|
||||
_controls_.ListbookEvent_swiginit(self,_controls_.new_ListbookEvent(*args, **kwargs))
|
||||
@ -3205,7 +3222,7 @@ class ChoicebookEvent(BookCtrlBaseEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> ChoicebookEvent
|
||||
"""
|
||||
_controls_.ChoicebookEvent_swiginit(self,_controls_.new_ChoicebookEvent(*args, **kwargs))
|
||||
@ -3285,7 +3302,7 @@ class TreebookEvent(BookCtrlBaseEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,
|
||||
int nOldSel=NOT_FOUND) -> TreebookEvent
|
||||
"""
|
||||
_controls_.TreebookEvent_swiginit(self,_controls_.new_TreebookEvent(*args, **kwargs))
|
||||
@ -3345,7 +3362,7 @@ class ToolbookEvent(BookCtrlBaseEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,
|
||||
int nOldSel=NOT_FOUND) -> ToolbookEvent
|
||||
"""
|
||||
_controls_.ToolbookEvent_swiginit(self,_controls_.new_ToolbookEvent(*args, **kwargs))
|
||||
@ -4169,7 +4186,7 @@ class ListEvent(_core.NotifyEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent"""
|
||||
"""__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> ListEvent"""
|
||||
_controls_.ListEvent_swiginit(self,_controls_.new_ListEvent(*args, **kwargs))
|
||||
m_code = property(_controls_.ListEvent_m_code_get, _controls_.ListEvent_m_code_set)
|
||||
m_oldItemIndex = property(_controls_.ListEvent_m_oldItemIndex_get, _controls_.ListEvent_m_oldItemIndex_set)
|
||||
@ -4914,7 +4931,7 @@ class TreeEvent(_core.NotifyEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent"""
|
||||
"""__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> TreeEvent"""
|
||||
_controls_.TreeEvent_swiginit(self,_controls_.new_TreeEvent(*args, **kwargs))
|
||||
def GetItem(*args, **kwargs):
|
||||
"""GetItem(self) -> TreeItemId"""
|
||||
@ -5734,7 +5751,7 @@ class HelpEvent(_core.CommandEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent"""
|
||||
"""__init__(self, EventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent"""
|
||||
_controls_.HelpEvent_swiginit(self,_controls_.new_HelpEvent(*args, **kwargs))
|
||||
def GetPosition(*args, **kwargs):
|
||||
"""
|
||||
|
@ -6063,7 +6063,7 @@ SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -6123,7 +6123,7 @@ SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -6412,7 +6412,7 @@ SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObj
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -10543,6 +10543,51 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextAttr *arg1 = 0 ;
|
||||
wxTextAttr *arg2 = 0 ;
|
||||
wxTextAttr result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "base",(char *) "overlay", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
|
||||
}
|
||||
if (!argp1) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTextAttr * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
|
||||
}
|
||||
if (!argp2) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxTextAttr * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
|
||||
@ -11881,7 +11926,7 @@ SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyO
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -12277,7 +12322,7 @@ SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -12337,7 +12382,7 @@ SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObj
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -13553,7 +13598,7 @@ SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -13784,7 +13829,7 @@ SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), Py
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -15629,7 +15674,7 @@ SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -16840,6 +16885,101 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
|
||||
unsigned int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
unsigned int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "item",(char *) "text", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRadioBox * >(argp1);
|
||||
ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
|
||||
}
|
||||
arg2 = static_cast< unsigned int >(val2);
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
|
||||
unsigned int arg2 ;
|
||||
wxToolTip *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
unsigned int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "item", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRadioBox * >(argp1);
|
||||
ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
|
||||
}
|
||||
arg2 = static_cast< unsigned int >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, (bool)0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
|
||||
@ -41073,6 +41213,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
|
||||
{ (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
|
||||
{ (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -41229,6 +41370,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
|
||||
{ (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
|
||||
{ (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
|
||||
|
@ -292,6 +292,7 @@ PD_SMOOTH = _core_.PD_SMOOTH
|
||||
PD_CAN_SKIP = _core_.PD_CAN_SKIP
|
||||
DD_NEW_DIR_BUTTON = _core_.DD_NEW_DIR_BUTTON
|
||||
DD_DEFAULT_STYLE = _core_.DD_DEFAULT_STYLE
|
||||
DD_CHANGE_DIR = _core_.DD_CHANGE_DIR
|
||||
MENU_TEAROFF = _core_.MENU_TEAROFF
|
||||
MB_DOCKABLE = _core_.MB_DOCKABLE
|
||||
NO_FULL_REPAINT_ON_RESIZE = _core_.NO_FULL_REPAINT_ON_RESIZE
|
||||
@ -3330,7 +3331,7 @@ class EvtHandler(Object):
|
||||
return _core_.EvtHandler_Connect(*args, **kwargs)
|
||||
|
||||
def Disconnect(*args, **kwargs):
|
||||
"""Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool"""
|
||||
"""Disconnect(self, int id, int lastId=-1, EventType eventType=wxEVT_NULL) -> bool"""
|
||||
return _core_.EvtHandler_Disconnect(*args, **kwargs)
|
||||
|
||||
def _setOORInfo(*args, **kwargs):
|
||||
@ -3454,7 +3455,7 @@ EVENT_PROPAGATE_NONE = _core_.EVENT_PROPAGATE_NONE
|
||||
EVENT_PROPAGATE_MAX = _core_.EVENT_PROPAGATE_MAX
|
||||
|
||||
def NewEventType(*args):
|
||||
"""NewEventType() -> wxEventType"""
|
||||
"""NewEventType() -> EventType"""
|
||||
return _core_.NewEventType(*args)
|
||||
wxEVT_NULL = _core_.wxEVT_NULL
|
||||
wxEVT_FIRST = _core_.wxEVT_FIRST
|
||||
@ -3766,7 +3767,7 @@ class Event(Object):
|
||||
__del__ = lambda self : None;
|
||||
def SetEventType(*args, **kwargs):
|
||||
"""
|
||||
SetEventType(self, wxEventType typ)
|
||||
SetEventType(self, EventType typ)
|
||||
|
||||
Sets the specific type of the event.
|
||||
"""
|
||||
@ -3774,7 +3775,7 @@ class Event(Object):
|
||||
|
||||
def GetEventType(*args, **kwargs):
|
||||
"""
|
||||
GetEventType(self) -> wxEventType
|
||||
GetEventType(self) -> EventType
|
||||
|
||||
Returns the identifier of the given event type, such as
|
||||
``wxEVT_COMMAND_BUTTON_CLICKED``.
|
||||
@ -3954,7 +3955,7 @@ class CommandEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent
|
||||
|
||||
This event class contains information about command events, which
|
||||
originate from a variety of simple controls, as well as menus and
|
||||
@ -4028,7 +4029,7 @@ class CommandEvent(Event):
|
||||
|
||||
def GetInt(*args, **kwargs):
|
||||
"""
|
||||
GetInt(self) -> long
|
||||
GetInt(self) -> int
|
||||
|
||||
Returns the integer identifier corresponding to a listbox, choice or
|
||||
radiobox selection (only if the event was a selection, not a
|
||||
@ -4075,7 +4076,7 @@ class NotifyEvent(CommandEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent
|
||||
|
||||
An instance of this class (or one of its derived classes) is sent from
|
||||
a control when the control's state is being changed and the control
|
||||
@ -4131,7 +4132,7 @@ class ScrollEvent(CommandEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int winid=0, int pos=0,
|
||||
int orient=0) -> ScrollEvent
|
||||
"""
|
||||
_core_.ScrollEvent_swiginit(self,_core_.new_ScrollEvent(*args, **kwargs))
|
||||
@ -4174,7 +4175,7 @@ class ScrollWinEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent
|
||||
|
||||
A wx.ScrollWinEvent holds information about scrolling and is sent from
|
||||
scrolling windows.
|
||||
@ -4243,7 +4244,7 @@ class MouseEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType mouseType=wxEVT_NULL) -> MouseEvent
|
||||
__init__(self, EventType mouseType=wxEVT_NULL) -> MouseEvent
|
||||
|
||||
Constructs a wx.MouseEvent. Valid event types are:
|
||||
|
||||
@ -4757,7 +4758,7 @@ class KeyEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType eventType=wxEVT_NULL) -> KeyEvent
|
||||
__init__(self, EventType eventType=wxEVT_NULL) -> KeyEvent
|
||||
|
||||
Construct a new `wx.KeyEvent`. Valid event types are:
|
||||
*
|
||||
@ -5118,7 +5119,7 @@ class FocusEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, int winid=0) -> FocusEvent
|
||||
|
||||
Constructor
|
||||
"""
|
||||
@ -5193,7 +5194,7 @@ class ActivateEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent
|
||||
|
||||
Constructor
|
||||
"""
|
||||
@ -5247,7 +5248,7 @@ class MenuEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent
|
||||
|
||||
Constructor
|
||||
"""
|
||||
@ -5312,7 +5313,7 @@ class CloseEvent(Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, int winid=0) -> CloseEvent
|
||||
|
||||
Constructor.
|
||||
"""
|
||||
@ -6166,7 +6167,7 @@ class ContextMenuEvent(CommandEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent
|
||||
|
||||
Constructor.
|
||||
"""
|
||||
@ -6357,7 +6358,7 @@ class PyEvent(Event):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, int winid=0, wxEventType eventType=wxEVT_NULL) -> PyEvent"""
|
||||
"""__init__(self, int winid=0, EventType eventType=wxEVT_NULL) -> PyEvent"""
|
||||
_core_.PyEvent_swiginit(self,_core_.new_PyEvent(*args, **kwargs))
|
||||
self._SetSelf(self)
|
||||
|
||||
@ -6389,7 +6390,7 @@ class PyCommandEvent(CommandEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType eventType=wxEVT_NULL, int id=0) -> PyCommandEvent"""
|
||||
"""__init__(self, EventType eventType=wxEVT_NULL, int id=0) -> PyCommandEvent"""
|
||||
_core_.PyCommandEvent_swiginit(self,_core_.new_PyCommandEvent(*args, **kwargs))
|
||||
self._SetSelf(self)
|
||||
|
||||
@ -6416,7 +6417,7 @@ class DateEvent(CommandEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, Window win, DateTime dt, wxEventType type) -> DateEvent"""
|
||||
"""__init__(self, Window win, DateTime dt, EventType type) -> DateEvent"""
|
||||
_core_.DateEvent_swiginit(self,_core_.new_DateEvent(*args, **kwargs))
|
||||
def GetDate(*args, **kwargs):
|
||||
"""
|
||||
@ -7137,6 +7138,15 @@ your Mac."""
|
||||
self._BootstrapApp()
|
||||
|
||||
|
||||
def OnPreInit(self):
|
||||
"""
|
||||
Things that must be done after _BootstrapApp has done its
|
||||
thing, but would be nice if they were already done by the time
|
||||
that OnInit is called.
|
||||
"""
|
||||
wx.StockGDI._initStockObjects()
|
||||
|
||||
|
||||
def __del__(self, destroy=wx.PyApp.__del__):
|
||||
self.RestoreStdio() # Just in case the MainLoop was overridden
|
||||
destroy(self)
|
||||
@ -10678,10 +10688,13 @@ ControlWithItems_swigregister(ControlWithItems)
|
||||
class SizerItem(Object):
|
||||
"""
|
||||
The wx.SizerItem class is used to track the position, size and other
|
||||
attributes of each item managed by a `wx.Sizer`. In normal usage user
|
||||
code should never need to deal directly with a wx.SizerItem, but
|
||||
custom classes derived from `wx.PySizer` will probably need to use the
|
||||
collection of wx.SizerItems held by wx.Sizer when calculating layout.
|
||||
attributes of each item managed by a `wx.Sizer`. It is not usually
|
||||
necessary to use this class because the sizer elements can also be
|
||||
identified by their positions or window or sizer references but
|
||||
sometimes it may be more convenient to use wx.SizerItem directly.
|
||||
Also, custom classes derived from `wx.PySizer` will probably need to
|
||||
use the collection of wx.SizerItems held by wx.Sizer when calculating
|
||||
layout.
|
||||
|
||||
:see: `wx.Sizer`, `wx.GBSizerItem`
|
||||
"""
|
||||
|
@ -2689,6 +2689,7 @@ namespace swig {
|
||||
|
||||
#include "wx/wxPython/wxPython_int.h"
|
||||
#include "wx/wxPython/pyclasses.h"
|
||||
#include "wx/wxPython/twoitem.h"
|
||||
|
||||
|
||||
#ifndef wxPyUSE_EXPORT
|
||||
@ -19071,7 +19072,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_CommandEvent_GetInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
|
||||
long result;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@ -19085,11 +19086,11 @@ SWIGINTERN PyObject *_wrap_CommandEvent_GetInt(PyObject *SWIGUNUSEDPARM(self), P
|
||||
arg1 = reinterpret_cast< wxCommandEvent * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (long)((wxCommandEvent const *)arg1)->GetInt();
|
||||
result = (int)((wxCommandEvent const *)arg1)->GetInt();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_long(static_cast< long >(result));
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -55703,6 +55704,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
|
||||
SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
|
||||
SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
|
||||
SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
|
||||
SWIG_Python_SetConstant(d, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF)));
|
||||
SWIG_Python_SetConstant(d, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE)));
|
||||
SWIG_Python_SetConstant(d, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE)));
|
||||
|
@ -73,6 +73,9 @@ GDIObject_swigregister(GDIObject)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
C2S_NAME = _gdi_.C2S_NAME
|
||||
C2S_CSS_SYNTAX = _gdi_.C2S_CSS_SYNTAX
|
||||
C2S_HTML_SYNTAX = _gdi_.C2S_HTML_SYNTAX
|
||||
class Colour(_core.Object):
|
||||
"""
|
||||
A colour is an object representing a combination of Red, Green, and
|
||||
@ -168,6 +171,20 @@ class Colour(_core.Object):
|
||||
"""
|
||||
return _gdi_.Colour_SetFromName(*args, **kwargs)
|
||||
|
||||
def GetAsString(*args, **kwargs):
|
||||
"""
|
||||
GetAsString(self, long flags=wxC2S_NAME|wxC2S_CSS_SYNTAX) -> String
|
||||
|
||||
Return the colour as a string. Acceptable flags are:
|
||||
|
||||
=================== ==================================
|
||||
wx.C2S_NAME return colour name, when possible
|
||||
wx.C2S_CSS_SYNTAX return colour in rgb(r,g,b) syntax
|
||||
wx.C2S_HTML_SYNTAX return colour in #rrggbb syntax
|
||||
=================== ==================================
|
||||
"""
|
||||
return _gdi_.Colour_GetAsString(*args, **kwargs)
|
||||
|
||||
def GetPixel(*args, **kwargs):
|
||||
"""
|
||||
GetPixel(self) -> long
|
||||
@ -4535,6 +4552,49 @@ class StockGDI(object):
|
||||
"""GetFont(self, int item) -> Font"""
|
||||
return _gdi_.StockGDI_GetFont(*args, **kwargs)
|
||||
|
||||
def _initStockObjects():
|
||||
import wx
|
||||
wx.ITALIC_FONT = StockGDI.instance().GetFont(StockGDI.FONT_ITALIC)
|
||||
wx.NORMAL_FONT = StockGDI.instance().GetFont(StockGDI.FONT_NORMAL)
|
||||
wx.SMALL_FONT = StockGDI.instance().GetFont(StockGDI.FONT_SMALL)
|
||||
wx.SWISS_FONT = StockGDI.instance().GetFont(StockGDI.FONT_SWISS)
|
||||
|
||||
wx.BLACK_DASHED_PEN = StockGDI.GetPen(StockGDI.PEN_BLACKDASHED)
|
||||
wx.BLACK_PEN = StockGDI.GetPen(StockGDI.PEN_BLACK)
|
||||
wx.CYAN_PEN = StockGDI.GetPen(StockGDI.PEN_CYAN)
|
||||
wx.GREEN_PEN = StockGDI.GetPen(StockGDI.PEN_GREEN)
|
||||
wx.GREY_PEN = StockGDI.GetPen(StockGDI.PEN_GREY)
|
||||
wx.LIGHT_GREY_PEN = StockGDI.GetPen(StockGDI.PEN_LIGHTGREY)
|
||||
wx.MEDIUM_GREY_PEN = StockGDI.GetPen(StockGDI.PEN_MEDIUMGREY)
|
||||
wx.RED_PEN = StockGDI.GetPen(StockGDI.PEN_RED)
|
||||
wx.TRANSPARENT_PEN = StockGDI.GetPen(StockGDI.PEN_TRANSPARENT)
|
||||
wx.WHITE_PEN = StockGDI.GetPen(StockGDI.PEN_WHITE)
|
||||
|
||||
wx.BLACK_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_BLACK)
|
||||
wx.BLUE_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_BLUE)
|
||||
wx.CYAN_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_CYAN)
|
||||
wx.GREEN_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_GREEN)
|
||||
wx.GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_GREY)
|
||||
wx.LIGHT_GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_LIGHTGREY)
|
||||
wx.MEDIUM_GREY_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_MEDIUMGREY)
|
||||
wx.RED_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_RED)
|
||||
wx.TRANSPARENT_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_TRANSPARENT)
|
||||
wx.WHITE_BRUSH = StockGDI.GetBrush(StockGDI.BRUSH_WHITE)
|
||||
|
||||
wx.BLACK = StockGDI.GetColour(StockGDI.COLOUR_BLACK)
|
||||
wx.BLUE = StockGDI.GetColour(StockGDI.COLOUR_BLUE)
|
||||
wx.CYAN = StockGDI.GetColour(StockGDI.COLOUR_CYAN)
|
||||
wx.GREEN = StockGDI.GetColour(StockGDI.COLOUR_GREEN)
|
||||
wx.LIGHT_GREY = StockGDI.GetColour(StockGDI.COLOUR_LIGHTGREY)
|
||||
wx.RED = StockGDI.GetColour(StockGDI.COLOUR_RED)
|
||||
wx.WHITE = StockGDI.GetColour(StockGDI.COLOUR_WHITE)
|
||||
|
||||
wx.CROSS_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_CROSS)
|
||||
wx.HOURGLASS_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_HOURGLASS)
|
||||
wx.STANDARD_CURSOR = StockGDI.GetCursor(StockGDI.CURSOR_STANDARD)
|
||||
|
||||
_initStockObjects = staticmethod(_initStockObjects)
|
||||
|
||||
StockGDI_swigregister = _gdi_.StockGDI_swigregister
|
||||
StockGDI_swigregister(StockGDI)
|
||||
|
||||
@ -4562,75 +4622,6 @@ def StockGDI_GetPen(*args, **kwargs):
|
||||
"""StockGDI_GetPen(int item) -> Pen"""
|
||||
return _gdi_.StockGDI_GetPen(*args, **kwargs)
|
||||
|
||||
# This function makes a class used to do delayed initialization of some
|
||||
# stock wx objects. When they are used the first time then an init function
|
||||
# is called to make the real instance, which is then used to replace the
|
||||
# original instance and class seen by the programmer.
|
||||
def _wxPyMakeDelayedInitWrapper(initFunc):
|
||||
class _wxPyStockObjectWrapper(object):
|
||||
def __init__(self, *args):
|
||||
self._args = args
|
||||
def __getattr__(self, name):
|
||||
obj = initFunc(*self._args)
|
||||
self.__class__ = obj.__class__
|
||||
self.__dict__ = obj.__dict__
|
||||
return getattr(self, name)
|
||||
def __str__(self):
|
||||
return self.__getattr__("__str__")()
|
||||
def __repr__(self):
|
||||
return self.__getattr__("__repr__")()
|
||||
return _wxPyStockObjectWrapper
|
||||
|
||||
def _wxPyFontInit(id):
|
||||
return StockGDI.instance().GetFont(id)
|
||||
|
||||
_wxPyStockPen = _wxPyMakeDelayedInitWrapper(StockGDI.GetPen)
|
||||
_wxPyStockBrush = _wxPyMakeDelayedInitWrapper(StockGDI.GetBrush)
|
||||
_wxPyStockCursor = _wxPyMakeDelayedInitWrapper(StockGDI.GetCursor)
|
||||
_wxPyStockColour = _wxPyMakeDelayedInitWrapper(StockGDI.GetColour)
|
||||
_wxPyStockFont = _wxPyMakeDelayedInitWrapper(_wxPyFontInit)
|
||||
|
||||
|
||||
ITALIC_FONT = _wxPyStockCursor(StockGDI.FONT_ITALIC)
|
||||
NORMAL_FONT = _wxPyStockCursor(StockGDI.FONT_NORMAL)
|
||||
SMALL_FONT = _wxPyStockCursor(StockGDI.FONT_SMALL)
|
||||
SWISS_FONT = _wxPyStockCursor(StockGDI.FONT_SWISS)
|
||||
|
||||
BLACK_DASHED_PEN = _wxPyStockPen(StockGDI.PEN_BLACKDASHED)
|
||||
BLACK_PEN = _wxPyStockPen(StockGDI.PEN_BLACK)
|
||||
CYAN_PEN = _wxPyStockPen(StockGDI.PEN_CYAN)
|
||||
GREEN_PEN = _wxPyStockPen(StockGDI.PEN_GREEN)
|
||||
GREY_PEN = _wxPyStockPen(StockGDI.PEN_GREY)
|
||||
LIGHT_GREY_PEN = _wxPyStockPen(StockGDI.PEN_LIGHTGREY)
|
||||
MEDIUM_GREY_PEN = _wxPyStockPen(StockGDI.PEN_MEDIUMGREY)
|
||||
RED_PEN = _wxPyStockPen(StockGDI.PEN_RED)
|
||||
TRANSPARENT_PEN = _wxPyStockPen(StockGDI.PEN_TRANSPARENT)
|
||||
WHITE_PEN = _wxPyStockPen(StockGDI.PEN_WHITE)
|
||||
|
||||
BLACK_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_BLACK)
|
||||
BLUE_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_BLUE)
|
||||
CYAN_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_CYAN)
|
||||
GREEN_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_GREEN)
|
||||
GREY_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_GREY)
|
||||
LIGHT_GREY_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_LIGHTGREY)
|
||||
MEDIUM_GREY_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_MEDIUMGREY)
|
||||
RED_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_RED)
|
||||
TRANSPARENT_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_TRANSPARENT)
|
||||
WHITE_BRUSH = _wxPyStockBrush(StockGDI.BRUSH_WHITE)
|
||||
|
||||
BLACK = _wxPyStockColour(StockGDI.COLOUR_BLACK)
|
||||
BLUE = _wxPyStockColour(StockGDI.COLOUR_BLUE)
|
||||
CYAN = _wxPyStockColour(StockGDI.COLOUR_CYAN)
|
||||
GREEN = _wxPyStockColour(StockGDI.COLOUR_GREEN)
|
||||
LIGHT_GREY = _wxPyStockColour(StockGDI.COLOUR_LIGHTGREY)
|
||||
RED = _wxPyStockColour(StockGDI.COLOUR_RED)
|
||||
WHITE = _wxPyStockColour(StockGDI.COLOUR_WHITE)
|
||||
|
||||
CROSS_CURSOR = _wxPyStockCursor(StockGDI.CURSOR_CROSS)
|
||||
HOURGLASS_CURSOR = _wxPyStockCursor(StockGDI.CURSOR_HOURGLASS)
|
||||
STANDARD_CURSOR = _wxPyStockCursor(StockGDI.CURSOR_STANDARD)
|
||||
|
||||
|
||||
class GDIObjListBase(object):
|
||||
"""Proxy of C++ GDIObjListBase class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
@ -4772,6 +4763,25 @@ def _wxPyInitTheBrushList(*args):
|
||||
def _wxPyInitTheColourDatabase(*args):
|
||||
"""_wxPyInitTheColourDatabase() -> ColourDatabase"""
|
||||
return _gdi_._wxPyInitTheColourDatabase(*args)
|
||||
# This function makes a class used to do delayed initialization of some
|
||||
# stock wx objects. When they are used the first time then an init function
|
||||
# is called to make the real instance, which is then used to replace the
|
||||
# original instance and class seen by the programmer.
|
||||
def _wxPyMakeDelayedInitWrapper(initFunc):
|
||||
class _wxPyStockObjectWrapper(object):
|
||||
def __init__(self, *args):
|
||||
self._args = args
|
||||
def __getattr__(self, name):
|
||||
obj = initFunc(*self._args)
|
||||
self.__class__ = obj.__class__
|
||||
self.__dict__ = obj.__dict__
|
||||
return getattr(self, name)
|
||||
def __str__(self):
|
||||
return self.__getattr__("__str__")()
|
||||
def __repr__(self):
|
||||
return self.__getattr__("__repr__")()
|
||||
return _wxPyStockObjectWrapper
|
||||
|
||||
wxTheFontList = _wxPyMakeDelayedInitWrapper(_wxPyInitTheFontList)()
|
||||
wxThePenList = _wxPyMakeDelayedInitWrapper(_wxPyInitThePenList)()
|
||||
wxTheBrushList = _wxPyMakeDelayedInitWrapper(_wxPyInitTheBrushList)()
|
||||
@ -5013,14 +5023,42 @@ class RendererNative(object):
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawDropArrow(*args, **kwargs)
|
||||
|
||||
def DrawCheckButton(*args, **kwargs):
|
||||
def DrawCheckBox(*args, **kwargs):
|
||||
"""
|
||||
DrawCheckButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
DrawCheckBox(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a check button. Flags may use wx.CONTROL_CHECKED,
|
||||
wx.CONTROL_UNDETERMINED and wx.CONTROL_CURRENT.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawCheckButton(*args, **kwargs)
|
||||
return _gdi_.RendererNative_DrawCheckBox(*args, **kwargs)
|
||||
|
||||
def DrawPushButton(*args, **kwargs):
|
||||
"""
|
||||
DrawPushButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw a blank button. Flags may be wx.CONTROL_PRESSED, wx.CONTROL_CURRENT and
|
||||
wx.CONTROL_ISDEFAULT
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawPushButton(*args, **kwargs)
|
||||
|
||||
def DrawItemSelectionRect(*args, **kwargs):
|
||||
"""
|
||||
DrawItemSelectionRect(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
|
||||
Draw rectangle indicating that an item in e.g. a list control has been
|
||||
selected or focused
|
||||
|
||||
The flags parameter may be:
|
||||
|
||||
==================== ============================================
|
||||
wx.CONTROL_SELECTED item is selected, e.g. draw background
|
||||
wx.CONTROL_CURRENT item is the current item, e.g. dotted border
|
||||
wx.CONTROL_FOCUSED the whole control has focus, e.g. blue
|
||||
background vs. grey otherwise
|
||||
==================== ============================================
|
||||
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawItemSelectionRect(*args, **kwargs)
|
||||
|
||||
def GetSplitterParams(*args, **kwargs):
|
||||
"""
|
||||
|
@ -2701,6 +2701,16 @@ namespace swig {
|
||||
|
||||
static const wxString wxPyEmptyString(wxEmptyString);
|
||||
|
||||
#define SWIG_From_long PyInt_FromLong
|
||||
|
||||
|
||||
SWIGINTERNINLINE PyObject *
|
||||
SWIG_From_int (int value)
|
||||
{
|
||||
return SWIG_From_long (value);
|
||||
}
|
||||
|
||||
|
||||
#include <limits.h>
|
||||
#ifndef LLONG_MIN
|
||||
# define LLONG_MIN LONG_LONG_MIN
|
||||
@ -2753,9 +2763,6 @@ SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
|
||||
}
|
||||
|
||||
|
||||
#define SWIG_From_long PyInt_FromLong
|
||||
|
||||
|
||||
SWIGINTERNINLINE PyObject*
|
||||
SWIG_From_unsigned_SS_long (unsigned long value)
|
||||
{
|
||||
@ -2822,13 +2829,6 @@ SWIG_AsVal_int (PyObject * obj, int *val)
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERNINLINE PyObject *
|
||||
SWIG_From_int (int value)
|
||||
{
|
||||
return SWIG_From_long (value);
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *wxPen_GetDashes(wxPen *self){
|
||||
wxDash* dashes;
|
||||
int count = self->GetDashes(&dashes);
|
||||
@ -3736,6 +3736,53 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Colour_GetAsString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxColour *arg1 = (wxColour *) 0 ;
|
||||
long arg2 = (long) wxC2S_NAME|wxC2S_CSS_SYNTAX ;
|
||||
wxString result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
long val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Colour_GetAsString",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColour, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxColour * >(argp1);
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_long(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
|
||||
}
|
||||
arg2 = static_cast< long >(val2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxColour const *)arg1)->GetAsString(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Colour_GetPixel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxColour *arg1 = (wxColour *) 0 ;
|
||||
@ -25373,7 +25420,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawCheckButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
@ -25398,23 +25445,23 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawCheckButton(PyObject *SWIGUNUSEDPA
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawCheckButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRendererNative * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
if (!argp3) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RendererNative_DrawCheckButton" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxDC * >(argp3);
|
||||
{
|
||||
@ -25424,13 +25471,149 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawCheckButton(PyObject *SWIGUNUSEDPA
|
||||
if (obj4) {
|
||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
||||
if (!SWIG_IsOK(ecode5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "5"" of type '" "int""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawCheckButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
|
||||
(arg1)->DrawCheckBox(arg2,*arg3,(wxRect const &)*arg4,arg5);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxDC *arg3 = 0 ;
|
||||
wxRect *arg4 = 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
void *argp3 = 0 ;
|
||||
int res3 = 0 ;
|
||||
wxRect temp4 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRendererNative * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
if (!argp3) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxDC * >(argp3);
|
||||
{
|
||||
arg4 = &temp4;
|
||||
if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
|
||||
}
|
||||
if (obj4) {
|
||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
||||
if (!SWIG_IsOK(ecode5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawPushButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawItemSelectionRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxDC *arg3 = 0 ;
|
||||
wxRect *arg4 = 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
void *argp3 = 0 ;
|
||||
int res3 = 0 ;
|
||||
wxRect temp4 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRendererNative * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
if (!argp3) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxDC * >(argp3);
|
||||
{
|
||||
arg4 = &temp4;
|
||||
if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
|
||||
}
|
||||
if (obj4) {
|
||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
||||
if (!SWIG_IsOK(ecode5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawItemSelectionRect(arg2,*arg3,(wxRect const &)*arg4,arg5);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@ -25625,6 +25808,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Colour_GetAsString", (PyCFunction) _wrap_Colour_GetAsString, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Colour_GetPixel", (PyCFunction)_wrap_Colour_GetPixel, METH_O, NULL},
|
||||
{ (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -26236,7 +26420,9 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"RendererNative_DrawSplitterSash", (PyCFunction) _wrap_RendererNative_DrawSplitterSash, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction) _wrap_RendererNative_DrawComboBoxDropButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawDropArrow", (PyCFunction) _wrap_RendererNative_DrawDropArrow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawCheckButton", (PyCFunction) _wrap_RendererNative_DrawCheckButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawCheckBox", (PyCFunction) _wrap_RendererNative_DrawCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawPushButton", (PyCFunction) _wrap_RendererNative_DrawPushButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction) _wrap_RendererNative_DrawItemSelectionRect, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_GetSplitterParams", (PyCFunction) _wrap_RendererNative_GetSplitterParams, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_Get", (PyCFunction)_wrap_RendererNative_Get, METH_NOARGS, NULL},
|
||||
{ (char *)"RendererNative_GetGeneric", (PyCFunction)_wrap_RendererNative_GetGeneric, METH_NOARGS, NULL},
|
||||
@ -27703,6 +27889,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_InstallConstants(d,swig_const_table);
|
||||
|
||||
|
||||
SWIG_Python_SetConstant(d, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME)));
|
||||
SWIG_Python_SetConstant(d, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX)));
|
||||
SWIG_Python_SetConstant(d, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX)));
|
||||
SWIG_Python_SetConstant(d, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion)));
|
||||
SWIG_Python_SetConstant(d, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion)));
|
||||
SWIG_Python_SetConstant(d, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion)));
|
||||
|
@ -908,6 +908,7 @@ class BusyInfo(_core.Object):
|
||||
_misc_.BusyInfo_swiginit(self,_misc_.new_BusyInfo(*args, **kwargs))
|
||||
__swig_destroy__ = _misc_.delete_BusyInfo
|
||||
__del__ = lambda self : None;
|
||||
def Destroy(self): pass
|
||||
BusyInfo_swigregister = _misc_.BusyInfo_swigregister
|
||||
BusyInfo_swigregister(BusyInfo)
|
||||
|
||||
@ -1224,7 +1225,7 @@ class Log(object):
|
||||
|
||||
EnableLogging = staticmethod(EnableLogging)
|
||||
def OnLog(*args, **kwargs):
|
||||
"""OnLog(wxLogLevel level, wxChar szString, time_t t)"""
|
||||
"""OnLog(LogLevel level, wxChar szString, time_t t)"""
|
||||
return _misc_.Log_OnLog(*args, **kwargs)
|
||||
|
||||
OnLog = staticmethod(OnLog)
|
||||
@ -1263,7 +1264,7 @@ class Log(object):
|
||||
|
||||
SetVerbose = staticmethod(SetVerbose)
|
||||
def SetLogLevel(*args, **kwargs):
|
||||
"""SetLogLevel(wxLogLevel logLevel)"""
|
||||
"""SetLogLevel(LogLevel logLevel)"""
|
||||
return _misc_.Log_SetLogLevel(*args, **kwargs)
|
||||
|
||||
SetLogLevel = staticmethod(SetLogLevel)
|
||||
@ -1273,7 +1274,7 @@ class Log(object):
|
||||
|
||||
DontCreateOnDemand = staticmethod(DontCreateOnDemand)
|
||||
def SetTraceMask(*args, **kwargs):
|
||||
"""SetTraceMask(wxTraceMask ulMask)"""
|
||||
"""SetTraceMask(TraceMask ulMask)"""
|
||||
return _misc_.Log_SetTraceMask(*args, **kwargs)
|
||||
|
||||
SetTraceMask = staticmethod(SetTraceMask)
|
||||
@ -1308,7 +1309,7 @@ class Log(object):
|
||||
|
||||
GetVerbose = staticmethod(GetVerbose)
|
||||
def GetTraceMask(*args, **kwargs):
|
||||
"""GetTraceMask() -> wxTraceMask"""
|
||||
"""GetTraceMask() -> TraceMask"""
|
||||
return _misc_.Log_GetTraceMask(*args, **kwargs)
|
||||
|
||||
GetTraceMask = staticmethod(GetTraceMask)
|
||||
@ -1318,7 +1319,7 @@ class Log(object):
|
||||
|
||||
IsAllowedTraceMask = staticmethod(IsAllowedTraceMask)
|
||||
def GetLogLevel(*args, **kwargs):
|
||||
"""GetLogLevel() -> wxLogLevel"""
|
||||
"""GetLogLevel() -> LogLevel"""
|
||||
return _misc_.Log_GetLogLevel(*args, **kwargs)
|
||||
|
||||
GetLogLevel = staticmethod(GetLogLevel)
|
||||
@ -1350,7 +1351,7 @@ def Log_EnableLogging(*args, **kwargs):
|
||||
return _misc_.Log_EnableLogging(*args, **kwargs)
|
||||
|
||||
def Log_OnLog(*args, **kwargs):
|
||||
"""Log_OnLog(wxLogLevel level, wxChar szString, time_t t)"""
|
||||
"""Log_OnLog(LogLevel level, wxChar szString, time_t t)"""
|
||||
return _misc_.Log_OnLog(*args, **kwargs)
|
||||
|
||||
def Log_FlushActive(*args):
|
||||
@ -1378,7 +1379,7 @@ def Log_SetVerbose(*args, **kwargs):
|
||||
return _misc_.Log_SetVerbose(*args, **kwargs)
|
||||
|
||||
def Log_SetLogLevel(*args, **kwargs):
|
||||
"""Log_SetLogLevel(wxLogLevel logLevel)"""
|
||||
"""Log_SetLogLevel(LogLevel logLevel)"""
|
||||
return _misc_.Log_SetLogLevel(*args, **kwargs)
|
||||
|
||||
def Log_DontCreateOnDemand(*args):
|
||||
@ -1386,7 +1387,7 @@ def Log_DontCreateOnDemand(*args):
|
||||
return _misc_.Log_DontCreateOnDemand(*args)
|
||||
|
||||
def Log_SetTraceMask(*args, **kwargs):
|
||||
"""Log_SetTraceMask(wxTraceMask ulMask)"""
|
||||
"""Log_SetTraceMask(TraceMask ulMask)"""
|
||||
return _misc_.Log_SetTraceMask(*args, **kwargs)
|
||||
|
||||
def Log_AddTraceMask(*args, **kwargs):
|
||||
@ -1414,7 +1415,7 @@ def Log_GetVerbose(*args):
|
||||
return _misc_.Log_GetVerbose(*args)
|
||||
|
||||
def Log_GetTraceMask(*args):
|
||||
"""Log_GetTraceMask() -> wxTraceMask"""
|
||||
"""Log_GetTraceMask() -> TraceMask"""
|
||||
return _misc_.Log_GetTraceMask(*args)
|
||||
|
||||
def Log_IsAllowedTraceMask(*args, **kwargs):
|
||||
@ -1422,7 +1423,7 @@ def Log_IsAllowedTraceMask(*args, **kwargs):
|
||||
return _misc_.Log_IsAllowedTraceMask(*args, **kwargs)
|
||||
|
||||
def Log_GetLogLevel(*args):
|
||||
"""Log_GetLogLevel() -> wxLogLevel"""
|
||||
"""Log_GetLogLevel() -> LogLevel"""
|
||||
return _misc_.Log_GetLogLevel(*args)
|
||||
|
||||
def Log_GetTimestamp(*args):
|
||||
@ -1980,7 +1981,7 @@ class JoystickEvent(_core.Event):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
|
||||
__init__(self, EventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
|
||||
int change=0) -> JoystickEvent
|
||||
"""
|
||||
_misc_.JoystickEvent_swiginit(self,_misc_.new_JoystickEvent(*args, **kwargs))
|
||||
|
@ -5225,7 +5225,7 @@ SWIGINTERN PyObject *_wrap_StripMenuCodes(PyObject *SWIGUNUSEDPARM(self), PyObje
|
||||
bool temp1 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "_in", NULL
|
||||
(char *) "in", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) SWIG_fail;
|
||||
@ -32929,7 +32929,7 @@ SWIGINTERN PyObject *_wrap_DropTarget_OnEnter(PyObject *SWIGUNUSEDPARM(self), Py
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -32986,7 +32986,7 @@ SWIGINTERN PyObject *_wrap_DropTarget_OnDragOver(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33346,7 +33346,7 @@ SWIGINTERN PyObject *_wrap_TextDropTarget_OnEnter(PyObject *SWIGUNUSEDPARM(self)
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33403,7 +33403,7 @@ SWIGINTERN PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *SWIGUNUSEDPARM(se
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33537,7 +33537,7 @@ SWIGINTERN PyObject *_wrap_TextDropTarget_OnData(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33734,7 +33734,7 @@ SWIGINTERN PyObject *_wrap_FileDropTarget_OnEnter(PyObject *SWIGUNUSEDPARM(self)
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33791,7 +33791,7 @@ SWIGINTERN PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *SWIGUNUSEDPARM(se
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
@ -33925,7 +33925,7 @@ SWIGINTERN PyObject *_wrap_FileDropTarget_OnData(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
|
@ -364,6 +364,10 @@ class TopLevelWindow(_core.Window):
|
||||
"""IsMaximized(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_IsMaximized(*args, **kwargs)
|
||||
|
||||
def IsAlwaysMaximized(*args, **kwargs):
|
||||
"""IsAlwaysMaximized(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_IsAlwaysMaximized(*args, **kwargs)
|
||||
|
||||
def IsIconized(*args, **kwargs):
|
||||
"""IsIconized(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_IsIconized(*args, **kwargs)
|
||||
@ -1226,7 +1230,7 @@ class SplitterEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
|
||||
__init__(self, EventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
|
||||
|
||||
This class represents the events generated by a splitter control.
|
||||
"""
|
||||
@ -2025,6 +2029,10 @@ class TaskBarIcon(_core.EvtHandler):
|
||||
"""PopupMenu(self, Menu menu) -> bool"""
|
||||
return _windows_.TaskBarIcon_PopupMenu(*args, **kwargs)
|
||||
|
||||
def GetHandle(*args, **kwargs):
|
||||
"""GetHandle(self) -> long"""
|
||||
return _windows_.TaskBarIcon_GetHandle(*args, **kwargs)
|
||||
|
||||
TaskBarIcon_swigregister = _windows_.TaskBarIcon_swigregister
|
||||
TaskBarIcon_swigregister(TaskBarIcon)
|
||||
|
||||
@ -2033,7 +2041,7 @@ class TaskBarIconEvent(_core.Event):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
|
||||
"""__init__(self, EventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
|
||||
_windows_.TaskBarIconEvent_swiginit(self,_windows_.new_TaskBarIconEvent(*args, **kwargs))
|
||||
TaskBarIconEvent_swigregister = _windows_.TaskBarIconEvent_swigregister
|
||||
TaskBarIconEvent_swigregister(TaskBarIconEvent)
|
||||
@ -2205,14 +2213,6 @@ class DirDialog(Dialog):
|
||||
"""
|
||||
return _windows_.DirDialog_GetMessage(*args, **kwargs)
|
||||
|
||||
def GetStyle(*args, **kwargs):
|
||||
"""
|
||||
GetStyle(self) -> long
|
||||
|
||||
Returns the dialog style.
|
||||
"""
|
||||
return _windows_.DirDialog_GetStyle(*args, **kwargs)
|
||||
|
||||
def SetMessage(*args, **kwargs):
|
||||
"""
|
||||
SetMessage(self, String message)
|
||||
@ -2751,17 +2751,20 @@ class ProgressDialog(Frame):
|
||||
|
||||
def Update(*args, **kwargs):
|
||||
"""
|
||||
Update(self, int value, String newmsg=EmptyString) -> bool
|
||||
Update(self, int value, String newmsg) --> (continue, skip)
|
||||
|
||||
Updates the dialog, setting the progress bar to the new value and, if
|
||||
given changes the message above it. The value given should be less
|
||||
than or equal to the maximum value given to the constructor and the
|
||||
dialog is closed if it is equal to the maximum. Returns True unless
|
||||
the Cancel button has been pressed.
|
||||
dialog is closed if it is equal to the maximum. Returns a tuple of
|
||||
boolean values, ``(continue, skip)`` where ``continue`` is ``True``
|
||||
unless the Cancel button has been pressed, and ``skip`` is ``False``
|
||||
unless the Skip button (if any) has been pressed.
|
||||
|
||||
If the ``continue`` return value is ``false``, the application can either
|
||||
immediately destroy the dialog or ask the user for confirmation, and if the
|
||||
abort is not confirmed the dialog may be resumed with `Resume` function.
|
||||
|
||||
If false is returned, the application can either immediately destroy
|
||||
the dialog or ask the user for the confirmation and if the abort is
|
||||
not confirmed the dialog may be resumed with Resume function.
|
||||
"""
|
||||
return _windows_.ProgressDialog_Update(*args, **kwargs)
|
||||
|
||||
@ -2808,7 +2811,7 @@ class FindDialogEvent(_core.CommandEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
|
||||
__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
|
||||
|
||||
Events for the FindReplaceDialog
|
||||
"""
|
||||
|
@ -2459,169 +2459,170 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
|
||||
/* -------- TYPES TABLE (BEGIN) -------- */
|
||||
|
||||
#define SWIGTYPE_p_char swig_types[0]
|
||||
#define SWIGTYPE_p_form_ops_t swig_types[1]
|
||||
#define SWIGTYPE_p_int swig_types[2]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[3]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[4]
|
||||
#define SWIGTYPE_p_unsigned_long swig_types[5]
|
||||
#define SWIGTYPE_p_wxANIHandler swig_types[6]
|
||||
#define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
|
||||
#define SWIGTYPE_p_wxActivateEvent swig_types[8]
|
||||
#define SWIGTYPE_p_wxArrayInt swig_types[9]
|
||||
#define SWIGTYPE_p_wxBMPHandler swig_types[10]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[11]
|
||||
#define SWIGTYPE_p_wxBoxSizer swig_types[12]
|
||||
#define SWIGTYPE_p_wxCURHandler swig_types[13]
|
||||
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
|
||||
#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
|
||||
#define SWIGTYPE_p_wxCloseEvent swig_types[16]
|
||||
#define SWIGTYPE_p_wxColour swig_types[17]
|
||||
#define SWIGTYPE_p_wxColourData swig_types[18]
|
||||
#define SWIGTYPE_p_wxColourDialog swig_types[19]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[20]
|
||||
#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
|
||||
#define SWIGTYPE_p_wxControl swig_types[22]
|
||||
#define SWIGTYPE_p_wxControlWithItems swig_types[23]
|
||||
#define SWIGTYPE_p_wxDC swig_types[24]
|
||||
#define SWIGTYPE_p_wxDateEvent swig_types[25]
|
||||
#define SWIGTYPE_p_wxDialog swig_types[26]
|
||||
#define SWIGTYPE_p_wxDirDialog swig_types[27]
|
||||
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
|
||||
#define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
|
||||
#define SWIGTYPE_p_wxDuplexMode swig_types[30]
|
||||
#define SWIGTYPE_p_wxEraseEvent swig_types[31]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[32]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[33]
|
||||
#define SWIGTYPE_p_wxFSFile swig_types[34]
|
||||
#define SWIGTYPE_p_wxFileDialog swig_types[35]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[36]
|
||||
#define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
|
||||
#define SWIGTYPE_p_wxFindReplaceData swig_types[38]
|
||||
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
|
||||
#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
|
||||
#define SWIGTYPE_p_wxFocusEvent swig_types[41]
|
||||
#define SWIGTYPE_p_wxFont swig_types[42]
|
||||
#define SWIGTYPE_p_wxFontData swig_types[43]
|
||||
#define SWIGTYPE_p_wxFontDialog swig_types[44]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[45]
|
||||
#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
|
||||
#define SWIGTYPE_p_wxGIFHandler swig_types[47]
|
||||
#define SWIGTYPE_p_wxGridBagSizer swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridSizer swig_types[49]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[51]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[52]
|
||||
#define SWIGTYPE_p_wxIconBundle swig_types[53]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[54]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[55]
|
||||
#define SWIGTYPE_p_wxImage swig_types[56]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[57]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[59]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[60]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[61]
|
||||
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[63]
|
||||
#define SWIGTYPE_p_wxMDIChildFrame swig_types[64]
|
||||
#define SWIGTYPE_p_wxMDIClientWindow swig_types[65]
|
||||
#define SWIGTYPE_p_wxMDIParentFrame swig_types[66]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[67]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[68]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[69]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[70]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[71]
|
||||
#define SWIGTYPE_p_wxMessageDialog swig_types[72]
|
||||
#define SWIGTYPE_p_wxMiniFrame swig_types[73]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[75]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[76]
|
||||
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[80]
|
||||
#define SWIGTYPE_p_wxObject swig_types[81]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[82]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[83]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[84]
|
||||
#define SWIGTYPE_p_wxPageSetupDialog swig_types[85]
|
||||
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[86]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[87]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[89]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[90]
|
||||
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[92]
|
||||
#define SWIGTYPE_p_wxPopupWindow swig_types[93]
|
||||
#define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
|
||||
#define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
|
||||
#define SWIGTYPE_p_wxPreviewFrame swig_types[96]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[97]
|
||||
#define SWIGTYPE_p_wxPrintDialog swig_types[98]
|
||||
#define SWIGTYPE_p_wxPrintDialogData swig_types[99]
|
||||
#define SWIGTYPE_p_wxPrintPreview swig_types[100]
|
||||
#define SWIGTYPE_p_wxPrinter swig_types[101]
|
||||
#define SWIGTYPE_p_wxProgressDialog swig_types[102]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[103]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[105]
|
||||
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[107]
|
||||
#define SWIGTYPE_p_wxPyPanel swig_types[108]
|
||||
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
|
||||
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
|
||||
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
|
||||
#define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[113]
|
||||
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyVListBox swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[119]
|
||||
#define SWIGTYPE_p_wxPyWindow swig_types[120]
|
||||
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
|
||||
#define SWIGTYPE_p_wxRect swig_types[123]
|
||||
#define SWIGTYPE_p_wxRegion swig_types[124]
|
||||
#define SWIGTYPE_p_wxSashEvent swig_types[125]
|
||||
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[126]
|
||||
#define SWIGTYPE_p_wxSashWindow swig_types[127]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[128]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[129]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[130]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[131]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[132]
|
||||
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[133]
|
||||
#define SWIGTYPE_p_wxSize swig_types[134]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[135]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[136]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[137]
|
||||
#define SWIGTYPE_p_wxSplashScreen swig_types[138]
|
||||
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[139]
|
||||
#define SWIGTYPE_p_wxSplitterEvent swig_types[140]
|
||||
#define SWIGTYPE_p_wxSplitterWindow swig_types[141]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
|
||||
#define SWIGTYPE_p_wxStatusBar swig_types[143]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
|
||||
#define SWIGTYPE_p_wxString swig_types[145]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[147]
|
||||
#define SWIGTYPE_p_wxTaskBarIcon swig_types[148]
|
||||
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
|
||||
#define SWIGTYPE_p_wxTextEntryDialog swig_types[150]
|
||||
#define SWIGTYPE_p_wxTipWindow swig_types[151]
|
||||
#define SWIGTYPE_p_wxToolBar swig_types[152]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[153]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[154]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[155]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[156]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[157]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[160]
|
||||
static swig_type_info *swig_types[162];
|
||||
static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_bool swig_types[0]
|
||||
#define SWIGTYPE_p_char swig_types[1]
|
||||
#define SWIGTYPE_p_form_ops_t swig_types[2]
|
||||
#define SWIGTYPE_p_int swig_types[3]
|
||||
#define SWIGTYPE_p_unsigned_char swig_types[4]
|
||||
#define SWIGTYPE_p_unsigned_int swig_types[5]
|
||||
#define SWIGTYPE_p_unsigned_long swig_types[6]
|
||||
#define SWIGTYPE_p_wxANIHandler swig_types[7]
|
||||
#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
|
||||
#define SWIGTYPE_p_wxActivateEvent swig_types[9]
|
||||
#define SWIGTYPE_p_wxArrayInt swig_types[10]
|
||||
#define SWIGTYPE_p_wxBMPHandler swig_types[11]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[12]
|
||||
#define SWIGTYPE_p_wxBoxSizer swig_types[13]
|
||||
#define SWIGTYPE_p_wxCURHandler swig_types[14]
|
||||
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
|
||||
#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
|
||||
#define SWIGTYPE_p_wxCloseEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxColour swig_types[18]
|
||||
#define SWIGTYPE_p_wxColourData swig_types[19]
|
||||
#define SWIGTYPE_p_wxColourDialog swig_types[20]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[21]
|
||||
#define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
|
||||
#define SWIGTYPE_p_wxControl swig_types[23]
|
||||
#define SWIGTYPE_p_wxControlWithItems swig_types[24]
|
||||
#define SWIGTYPE_p_wxDC swig_types[25]
|
||||
#define SWIGTYPE_p_wxDateEvent swig_types[26]
|
||||
#define SWIGTYPE_p_wxDialog swig_types[27]
|
||||
#define SWIGTYPE_p_wxDirDialog swig_types[28]
|
||||
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
|
||||
#define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
|
||||
#define SWIGTYPE_p_wxDuplexMode swig_types[31]
|
||||
#define SWIGTYPE_p_wxEraseEvent swig_types[32]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[34]
|
||||
#define SWIGTYPE_p_wxFSFile swig_types[35]
|
||||
#define SWIGTYPE_p_wxFileDialog swig_types[36]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[37]
|
||||
#define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
|
||||
#define SWIGTYPE_p_wxFindReplaceData swig_types[39]
|
||||
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
|
||||
#define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
|
||||
#define SWIGTYPE_p_wxFocusEvent swig_types[42]
|
||||
#define SWIGTYPE_p_wxFont swig_types[43]
|
||||
#define SWIGTYPE_p_wxFontData swig_types[44]
|
||||
#define SWIGTYPE_p_wxFontDialog swig_types[45]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[46]
|
||||
#define SWIGTYPE_p_wxGBSizerItem swig_types[47]
|
||||
#define SWIGTYPE_p_wxGIFHandler swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridBagSizer swig_types[49]
|
||||
#define SWIGTYPE_p_wxGridSizer swig_types[50]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[52]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[53]
|
||||
#define SWIGTYPE_p_wxIconBundle swig_types[54]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[55]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[56]
|
||||
#define SWIGTYPE_p_wxImage swig_types[57]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[58]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[59]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[60]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[61]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[62]
|
||||
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[63]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[64]
|
||||
#define SWIGTYPE_p_wxMDIChildFrame swig_types[65]
|
||||
#define SWIGTYPE_p_wxMDIClientWindow swig_types[66]
|
||||
#define SWIGTYPE_p_wxMDIParentFrame swig_types[67]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[69]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[70]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[71]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[72]
|
||||
#define SWIGTYPE_p_wxMessageDialog swig_types[73]
|
||||
#define SWIGTYPE_p_wxMiniFrame swig_types[74]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[76]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[77]
|
||||
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[80]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[81]
|
||||
#define SWIGTYPE_p_wxObject swig_types[82]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[83]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[84]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[85]
|
||||
#define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
|
||||
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[88]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[90]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[91]
|
||||
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[93]
|
||||
#define SWIGTYPE_p_wxPopupWindow swig_types[94]
|
||||
#define SWIGTYPE_p_wxPreviewCanvas swig_types[95]
|
||||
#define SWIGTYPE_p_wxPreviewControlBar swig_types[96]
|
||||
#define SWIGTYPE_p_wxPreviewFrame swig_types[97]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[98]
|
||||
#define SWIGTYPE_p_wxPrintDialog swig_types[99]
|
||||
#define SWIGTYPE_p_wxPrintDialogData swig_types[100]
|
||||
#define SWIGTYPE_p_wxPrintPreview swig_types[101]
|
||||
#define SWIGTYPE_p_wxPrinter swig_types[102]
|
||||
#define SWIGTYPE_p_wxProgressDialog swig_types[103]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[104]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[106]
|
||||
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[107]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[108]
|
||||
#define SWIGTYPE_p_wxPyPanel swig_types[109]
|
||||
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110]
|
||||
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111]
|
||||
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[112]
|
||||
#define SWIGTYPE_p_wxPyPrintPreview swig_types[113]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[114]
|
||||
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[115]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyVListBox swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[120]
|
||||
#define SWIGTYPE_p_wxPyWindow swig_types[121]
|
||||
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123]
|
||||
#define SWIGTYPE_p_wxRect swig_types[124]
|
||||
#define SWIGTYPE_p_wxRegion swig_types[125]
|
||||
#define SWIGTYPE_p_wxSashEvent swig_types[126]
|
||||
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[127]
|
||||
#define SWIGTYPE_p_wxSashWindow swig_types[128]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[129]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[130]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[131]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[132]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[133]
|
||||
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[134]
|
||||
#define SWIGTYPE_p_wxSize swig_types[135]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[136]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[137]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[138]
|
||||
#define SWIGTYPE_p_wxSplashScreen swig_types[139]
|
||||
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[140]
|
||||
#define SWIGTYPE_p_wxSplitterEvent swig_types[141]
|
||||
#define SWIGTYPE_p_wxSplitterWindow swig_types[142]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
|
||||
#define SWIGTYPE_p_wxStatusBar swig_types[144]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
|
||||
#define SWIGTYPE_p_wxString swig_types[146]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[148]
|
||||
#define SWIGTYPE_p_wxTaskBarIcon swig_types[149]
|
||||
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150]
|
||||
#define SWIGTYPE_p_wxTextEntryDialog swig_types[151]
|
||||
#define SWIGTYPE_p_wxTipWindow swig_types[152]
|
||||
#define SWIGTYPE_p_wxToolBar swig_types[153]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[156]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[157]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[158]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[159]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[161]
|
||||
static swig_type_info *swig_types[163];
|
||||
static swig_module_info swig_module = {swig_types, 162, 0, 0, 0, 0};
|
||||
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
||||
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
||||
|
||||
@ -2921,6 +2922,11 @@ public:
|
||||
wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
|
||||
{ return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
|
||||
|
||||
// update the thumb size shown by the scrollbar
|
||||
void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
|
||||
|
||||
// remove the scrollbar completely because we don't need it
|
||||
void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
|
||||
|
||||
PYPRIVATE;
|
||||
};
|
||||
@ -3234,6 +3240,13 @@ SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxStr
|
||||
}
|
||||
static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
|
||||
|
||||
SWIGINTERNINLINE PyObject*
|
||||
SWIG_From_bool (bool value)
|
||||
{
|
||||
return PyBool_FromLong(value ? 1 : 0);
|
||||
}
|
||||
|
||||
|
||||
#include <wx/mdi.h>
|
||||
|
||||
// C++ version of Python aware wxWindow
|
||||
@ -5469,6 +5482,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
@ -13789,7 +13832,7 @@ SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -14984,7 +15027,7 @@ SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "_from",(char *) "to", NULL
|
||||
(char *) "self",(char *) "from",(char *) "to", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
@ -16050,6 +16093,34 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TaskBarIcon_GetHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
|
||||
long result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_GetHandle" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (long)((wxPyTaskBarIcon const *)arg1)->GetHandle();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_long(static_cast< long >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@ -16836,34 +16907,6 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
|
||||
long result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDirDialog * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (long)(arg1)->GetStyle();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_long(static_cast< long >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
|
||||
@ -19273,12 +19316,15 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self),
|
||||
int arg2 ;
|
||||
wxString const &arg3_defvalue = wxPyEmptyString ;
|
||||
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
||||
bool *arg4 = (bool *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp4 ;
|
||||
int res4 = SWIG_TMPOBJ ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@ -19286,6 +19332,7 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self),
|
||||
(char *) "self",(char *) "value",(char *) "newmsg", NULL
|
||||
};
|
||||
|
||||
arg4 = &temp4;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
@ -19306,13 +19353,19 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self),
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
|
||||
result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
if (SWIG_IsTmpObj(res4)) {
|
||||
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
|
||||
} else {
|
||||
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
|
||||
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
|
||||
}
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
@ -30694,6 +30747,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -30980,6 +31034,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
|
||||
{ (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TaskBarIcon_GetHandle", (PyCFunction)_wrap_TaskBarIcon_GetHandle, METH_O, NULL},
|
||||
{ (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -31003,7 +31058,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
|
||||
{ (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
|
||||
{ (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
|
||||
{ (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
|
||||
@ -32428,6 +32482,7 @@ static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
|
||||
static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
|
||||
return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
|
||||
}
|
||||
static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
|
||||
@ -32591,6 +32646,7 @@ static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "
|
||||
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
|
||||
|
||||
static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_bool,
|
||||
&_swigt__p_char,
|
||||
&_swigt__p_form_ops_t,
|
||||
&_swigt__p_int,
|
||||
@ -32754,6 +32810,7 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxXPMHandler,
|
||||
};
|
||||
|
||||
static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@ -32917,6 +32974,7 @@ static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAt
|
||||
static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
|
||||
|
||||
static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_bool,
|
||||
_swigc__p_char,
|
||||
_swigc__p_form_ops_t,
|
||||
_swigc__p_int,
|
||||
|
@ -167,7 +167,7 @@ class CalendarEvent(_core.DateEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, CalendarCtrl cal, wxEventType type) -> CalendarEvent"""
|
||||
"""__init__(self, CalendarCtrl cal, EventType type) -> CalendarEvent"""
|
||||
_calendar.CalendarEvent_swiginit(self,_calendar.new_CalendarEvent(*args, **kwargs))
|
||||
def SetWeekDay(*args, **kwargs):
|
||||
"""SetWeekDay(self, int wd)"""
|
||||
|
@ -1149,15 +1149,15 @@ class Grid(_windows.ScrolledWindow):
|
||||
"""
|
||||
return _grid.Grid_Create(*args, **kwargs)
|
||||
|
||||
wxGridSelectCells = _grid.Grid_wxGridSelectCells
|
||||
wxGridSelectRows = _grid.Grid_wxGridSelectRows
|
||||
wxGridSelectColumns = _grid.Grid_wxGridSelectColumns
|
||||
GridSelectCells = _grid.Grid_GridSelectCells
|
||||
GridSelectRows = _grid.Grid_GridSelectRows
|
||||
GridSelectColumns = _grid.Grid_GridSelectColumns
|
||||
SelectCells = wxGridSelectCells
|
||||
SelectRows = wxGridSelectRows
|
||||
SelectColumns = wxGridSelectColumns
|
||||
|
||||
def CreateGrid(*args, **kwargs):
|
||||
"""CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
|
||||
"""CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=GridSelectCells) -> bool"""
|
||||
return _grid.Grid_CreateGrid(*args, **kwargs)
|
||||
|
||||
def SetSelectionMode(*args, **kwargs):
|
||||
@ -1185,7 +1185,7 @@ class Grid(_windows.ScrolledWindow):
|
||||
return _grid.Grid_GetTable(*args, **kwargs)
|
||||
|
||||
def SetTable(*args, **kwargs):
|
||||
"""SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
|
||||
"""SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=GridSelectCells) -> bool"""
|
||||
return _grid.Grid_SetTable(*args, **kwargs)
|
||||
|
||||
def ClearGrid(*args, **kwargs):
|
||||
@ -1999,7 +1999,7 @@ class GridEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
|
||||
__init__(self, int id, EventType type, Grid obj, int row=-1, int col=-1,
|
||||
int x=-1, int y=-1, bool sel=True, bool control=False,
|
||||
bool shift=False, bool alt=False,
|
||||
bool meta=False) -> GridEvent
|
||||
@ -2050,7 +2050,7 @@ class GridSizeEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
|
||||
__init__(self, int id, EventType type, Grid obj, int rowOrCol=-1,
|
||||
int x=-1, int y=-1, bool control=False, bool shift=False,
|
||||
bool alt=False, bool meta=False) -> GridSizeEvent
|
||||
"""
|
||||
@ -2092,10 +2092,10 @@ class GridRangeSelectEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
|
||||
__init__(self, int id, EventType type, Grid obj, GridCellCoords topLeft,
|
||||
GridCellCoords bottomRight, bool sel=True,
|
||||
bool control=False, bool shift=False,
|
||||
bool alt=False, bool meta=False) -> GridRangeSelectEvent
|
||||
bool control=False, bool shift=False, bool alt=False,
|
||||
bool meta=False) -> GridRangeSelectEvent
|
||||
"""
|
||||
_grid.GridRangeSelectEvent_swiginit(self,_grid.new_GridRangeSelectEvent(*args, **kwargs))
|
||||
def GetTopLeftCoords(*args, **kwargs):
|
||||
@ -2155,7 +2155,7 @@ class GridEditorCreatedEvent(_core.CommandEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, int id, wxEventType type, Object obj, int row, int col,
|
||||
__init__(self, int id, EventType type, Object obj, int row, int col,
|
||||
Control ctrl) -> GridEditorCreatedEvent
|
||||
"""
|
||||
_grid.GridEditorCreatedEvent_swiginit(self,_grid.new_GridEditorCreatedEvent(*args, **kwargs))
|
||||
|
@ -22866,9 +22866,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_INSERTED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_INSERTED)));
|
||||
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_APPENDED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_APPENDED)));
|
||||
SWIG_Python_SetConstant(d, "GRIDTABLE_NOTIFY_COLS_DELETED",SWIG_From_int(static_cast< int >(wxGRIDTABLE_NOTIFY_COLS_DELETED)));
|
||||
SWIG_Python_SetConstant(d, "Grid_wxGridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells)));
|
||||
SWIG_Python_SetConstant(d, "Grid_wxGridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows)));
|
||||
SWIG_Python_SetConstant(d, "Grid_wxGridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns)));
|
||||
SWIG_Python_SetConstant(d, "Grid_GridSelectCells",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectCells)));
|
||||
SWIG_Python_SetConstant(d, "Grid_GridSelectRows",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectRows)));
|
||||
SWIG_Python_SetConstant(d, "Grid_GridSelectColumns",SWIG_From_int(static_cast< int >(wxGrid::wxGridSelectColumns)));
|
||||
PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
|
||||
PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
|
||||
PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
|
||||
|
@ -1613,7 +1613,7 @@ class HtmlWindowEvent(_core.NotifyEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
|
||||
"""__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
|
||||
_html.HtmlWindowEvent_swiginit(self,_html.new_HtmlWindowEvent(*args, **kwargs))
|
||||
def SetURL(*args, **kwargs):
|
||||
"""SetURL(self, String url)"""
|
||||
|
@ -11804,7 +11804,7 @@ SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj6 = 0 ;
|
||||
PyObject * obj7 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "_from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
|
||||
(char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
|
||||
|
@ -70,7 +70,7 @@ class MediaEvent(_core.NotifyEvent):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MediaEvent"""
|
||||
"""__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> MediaEvent"""
|
||||
_media.MediaEvent_swiginit(self,_media.new_MediaEvent(*args, **kwargs))
|
||||
MediaEvent_swigregister = _media.MediaEvent_swigregister
|
||||
MediaEvent_swigregister(MediaEvent)
|
||||
|
@ -78,7 +78,7 @@ class WizardEvent(_core.NotifyEvent):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
|
||||
__init__(self, EventType type=wxEVT_NULL, int id=-1, bool direction=True,
|
||||
WizardPage page=None) -> WizardEvent
|
||||
"""
|
||||
_wizard.WizardEvent_swiginit(self,_wizard.new_WizardEvent(*args, **kwargs))
|
||||
|
@ -173,7 +173,7 @@ class XmlResource(_core.Object):
|
||||
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
|
||||
|
||||
def GetXRCID(*args, **kwargs):
|
||||
"""GetXRCID(String str_id) -> int"""
|
||||
"""GetXRCID(wxChar str_id, int value_if_not_found=ID_NONE) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
|
||||
GetXRCID = staticmethod(GetXRCID)
|
||||
@ -225,7 +225,7 @@ def XmlResource_AddSubclassFactory(*args, **kwargs):
|
||||
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
|
||||
|
||||
def XmlResource_GetXRCID(*args, **kwargs):
|
||||
"""XmlResource_GetXRCID(String str_id) -> int"""
|
||||
"""XmlResource_GetXRCID(wxChar str_id, int value_if_not_found=ID_NONE) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
|
||||
def XmlResource_Get(*args):
|
||||
@ -236,8 +236,8 @@ def XmlResource_Set(*args, **kwargs):
|
||||
"""XmlResource_Set(XmlResource res) -> XmlResource"""
|
||||
return _xrc.XmlResource_Set(*args, **kwargs)
|
||||
|
||||
def XRCID(str_id):
|
||||
return XmlResource_GetXRCID(str_id)
|
||||
def XRCID(str_id, value_if_not_found = wx.ID_NONE):
|
||||
return XmlResource_GetXRCID(str_id, value_if_not_found)
|
||||
|
||||
def XRCCTRL(window, str_id, *ignoreargs):
|
||||
return window.FindWindowById(XRCID(str_id))
|
||||
|
@ -2473,97 +2473,98 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[11]
|
||||
#define SWIGTYPE_p_wxBoxSizer swig_types[12]
|
||||
#define SWIGTYPE_p_wxCURHandler swig_types[13]
|
||||
#define SWIGTYPE_p_wxChildFocusEvent swig_types[14]
|
||||
#define SWIGTYPE_p_wxCloseEvent swig_types[15]
|
||||
#define SWIGTYPE_p_wxColour swig_types[16]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxContextMenuEvent swig_types[18]
|
||||
#define SWIGTYPE_p_wxControl swig_types[19]
|
||||
#define SWIGTYPE_p_wxControlWithItems swig_types[20]
|
||||
#define SWIGTYPE_p_wxDateEvent swig_types[21]
|
||||
#define SWIGTYPE_p_wxDialog swig_types[22]
|
||||
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
|
||||
#define SWIGTYPE_p_wxDropFilesEvent swig_types[24]
|
||||
#define SWIGTYPE_p_wxDuplexMode swig_types[25]
|
||||
#define SWIGTYPE_p_wxEraseEvent swig_types[26]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[27]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[28]
|
||||
#define SWIGTYPE_p_wxFSFile swig_types[29]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[30]
|
||||
#define SWIGTYPE_p_wxFlexGridSizer swig_types[31]
|
||||
#define SWIGTYPE_p_wxFocusEvent swig_types[32]
|
||||
#define SWIGTYPE_p_wxFont swig_types[33]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[34]
|
||||
#define SWIGTYPE_p_wxGBSizerItem swig_types[35]
|
||||
#define SWIGTYPE_p_wxGIFHandler swig_types[36]
|
||||
#define SWIGTYPE_p_wxGridBagSizer swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridSizer swig_types[38]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[39]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[40]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[41]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[42]
|
||||
#define SWIGTYPE_p_wxImage swig_types[43]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[44]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[46]
|
||||
#define SWIGTYPE_p_wxInputStream swig_types[47]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[48]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[49]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[50]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[51]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[52]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[53]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[54]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[55]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[56]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[57]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[58]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[59]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[60]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[61]
|
||||
#define SWIGTYPE_p_wxObject swig_types[62]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[63]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[64]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[65]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[66]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[67]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[68]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[69]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[70]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[71]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[72]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[73]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[74]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[75]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[76]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[77]
|
||||
#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[78]
|
||||
#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[79]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[81]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[83]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[84]
|
||||
#define SWIGTYPE_p_wxSize swig_types[85]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[86]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[87]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[88]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[89]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[90]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[91]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[92]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[93]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[94]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[95]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[96]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[97]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[98]
|
||||
#define SWIGTYPE_p_wxXmlDocument swig_types[99]
|
||||
#define SWIGTYPE_p_wxXmlNode swig_types[100]
|
||||
#define SWIGTYPE_p_wxXmlProperty swig_types[101]
|
||||
#define SWIGTYPE_p_wxXmlResource swig_types[102]
|
||||
static swig_type_info *swig_types[104];
|
||||
static swig_module_info swig_module = {swig_types, 103, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxChar swig_types[14]
|
||||
#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
|
||||
#define SWIGTYPE_p_wxCloseEvent swig_types[16]
|
||||
#define SWIGTYPE_p_wxColour swig_types[17]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[18]
|
||||
#define SWIGTYPE_p_wxContextMenuEvent swig_types[19]
|
||||
#define SWIGTYPE_p_wxControl swig_types[20]
|
||||
#define SWIGTYPE_p_wxControlWithItems swig_types[21]
|
||||
#define SWIGTYPE_p_wxDateEvent swig_types[22]
|
||||
#define SWIGTYPE_p_wxDialog swig_types[23]
|
||||
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
|
||||
#define SWIGTYPE_p_wxDropFilesEvent swig_types[25]
|
||||
#define SWIGTYPE_p_wxDuplexMode swig_types[26]
|
||||
#define SWIGTYPE_p_wxEraseEvent swig_types[27]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[28]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[29]
|
||||
#define SWIGTYPE_p_wxFSFile swig_types[30]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[31]
|
||||
#define SWIGTYPE_p_wxFlexGridSizer swig_types[32]
|
||||
#define SWIGTYPE_p_wxFocusEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxFont swig_types[34]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[35]
|
||||
#define SWIGTYPE_p_wxGBSizerItem swig_types[36]
|
||||
#define SWIGTYPE_p_wxGIFHandler swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridBagSizer swig_types[38]
|
||||
#define SWIGTYPE_p_wxGridSizer swig_types[39]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[40]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[41]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[42]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[43]
|
||||
#define SWIGTYPE_p_wxImage swig_types[44]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[45]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
|
||||
#define SWIGTYPE_p_wxInputStream swig_types[48]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[49]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[50]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[53]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[54]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[55]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[56]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[57]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[58]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[59]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[60]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[61]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[62]
|
||||
#define SWIGTYPE_p_wxObject swig_types[63]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[64]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[65]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[66]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[67]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[68]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[70]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[71]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[72]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[73]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[75]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[76]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[77]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[78]
|
||||
#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[79]
|
||||
#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[80]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[82]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[83]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[84]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[85]
|
||||
#define SWIGTYPE_p_wxSize swig_types[86]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[87]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[88]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[89]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[90]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[91]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[93]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[94]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[95]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[96]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[97]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[98]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[99]
|
||||
#define SWIGTYPE_p_wxXmlDocument swig_types[100]
|
||||
#define SWIGTYPE_p_wxXmlNode swig_types[101]
|
||||
#define SWIGTYPE_p_wxXmlProperty swig_types[102]
|
||||
#define SWIGTYPE_p_wxXmlResource swig_types[103]
|
||||
static swig_type_info *swig_types[105];
|
||||
static swig_module_info swig_module = {swig_types, 104, 0, 0, 0, 0};
|
||||
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
||||
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
||||
|
||||
@ -4343,37 +4344,41 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *_wrap_XmlResource_GetXRCID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxString *arg1 = 0 ;
|
||||
wxChar *arg1 = (wxChar *) 0 ;
|
||||
int arg2 = (int) wxID_NONE ;
|
||||
int result;
|
||||
bool temp1 = false ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "str_id", NULL
|
||||
(char *) "str_id",(char *) "value_if_not_found", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_GetXRCID",kwnames,&obj0)) SWIG_fail;
|
||||
{
|
||||
arg1 = wxString_in_helper(obj0);
|
||||
if (arg1 == NULL) SWIG_fail;
|
||||
temp1 = true;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlResource_GetXRCID",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChar, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlResource_GetXRCID" "', expected argument " "1"" of type '" "wxChar const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxChar * >(argp1);
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XmlResource_GetXRCID" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)wxXmlResource::GetXRCID((wxString const &)*arg1);
|
||||
result = (int)wxXmlResource::GetXRCID((wxChar const *)arg1,arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
{
|
||||
if (temp1)
|
||||
delete arg1;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp1)
|
||||
delete arg1;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -8466,6 +8471,15 @@ static PyMethodDef SwigMethods[] = {
|
||||
|
||||
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
||||
|
||||
static void *_p_wxControlTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) ((wxControl *) x));
|
||||
}
|
||||
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
|
||||
}
|
||||
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) ((wxMenuBar *) x));
|
||||
}
|
||||
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
|
||||
return (void *)((wxObject *) ((wxLayoutConstraints *) x));
|
||||
}
|
||||
@ -8703,15 +8717,6 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
|
||||
static void *_p_wxValidatorTo_p_wxObject(void *x) {
|
||||
return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
|
||||
}
|
||||
static void *_p_wxControlTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) ((wxControl *) x));
|
||||
}
|
||||
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
|
||||
}
|
||||
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
|
||||
return (void *)((wxWindow *) ((wxMenuBar *) x));
|
||||
}
|
||||
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
|
||||
@ -8720,6 +8725,7 @@ static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int
|
||||
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
|
||||
@ -8831,6 +8837,7 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxBitmap,
|
||||
&_swigt__p_wxBoxSizer,
|
||||
&_swigt__p_wxCURHandler,
|
||||
&_swigt__p_wxChar,
|
||||
&_swigt__p_wxChildFocusEvent,
|
||||
&_swigt__p_wxCloseEvent,
|
||||
&_swigt__p_wxColour,
|
||||
@ -8930,6 +8937,7 @@ static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0,
|
||||
static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxArtClient[] = { {&_swigt__p_wxArtClient, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@ -9041,6 +9049,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxBitmap,
|
||||
_swigc__p_wxBoxSizer,
|
||||
_swigc__p_wxCURHandler,
|
||||
_swigc__p_wxChar,
|
||||
_swigc__p_wxChildFocusEvent,
|
||||
_swigc__p_wxCloseEvent,
|
||||
_swigc__p_wxColour,
|
||||
|
@ -186,7 +186,6 @@ wxColourData = wx._windows.ColourData
|
||||
wxColourDialog = wx._windows.ColourDialog
|
||||
wxGetColourFromUser = wx._windows.GetColourFromUser
|
||||
wxDirDialog = wx._windows.DirDialog
|
||||
wxPreDirDialog = wx._windows.PreDirDialog
|
||||
wxFileDialog = wx._windows.FileDialog
|
||||
wxCHOICEDLG_STYLE = wx._windows.CHOICEDLG_STYLE
|
||||
wxMultiChoiceDialog = wx._windows.MultiChoiceDialog
|
||||
|
Loading…
Reference in New Issue
Block a user