2 * FILE : src/msw/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows3c
55 #define SWIG_name "windows3c"
58 #include <wx/sashwin.h>
59 #include <wx/laywin.h>
60 #include <wx/popupwin.h>
61 #include <wx/tipwin.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
92 DECLARE_DEF_STRING(SashNameStr
);
93 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
94 DECLARE_DEF_STRING(SashLayoutNameStr
);
96 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
99 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
100 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
101 : wxPopupTransientWindow(parent
, style
) {}
103 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
104 DEC_PYCALLBACK__(OnDismiss
);
105 DEC_PYCALLBACK_BOOL_(CanDismiss
);
109 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
110 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
111 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
113 #include <wx/vscroll.h>
114 DECLARE_DEF_STRING(PanelNameStr
);
116 class wxPyVScrolledWindow
: public wxVScrolledWindow
118 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
120 wxPyVScrolledWindow() : wxVScrolledWindow() {}
122 wxPyVScrolledWindow(wxWindow
*parent
,
123 wxWindowID id
= wxID_ANY
,
124 const wxPoint
& pos
= wxDefaultPosition
,
125 const wxSize
& size
= wxDefaultSize
,
127 const wxString
& name
= wxPyPanelNameStr
)
128 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
131 // Overridable virtuals
133 // this function must be overridden in the derived class and it should
134 // return the height of the given line in pixels
135 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
138 // this function doesn't have to be overridden but it may be useful to do
139 // it if calculating the lines heights is a relatively expensive operation
140 // as it gives the user code a possibility to calculate several of them at
143 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
144 // shouldn't rely on the latter being called for all lines in the interval
145 // specified here. It is also possible that OnGetLineHeight() will be
146 // called for the lines outside of this interval, so this is really just a
147 // hint, not a promise.
149 // finally note that lineMin is inclusive, while lineMax is exclusive, as
151 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
154 // when the number of lines changes, we try to estimate the total height
155 // of all lines which is a rather expensive operation in terms of lines
156 // access, so if the user code may estimate the average height
157 // better/faster than we do, it should override this function to implement
160 // this function should return the best guess for the total height it may
162 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
165 // Also expose some other interesting protected methods
168 // find the index of the line we need to show at the top of the window such
169 // that the last (fully or partially) visible line is the given one
170 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
171 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
173 // get the total height of the lines between lineMin (inclusive) and
174 // lineMax (exclusive)
175 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
176 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
182 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
184 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
185 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
186 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
188 #include <wx/vlbox.h>
189 DECLARE_DEF_STRING(VListBoxNameStr
);
191 class wxPyVListBox
: public wxVListBox
193 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
195 wxPyVListBox() : wxVListBox() {}
197 wxPyVListBox(wxWindow
*parent
,
198 wxWindowID id
= wxID_ANY
,
199 const wxPoint
& pos
= wxDefaultPosition
,
200 const wxSize
& size
= wxDefaultSize
,
202 const wxString
& name
= wxPyVListBoxNameStr
)
203 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
206 // Overridable virtuals
208 // the derived class must implement this function to actually draw the item
209 // with the given index on the provided DC
210 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
211 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
214 // the derived class must implement this method to return the height of the
216 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
217 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
220 // this method may be used to draw separators between the lines; note that
221 // the rectangle may be modified, typically to deflate it a bit before
222 // passing to OnDrawItem()
224 // the base class version doesn't do anything
225 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
226 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
229 // this method is used to draw the items background and, maybe, a border
232 // the base class version implements a reasonable default behaviour which
233 // consists in drawing the selected item with the standard background
234 // colour and drawing a border around the item if it is either selected or
236 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
237 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
243 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
245 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
246 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
247 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
248 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
251 #include <wx/htmllbox.h>
253 class wxPyHtmlListBox
: public wxHtmlListBox
255 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
257 wxPyHtmlListBox() : wxHtmlListBox() {}
259 wxPyHtmlListBox(wxWindow
*parent
,
260 wxWindowID id
= wxID_ANY
,
261 const wxPoint
& pos
= wxDefaultPosition
,
262 const wxSize
& size
= wxDefaultSize
,
264 const wxString
& name
= wxPyVListBoxNameStr
)
265 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
268 // Overridable virtuals
270 // this method must be implemented in the derived class and should return
271 // the body (i.e. without <html>) of the HTML for the given item
272 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
274 // this function may be overridden to decorate HTML returned by OnGetItem()
275 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
278 // // this method allows to customize the selection appearance: it may be used
279 // // to specify the colour of the text which normally has the given colour
280 // // colFg when it is inside the selection
282 // // by default, the original colour is not used at all and all text has the
283 // // same (default for this system) colour inside selection
284 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
286 // // this is the same as GetSelectedTextColour() but allows to customize the
287 // // background colour -- this is even more rarely used as you can change it
288 // // globally using SetSelectionBackground()
289 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
296 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
298 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
299 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
304 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
306 wxCommandEvent
*dest
;
307 src
= (wxSashEvent
*) ptr
;
308 dest
= (wxCommandEvent
*) src
;
309 return (void *) dest
;
312 static void *SwigwxSashEventTowxEvent(void *ptr
) {
315 src
= (wxSashEvent
*) ptr
;
316 dest
= (wxEvent
*) src
;
317 return (void *) dest
;
320 static void *SwigwxSashEventTowxObject(void *ptr
) {
323 src
= (wxSashEvent
*) ptr
;
324 dest
= (wxObject
*) src
;
325 return (void *) dest
;
328 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
329 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
331 wxSashEvent
* _result
;
332 int _arg0
= (int ) 0;
333 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
334 char *_kwnames
[] = { "id","edge", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
342 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
344 wxPyEndAllowThreads(__tstate
);
345 if (PyErr_Occurred()) return NULL
;
347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
348 _resultobj
= Py_BuildValue("s",_ptemp
);
351 _resultobj
= Py_None
;
356 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
357 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxSashEdgePosition _arg1
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self","edge", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
376 wxSashEvent_SetEdge(_arg0
,_arg1
);
378 wxPyEndAllowThreads(__tstate
);
379 if (PyErr_Occurred()) return NULL
;
380 } Py_INCREF(Py_None
);
381 _resultobj
= Py_None
;
385 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
386 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
388 wxSashEdgePosition _result
;
390 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
405 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
407 wxPyEndAllowThreads(__tstate
);
408 if (PyErr_Occurred()) return NULL
;
409 } _resultobj
= Py_BuildValue("i",_result
);
413 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
414 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
418 PyObject
* _argo0
= 0;
420 PyObject
* _obj1
= 0;
421 char *_kwnames
[] = { "self","rect", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
435 if (! wxRect_helper(_obj1
, &_arg1
))
439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
442 wxPyEndAllowThreads(__tstate
);
443 if (PyErr_Occurred()) return NULL
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
449 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
450 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
454 PyObject
* _argo0
= 0;
455 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
475 _resultobj
= Py_BuildValue("s",_ptemp
);
479 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
480 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxSashDragStatus _arg1
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self","status", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
501 wxPyEndAllowThreads(__tstate
);
502 if (PyErr_Occurred()) return NULL
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
509 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxSashDragStatus _result
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
528 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
530 wxPyEndAllowThreads(__tstate
);
531 if (PyErr_Occurred()) return NULL
;
532 } _resultobj
= Py_BuildValue("i",_result
);
536 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
539 src
= (wxSashWindow
*) ptr
;
540 dest
= (wxWindow
*) src
;
541 return (void *) dest
;
544 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
547 src
= (wxSashWindow
*) ptr
;
548 dest
= (wxEvtHandler
*) src
;
549 return (void *) dest
;
552 static void *SwigwxSashWindowTowxObject(void *ptr
) {
555 src
= (wxSashWindow
*) ptr
;
556 dest
= (wxObject
*) src
;
557 return (void *) dest
;
560 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
561 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
563 wxSashWindow
* _result
;
566 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
567 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
568 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
569 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
570 PyObject
* _argo0
= 0;
572 PyObject
* _obj2
= 0;
574 PyObject
* _obj3
= 0;
575 PyObject
* _obj5
= 0;
576 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
592 if (! wxPoint_helper(_obj2
, &_arg2
))
598 if (! wxSize_helper(_obj3
, &_arg3
))
603 _arg5
= wxString_in_helper(_obj5
);
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
627 #define new_wxPreSashWindow() (new wxSashWindow())
628 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
630 wxSashWindow
* _result
;
631 char *_kwnames
[] = { NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 _result
= (wxSashWindow
*)new_wxPreSashWindow();
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
645 _resultobj
= Py_BuildValue("s",_ptemp
);
648 _resultobj
= Py_None
;
653 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
654 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
657 wxSashWindow
* _arg0
;
660 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
661 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
662 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
663 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
664 PyObject
* _argo0
= 0;
665 PyObject
* _argo1
= 0;
667 PyObject
* _obj3
= 0;
669 PyObject
* _obj4
= 0;
670 PyObject
* _obj6
= 0;
671 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
693 if (! wxPoint_helper(_obj3
, &_arg3
))
699 if (! wxSize_helper(_obj4
, &_arg4
))
704 _arg6
= wxString_in_helper(_obj6
);
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
714 } _resultobj
= Py_BuildValue("i",_result
);
722 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
723 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 wxSashWindow
* _arg0
;
727 wxSashEdgePosition _arg1
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self","edge", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
747 } _resultobj
= Py_BuildValue("i",_result
);
751 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
752 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
755 wxSashWindow
* _arg0
;
756 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "self", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
771 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
773 wxPyEndAllowThreads(__tstate
);
774 if (PyErr_Occurred()) return NULL
;
775 } _resultobj
= Py_BuildValue("i",_result
);
779 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
780 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 wxSashWindow
* _arg0
;
784 wxSashEdgePosition _arg1
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self","edge", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
804 } _resultobj
= Py_BuildValue("i",_result
);
808 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
809 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
812 wxSashWindow
* _arg0
;
813 PyObject
* _argo0
= 0;
814 char *_kwnames
[] = { "self", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) return NULL
;
832 } _resultobj
= Py_BuildValue("i",_result
);
836 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
837 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
840 wxSashWindow
* _arg0
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
860 } _resultobj
= Py_BuildValue("i",_result
);
864 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
865 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
868 wxSashWindow
* _arg0
;
869 PyObject
* _argo0
= 0;
870 char *_kwnames
[] = { "self", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
884 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
886 wxPyEndAllowThreads(__tstate
);
887 if (PyErr_Occurred()) return NULL
;
888 } _resultobj
= Py_BuildValue("i",_result
);
892 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
893 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
896 wxSashWindow
* _arg0
;
897 PyObject
* _argo0
= 0;
898 char *_kwnames
[] = { "self", NULL
};
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
914 wxPyEndAllowThreads(__tstate
);
915 if (PyErr_Occurred()) return NULL
;
916 } _resultobj
= Py_BuildValue("i",_result
);
920 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
921 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
924 wxSashWindow
* _arg0
;
925 PyObject
* _argo0
= 0;
926 char *_kwnames
[] = { "self", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
940 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
942 wxPyEndAllowThreads(__tstate
);
943 if (PyErr_Occurred()) return NULL
;
944 } _resultobj
= Py_BuildValue("i",_result
);
948 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
949 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 wxSashWindow
* _arg0
;
953 wxSashEdgePosition _arg1
;
954 PyObject
* _argo0
= 0;
955 char *_kwnames
[] = { "self","edge", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
969 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
971 wxPyEndAllowThreads(__tstate
);
972 if (PyErr_Occurred()) return NULL
;
973 } _resultobj
= Py_BuildValue("i",_result
);
977 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
978 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
980 wxSashWindow
* _arg0
;
982 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self","width", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
1007 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1009 wxSashWindow
* _arg0
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self","width", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1035 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
1036 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxSashWindow
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","min", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } Py_INCREF(Py_None
);
1060 _resultobj
= Py_None
;
1064 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
1065 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1067 wxSashWindow
* _arg0
;
1069 PyObject
* _argo0
= 0;
1070 char *_kwnames
[] = { "self","min", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) return NULL
;
1088 } Py_INCREF(Py_None
);
1089 _resultobj
= Py_None
;
1093 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
1094 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1096 wxSashWindow
* _arg0
;
1098 PyObject
* _argo0
= 0;
1099 char *_kwnames
[] = { "self","min", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) return NULL
;
1117 } Py_INCREF(Py_None
);
1118 _resultobj
= Py_None
;
1122 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
1123 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1125 wxSashWindow
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self","min", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } Py_INCREF(Py_None
);
1147 _resultobj
= Py_None
;
1151 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
1152 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1154 wxSashWindow
* _arg0
;
1155 wxSashEdgePosition _arg1
;
1157 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self","edge","visible", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
1171 _arg2
= (bool ) tempbool2
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) return NULL
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
1184 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxSashWindow
* _arg0
;
1187 wxSashEdgePosition _arg1
;
1189 PyObject
* _argo0
= 0;
1191 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1203 _arg2
= (bool ) tempbool2
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) return NULL
;
1210 } Py_INCREF(Py_None
);
1211 _resultobj
= Py_None
;
1215 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1216 wxQueryLayoutInfoEvent
*src
;
1218 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1219 dest
= (wxEvent
*) src
;
1220 return (void *) dest
;
1223 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1224 wxQueryLayoutInfoEvent
*src
;
1226 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1227 dest
= (wxObject
*) src
;
1228 return (void *) dest
;
1231 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1232 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxQueryLayoutInfoEvent
* _result
;
1235 wxWindowID _arg0
= (wxWindowID
) 0;
1236 char *_kwnames
[] = { "id", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) return NULL
;
1249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1250 _resultobj
= Py_BuildValue("s",_ptemp
);
1253 _resultobj
= Py_None
;
1258 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1259 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1261 wxQueryLayoutInfoEvent
* _arg0
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","length", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) return NULL
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1288 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 wxQueryLayoutInfoEvent
* _arg0
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } _resultobj
= Py_BuildValue("i",_result
);
1315 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1316 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1318 wxQueryLayoutInfoEvent
* _arg0
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "self","flags", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1344 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1345 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1348 wxQueryLayoutInfoEvent
* _arg0
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) return NULL
;
1368 } _resultobj
= Py_BuildValue("i",_result
);
1372 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1373 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1375 wxQueryLayoutInfoEvent
* _arg0
;
1377 PyObject
* _argo0
= 0;
1379 PyObject
* _obj1
= 0;
1380 char *_kwnames
[] = { "self","size", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1394 if (! wxSize_helper(_obj1
, &_arg1
))
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1403 } Py_INCREF(Py_None
);
1404 _resultobj
= Py_None
;
1408 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1409 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1412 wxQueryLayoutInfoEvent
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1434 _resultobj
= Py_BuildValue("s",_ptemp
);
1438 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1439 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1441 wxQueryLayoutInfoEvent
* _arg0
;
1442 wxLayoutOrientation _arg1
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self","orient", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } Py_INCREF(Py_None
);
1463 _resultobj
= Py_None
;
1467 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1468 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1470 wxLayoutOrientation _result
;
1471 wxQueryLayoutInfoEvent
* _arg0
;
1472 PyObject
* _argo0
= 0;
1473 char *_kwnames
[] = { "self", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) return NULL
;
1491 } _resultobj
= Py_BuildValue("i",_result
);
1495 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1496 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1498 wxQueryLayoutInfoEvent
* _arg0
;
1499 wxLayoutAlignment _arg1
;
1500 PyObject
* _argo0
= 0;
1501 char *_kwnames
[] = { "self","align", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) return NULL
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1525 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1527 wxLayoutAlignment _result
;
1528 wxQueryLayoutInfoEvent
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) return NULL
;
1548 } _resultobj
= Py_BuildValue("i",_result
);
1552 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1553 wxCalculateLayoutEvent
*src
;
1555 src
= (wxCalculateLayoutEvent
*) ptr
;
1556 dest
= (wxEvent
*) src
;
1557 return (void *) dest
;
1560 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1561 wxCalculateLayoutEvent
*src
;
1563 src
= (wxCalculateLayoutEvent
*) ptr
;
1564 dest
= (wxObject
*) src
;
1565 return (void *) dest
;
1568 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1569 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1571 wxCalculateLayoutEvent
* _result
;
1572 wxWindowID _arg0
= (wxWindowID
) 0;
1573 char *_kwnames
[] = { "id", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) return NULL
;
1586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1587 _resultobj
= Py_BuildValue("s",_ptemp
);
1590 _resultobj
= Py_None
;
1595 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1596 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxCalculateLayoutEvent
* _arg0
;
1600 PyObject
* _argo0
= 0;
1601 char *_kwnames
[] = { "self","flags", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) return NULL
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1625 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1628 wxCalculateLayoutEvent
* _arg0
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) return NULL
;
1648 } _resultobj
= Py_BuildValue("i",_result
);
1652 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1653 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1655 wxCalculateLayoutEvent
* _arg0
;
1657 PyObject
* _argo0
= 0;
1659 PyObject
* _obj1
= 0;
1660 char *_kwnames
[] = { "self","rect", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1674 if (! wxRect_helper(_obj1
, &_arg1
))
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } Py_INCREF(Py_None
);
1684 _resultobj
= Py_None
;
1688 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1689 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 wxCalculateLayoutEvent
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1714 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1719 wxSashLayoutWindow
*src
;
1721 src
= (wxSashLayoutWindow
*) ptr
;
1722 dest
= (wxSashWindow
*) src
;
1723 return (void *) dest
;
1726 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1727 wxSashLayoutWindow
*src
;
1729 src
= (wxSashLayoutWindow
*) ptr
;
1730 dest
= (wxWindow
*) src
;
1731 return (void *) dest
;
1734 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1735 wxSashLayoutWindow
*src
;
1737 src
= (wxSashLayoutWindow
*) ptr
;
1738 dest
= (wxEvtHandler
*) src
;
1739 return (void *) dest
;
1742 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1743 wxSashLayoutWindow
*src
;
1745 src
= (wxSashLayoutWindow
*) ptr
;
1746 dest
= (wxObject
*) src
;
1747 return (void *) dest
;
1750 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1751 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1753 wxSashLayoutWindow
* _result
;
1756 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1757 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1758 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1759 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1760 PyObject
* _argo0
= 0;
1762 PyObject
* _obj2
= 0;
1764 PyObject
* _obj3
= 0;
1765 PyObject
* _obj5
= 0;
1766 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1782 if (! wxPoint_helper(_obj2
, &_arg2
))
1788 if (! wxSize_helper(_obj3
, &_arg3
))
1793 _arg5
= wxString_in_helper(_obj5
);
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1805 _resultobj
= Py_BuildValue("s",_ptemp
);
1808 _resultobj
= Py_None
;
1817 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1818 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxSashLayoutWindow
* _result
;
1821 char *_kwnames
[] = { NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1835 _resultobj
= Py_BuildValue("s",_ptemp
);
1838 _resultobj
= Py_None
;
1843 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1844 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1847 wxSashLayoutWindow
* _arg0
;
1850 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1851 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1852 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1853 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1854 PyObject
* _argo0
= 0;
1855 PyObject
* _argo1
= 0;
1857 PyObject
* _obj3
= 0;
1859 PyObject
* _obj4
= 0;
1860 PyObject
* _obj6
= 0;
1861 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1883 if (! wxPoint_helper(_obj3
, &_arg3
))
1889 if (! wxSize_helper(_obj4
, &_arg4
))
1894 _arg6
= wxString_in_helper(_obj6
);
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) return NULL
;
1904 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1913 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 wxLayoutAlignment _result
;
1916 wxSashLayoutWindow
* _arg0
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1936 } _resultobj
= Py_BuildValue("i",_result
);
1940 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1941 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1943 wxLayoutOrientation _result
;
1944 wxSashLayoutWindow
* _arg0
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 } _resultobj
= Py_BuildValue("i",_result
);
1968 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1969 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1971 wxSashLayoutWindow
* _arg0
;
1972 wxLayoutAlignment _arg1
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","alignment", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1998 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2000 wxSashLayoutWindow
* _arg0
;
2002 PyObject
* _argo0
= 0;
2004 PyObject
* _obj1
= 0;
2005 char *_kwnames
[] = { "self","size", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
2019 if (! wxSize_helper(_obj1
, &_arg1
))
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) return NULL
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2034 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2036 wxSashLayoutWindow
* _arg0
;
2037 wxLayoutOrientation _arg1
;
2038 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self","orientation", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } Py_INCREF(Py_None
);
2058 _resultobj
= Py_None
;
2062 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
2063 wxLayoutAlgorithm
*src
;
2065 src
= (wxLayoutAlgorithm
*) ptr
;
2066 dest
= (wxObject
*) src
;
2067 return (void *) dest
;
2070 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
2071 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2073 wxLayoutAlgorithm
* _result
;
2074 char *_kwnames
[] = { NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
2088 _resultobj
= Py_BuildValue("s",_ptemp
);
2091 _resultobj
= Py_None
;
2096 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
2097 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2099 wxLayoutAlgorithm
* _arg0
;
2100 PyObject
* _argo0
= 0;
2101 char *_kwnames
[] = { "self", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 delete_wxLayoutAlgorithm(_arg0
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
2125 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2128 wxLayoutAlgorithm
* _arg0
;
2129 wxMDIParentFrame
* _arg1
;
2130 wxRect
* _arg2
= (wxRect
*) NULL
;
2131 PyObject
* _argo0
= 0;
2132 PyObject
* _argo1
= 0;
2134 PyObject
* _obj2
= 0;
2135 char *_kwnames
[] = { "self","frame","rect", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
2148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
2157 if (! wxRect_helper(_obj2
, &_arg2
))
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } _resultobj
= Py_BuildValue("i",_result
);
2170 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
2171 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2174 wxLayoutAlgorithm
* _arg0
;
2176 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2177 PyObject
* _argo0
= 0;
2178 PyObject
* _argo1
= 0;
2179 PyObject
* _argo2
= 0;
2180 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2200 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } _resultobj
= Py_BuildValue("i",_result
);
2216 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2217 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2220 wxLayoutAlgorithm
* _arg0
;
2222 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2223 PyObject
* _argo0
= 0;
2224 PyObject
* _argo1
= 0;
2225 PyObject
* _argo2
= 0;
2226 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2246 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2258 } _resultobj
= Py_BuildValue("i",_result
);
2262 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2265 src
= (wxPopupWindow
*) ptr
;
2266 dest
= (wxWindow
*) src
;
2267 return (void *) dest
;
2270 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2273 src
= (wxPopupWindow
*) ptr
;
2274 dest
= (wxEvtHandler
*) src
;
2275 return (void *) dest
;
2278 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2281 src
= (wxPopupWindow
*) ptr
;
2282 dest
= (wxObject
*) src
;
2283 return (void *) dest
;
2286 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2287 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2289 wxPopupWindow
* _result
;
2291 int _arg1
= (int ) wxBORDER_NONE
;
2292 PyObject
* _argo0
= 0;
2293 char *_kwnames
[] = { "parent","flags", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2314 _resultobj
= Py_BuildValue("s",_ptemp
);
2317 _resultobj
= Py_None
;
2322 #define new_wxPrePopupWindow() (new wxPopupWindow())
2323 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2325 wxPopupWindow
* _result
;
2326 char *_kwnames
[] = { NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2343 _resultobj
= Py_None
;
2348 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2349 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxPopupWindow
* _arg0
;
2354 int _arg2
= (int ) wxBORDER_NONE
;
2355 PyObject
* _argo0
= 0;
2356 PyObject
* _argo1
= 0;
2357 char *_kwnames
[] = { "self","parent","flags", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2387 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2389 wxPopupWindow
* _arg0
;
2392 PyObject
* _argo0
= 0;
2394 PyObject
* _obj1
= 0;
2396 PyObject
* _obj2
= 0;
2397 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2411 if (! wxPoint_helper(_obj1
, &_arg1
))
2416 if (! wxSize_helper(_obj2
, &_arg2
))
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) return NULL
;
2425 } Py_INCREF(Py_None
);
2426 _resultobj
= Py_None
;
2430 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2431 wxPyPopupTransientWindow
*src
;
2432 wxPopupWindow
*dest
;
2433 src
= (wxPyPopupTransientWindow
*) ptr
;
2434 dest
= (wxPopupWindow
*) src
;
2435 return (void *) dest
;
2438 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2439 wxPyPopupTransientWindow
*src
;
2441 src
= (wxPyPopupTransientWindow
*) ptr
;
2442 dest
= (wxWindow
*) src
;
2443 return (void *) dest
;
2446 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2447 wxPyPopupTransientWindow
*src
;
2449 src
= (wxPyPopupTransientWindow
*) ptr
;
2450 dest
= (wxEvtHandler
*) src
;
2451 return (void *) dest
;
2454 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2455 wxPyPopupTransientWindow
*src
;
2457 src
= (wxPyPopupTransientWindow
*) ptr
;
2458 dest
= (wxObject
*) src
;
2459 return (void *) dest
;
2462 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2463 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2465 wxPyPopupTransientWindow
* _result
;
2467 int _arg1
= (int ) wxBORDER_NONE
;
2468 PyObject
* _argo0
= 0;
2469 char *_kwnames
[] = { "parent","style", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2490 _resultobj
= Py_BuildValue("s",_ptemp
);
2493 _resultobj
= Py_None
;
2498 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2499 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2501 wxPyPopupTransientWindow
* _result
;
2502 char *_kwnames
[] = { NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) return NULL
;
2515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2516 _resultobj
= Py_BuildValue("s",_ptemp
);
2519 _resultobj
= Py_None
;
2524 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2525 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2527 wxPyPopupTransientWindow
* _arg0
;
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _obj1
= 0;
2532 PyObject
* _obj2
= 0;
2533 char *_kwnames
[] = { "self","self","_class", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) return NULL
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2563 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2565 wxPyPopupTransientWindow
* _arg0
;
2566 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2567 PyObject
* _argo0
= 0;
2568 PyObject
* _argo1
= 0;
2569 char *_kwnames
[] = { "self","focus", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) return NULL
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2600 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2602 wxPyPopupTransientWindow
* _arg0
;
2603 PyObject
* _argo0
= 0;
2604 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 wxPopupTransientWindow_Dismiss(_arg0
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2629 wxPyPopupTransientWindow
*dest
;
2630 src
= (wxTipWindow
*) ptr
;
2631 dest
= (wxPyPopupTransientWindow
*) src
;
2632 return (void *) dest
;
2635 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2637 wxPopupWindow
*dest
;
2638 src
= (wxTipWindow
*) ptr
;
2639 dest
= (wxPopupWindow
*) src
;
2640 return (void *) dest
;
2643 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2646 src
= (wxTipWindow
*) ptr
;
2647 dest
= (wxWindow
*) src
;
2648 return (void *) dest
;
2651 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2654 src
= (wxTipWindow
*) ptr
;
2655 dest
= (wxEvtHandler
*) src
;
2656 return (void *) dest
;
2659 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2662 src
= (wxTipWindow
*) ptr
;
2663 dest
= (wxObject
*) src
;
2664 return (void *) dest
;
2667 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2668 wxString tmp
= *text
;
2669 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2672 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2674 wxTipWindow
* _result
;
2677 wxCoord _arg2
= (wxCoord
) 100;
2678 wxRect
* _arg3
= (wxRect
*) NULL
;
2679 PyObject
* _argo0
= 0;
2680 PyObject
* _obj1
= 0;
2682 PyObject
* _obj3
= 0;
2683 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2697 _arg1
= wxString_in_helper(_obj1
);
2704 if (! wxRect_helper(_obj3
, &_arg3
))
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) return NULL
;
2714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2715 _resultobj
= Py_BuildValue("s",_ptemp
);
2718 _resultobj
= Py_None
;
2727 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2728 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2730 wxTipWindow
* _arg0
;
2732 PyObject
* _argo0
= 0;
2734 PyObject
* _obj1
= 0;
2735 char *_kwnames
[] = { "self","rectBound", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2749 if (! wxRect_helper(_obj1
, &_arg1
))
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) return NULL
;
2758 } Py_INCREF(Py_None
);
2759 _resultobj
= Py_None
;
2763 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2764 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2766 wxTipWindow
* _arg0
;
2767 PyObject
* _argo0
= 0;
2768 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 wxTipWindow_Close(_arg0
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) return NULL
;
2786 } Py_INCREF(Py_None
);
2787 _resultobj
= Py_None
;
2791 static void *SwigwxPyVScrolledWindowTowxPanel(void *ptr
) {
2792 wxPyVScrolledWindow
*src
;
2794 src
= (wxPyVScrolledWindow
*) ptr
;
2795 dest
= (wxPanel
*) src
;
2796 return (void *) dest
;
2799 static void *SwigwxPyVScrolledWindowTowxWindow(void *ptr
) {
2800 wxPyVScrolledWindow
*src
;
2802 src
= (wxPyVScrolledWindow
*) ptr
;
2803 dest
= (wxWindow
*) src
;
2804 return (void *) dest
;
2807 static void *SwigwxPyVScrolledWindowTowxEvtHandler(void *ptr
) {
2808 wxPyVScrolledWindow
*src
;
2810 src
= (wxPyVScrolledWindow
*) ptr
;
2811 dest
= (wxEvtHandler
*) src
;
2812 return (void *) dest
;
2815 static void *SwigwxPyVScrolledWindowTowxObject(void *ptr
) {
2816 wxPyVScrolledWindow
*src
;
2818 src
= (wxPyVScrolledWindow
*) ptr
;
2819 dest
= (wxObject
*) src
;
2820 return (void *) dest
;
2823 #define new_wxVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2824 static PyObject
*_wrap_new_wxVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2826 wxPyVScrolledWindow
* _result
;
2828 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
2829 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2830 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2831 long _arg4
= (long ) 0;
2832 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2833 PyObject
* _argo0
= 0;
2835 PyObject
* _obj2
= 0;
2837 PyObject
* _obj3
= 0;
2838 PyObject
* _obj5
= 0;
2839 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxVScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxVScrolledWindow. Expected _wxWindow_p.");
2855 if (! wxPoint_helper(_obj2
, &_arg2
))
2861 if (! wxSize_helper(_obj3
, &_arg3
))
2866 _arg5
= wxString_in_helper(_obj5
);
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (wxPyVScrolledWindow
*)new_wxVScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVScrolledWindow_p");
2878 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 _resultobj
= Py_None
;
2890 #define new_wxPreVScrolledWindow() (new wxPyVScrolledWindow())
2891 static PyObject
*_wrap_new_wxPreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2893 wxPyVScrolledWindow
* _result
;
2894 char *_kwnames
[] = { NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreVScrolledWindow",_kwnames
))
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 _result
= (wxPyVScrolledWindow
*)new_wxPreVScrolledWindow();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVScrolledWindow_p");
2908 _resultobj
= Py_BuildValue("s",_ptemp
);
2911 _resultobj
= Py_None
;
2916 #define wxVScrolledWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2917 static PyObject
*_wrap_wxVScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2919 wxPyVScrolledWindow
* _arg0
;
2922 PyObject
* _argo0
= 0;
2923 PyObject
* _obj1
= 0;
2924 PyObject
* _obj2
= 0;
2925 char *_kwnames
[] = { "self","self","_class", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxVScrolledWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow__setCallbackInfo. Expected _wxPyVScrolledWindow_p.");
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 wxVScrolledWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) return NULL
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define wxVScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2955 static PyObject
*_wrap_wxVScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 wxPyVScrolledWindow
* _arg0
;
2960 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
2961 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2962 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2963 long _arg5
= (long ) 0;
2964 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
2965 PyObject
* _argo0
= 0;
2966 PyObject
* _argo1
= 0;
2968 PyObject
* _obj3
= 0;
2970 PyObject
* _obj4
= 0;
2971 PyObject
* _obj6
= 0;
2972 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxVScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_Create. Expected _wxPyVScrolledWindow_p.");
2985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVScrolledWindow_Create. Expected _wxWindow_p.");
2994 if (! wxPoint_helper(_obj3
, &_arg3
))
3000 if (! wxSize_helper(_obj4
, &_arg4
))
3005 _arg6
= wxString_in_helper(_obj6
);
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (bool )wxVScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3023 #define wxVScrolledWindow_SetLineCount(_swigobj,_swigarg0) (_swigobj->SetLineCount(_swigarg0))
3024 static PyObject
*_wrap_wxVScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxPyVScrolledWindow
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","count", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_SetLineCount",_kwnames
,&_argo0
,&_arg1
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_SetLineCount. Expected _wxPyVScrolledWindow_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 wxVScrolledWindow_SetLineCount(_arg0
,_arg1
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } Py_INCREF(Py_None
);
3048 _resultobj
= Py_None
;
3052 #define wxVScrolledWindow_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
3053 static PyObject
*_wrap_wxVScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3056 wxPyVScrolledWindow
* _arg0
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self","line", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollToLine",_kwnames
,&_argo0
,&_arg1
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollToLine. Expected _wxPyVScrolledWindow_p.");
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 _result
= (bool )wxVScrolledWindow_ScrollToLine(_arg0
,_arg1
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3077 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define wxVScrolledWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
3082 static PyObject
*_wrap_wxVScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3085 wxPyVScrolledWindow
* _arg0
;
3087 PyObject
* _argo0
= 0;
3088 char *_kwnames
[] = { "self","lines", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollLines. Expected _wxPyVScrolledWindow_p.");
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 _result
= (bool )wxVScrolledWindow_ScrollLines(_arg0
,_arg1
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxVScrolledWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
3111 static PyObject
*_wrap_wxVScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxPyVScrolledWindow
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","pages", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollPages. Expected _wxPyVScrolledWindow_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (bool )wxVScrolledWindow_ScrollPages(_arg0
,_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxVScrolledWindow_RefreshLine(_swigobj,_swigarg0) (_swigobj->RefreshLine(_swigarg0))
3140 static PyObject
*_wrap_wxVScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxPyVScrolledWindow
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self","line", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_RefreshLine",_kwnames
,&_argo0
,&_arg1
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshLine. Expected _wxPyVScrolledWindow_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 wxVScrolledWindow_RefreshLine(_arg0
,_arg1
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define wxVScrolledWindow_RefreshLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshLines(_swigarg0,_swigarg1))
3169 static PyObject
*_wrap_wxVScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3171 wxPyVScrolledWindow
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self","from","to", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVScrolledWindow_RefreshLines",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshLines. Expected _wxPyVScrolledWindow_p.");
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxVScrolledWindow_RefreshLines(_arg0
,_arg1
,_arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxVScrolledWindow_HitTestXT(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3199 static PyObject
*_wrap_wxVScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3202 wxPyVScrolledWindow
* _arg0
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","x","y", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVScrolledWindow_HitTestXT",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_HitTestXT. Expected _wxPyVScrolledWindow_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 _result
= (int )wxVScrolledWindow_HitTestXT(_arg0
,_arg1
,_arg2
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } _resultobj
= Py_BuildValue("i",_result
);
3228 #define wxVScrolledWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3229 static PyObject
*_wrap_wxVScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3232 wxPyVScrolledWindow
* _arg0
;
3234 PyObject
* _argo0
= 0;
3236 PyObject
* _obj1
= 0;
3237 char *_kwnames
[] = { "self","pt", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVScrolledWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_HitTest. Expected _wxPyVScrolledWindow_p.");
3251 if (! wxPoint_helper(_obj1
, &_arg1
))
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 _result
= (int )wxVScrolledWindow_HitTest(_arg0
,*_arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } _resultobj
= Py_BuildValue("i",_result
);
3264 #define wxVScrolledWindow_RefreshAll(_swigobj) (_swigobj->RefreshAll())
3265 static PyObject
*_wrap_wxVScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxPyVScrolledWindow
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_RefreshAll",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshAll. Expected _wxPyVScrolledWindow_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 wxVScrolledWindow_RefreshAll(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define wxVScrolledWindow_GetLineCount(_swigobj) (_swigobj->GetLineCount())
3293 static PyObject
*_wrap_wxVScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3296 wxPyVScrolledWindow
* _arg0
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetLineCount",_kwnames
,&_argo0
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetLineCount. Expected _wxPyVScrolledWindow_p.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 _result
= (size_t )wxVScrolledWindow_GetLineCount(_arg0
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } _resultobj
= Py_BuildValue("i",_result
);
3320 #define wxVScrolledWindow_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
3321 static PyObject
*_wrap_wxVScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3324 wxPyVScrolledWindow
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetFirstVisibleLine",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetFirstVisibleLine. Expected _wxPyVScrolledWindow_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= (size_t )wxVScrolledWindow_GetFirstVisibleLine(_arg0
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 #define wxVScrolledWindow_GetLastVisibleLine(_swigobj) (_swigobj->GetLastVisibleLine())
3349 static PyObject
*_wrap_wxVScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3352 wxPyVScrolledWindow
* _arg0
;
3353 PyObject
* _argo0
= 0;
3354 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetLastVisibleLine",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetLastVisibleLine. Expected _wxPyVScrolledWindow_p.");
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 _result
= (size_t )wxVScrolledWindow_GetLastVisibleLine(_arg0
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3372 } _resultobj
= Py_BuildValue("i",_result
);
3376 #define wxVScrolledWindow_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3377 static PyObject
*_wrap_wxVScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3380 wxPyVScrolledWindow
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self","line", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_IsVisible",_kwnames
,&_argo0
,&_arg1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_IsVisible. Expected _wxPyVScrolledWindow_p.");
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 _result
= (bool )wxVScrolledWindow_IsVisible(_arg0
,_arg1
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) return NULL
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 static void *SwigwxPyVListBoxTowxPyVScrolledWindow(void *ptr
) {
3407 wxPyVScrolledWindow
*dest
;
3408 src
= (wxPyVListBox
*) ptr
;
3409 dest
= (wxPyVScrolledWindow
*) src
;
3410 return (void *) dest
;
3413 static void *SwigwxPyVListBoxTowxPanel(void *ptr
) {
3416 src
= (wxPyVListBox
*) ptr
;
3417 dest
= (wxPanel
*) src
;
3418 return (void *) dest
;
3421 static void *SwigwxPyVListBoxTowxWindow(void *ptr
) {
3424 src
= (wxPyVListBox
*) ptr
;
3425 dest
= (wxWindow
*) src
;
3426 return (void *) dest
;
3429 static void *SwigwxPyVListBoxTowxEvtHandler(void *ptr
) {
3432 src
= (wxPyVListBox
*) ptr
;
3433 dest
= (wxEvtHandler
*) src
;
3434 return (void *) dest
;
3437 static void *SwigwxPyVListBoxTowxObject(void *ptr
) {
3440 src
= (wxPyVListBox
*) ptr
;
3441 dest
= (wxObject
*) src
;
3442 return (void *) dest
;
3445 #define new_wxVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3446 static PyObject
*_wrap_new_wxVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3448 wxPyVListBox
* _result
;
3450 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
3451 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3452 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3453 long _arg4
= (long ) 0;
3454 wxString
* _arg5
= (wxString
*) &wxPyVListBoxNameStr
;
3455 PyObject
* _argo0
= 0;
3457 PyObject
* _obj2
= 0;
3459 PyObject
* _obj3
= 0;
3460 PyObject
* _obj5
= 0;
3461 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxVListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxVListBox. Expected _wxWindow_p.");
3477 if (! wxPoint_helper(_obj2
, &_arg2
))
3483 if (! wxSize_helper(_obj3
, &_arg3
))
3488 _arg5
= wxString_in_helper(_obj5
);
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= (wxPyVListBox
*)new_wxVListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVListBox_p");
3500 _resultobj
= Py_BuildValue("s",_ptemp
);
3503 _resultobj
= Py_None
;
3512 #define new_wxPreVListBox() (new wxPyVListBox())
3513 static PyObject
*_wrap_new_wxPreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3515 wxPyVListBox
* _result
;
3516 char *_kwnames
[] = { NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreVListBox",_kwnames
))
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (wxPyVListBox
*)new_wxPreVListBox();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVListBox_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3538 #define wxVListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_wxVListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3541 wxPyVListBox
* _arg0
;
3544 PyObject
* _argo0
= 0;
3545 PyObject
* _obj1
= 0;
3546 PyObject
* _obj2
= 0;
3547 char *_kwnames
[] = { "self","self","_class", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxVListBox__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox__setCallbackInfo. Expected _wxPyVListBox_p.");
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 wxVListBox__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) return NULL
;
3571 } Py_INCREF(Py_None
);
3572 _resultobj
= Py_None
;
3576 #define wxVListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3577 static PyObject
*_wrap_wxVListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3580 wxPyVListBox
* _arg0
;
3582 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
3583 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3584 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3585 long _arg5
= (long ) 0;
3586 wxString
* _arg6
= (wxString
*) &wxPyVListBoxNameStr
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _argo1
= 0;
3590 PyObject
* _obj3
= 0;
3592 PyObject
* _obj4
= 0;
3593 PyObject
* _obj6
= 0;
3594 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxVListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Create. Expected _wxPyVListBox_p.");
3607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_Create. Expected _wxWindow_p.");
3616 if (! wxPoint_helper(_obj3
, &_arg3
))
3622 if (! wxSize_helper(_obj4
, &_arg4
))
3627 _arg6
= wxString_in_helper(_obj6
);
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 _result
= (bool )wxVListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) return NULL
;
3637 } _resultobj
= Py_BuildValue("i",_result
);
3645 #define wxVListBox_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3646 static PyObject
*_wrap_wxVListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxPyVListBox
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetItemCount",_kwnames
,&_argo0
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetItemCount. Expected _wxPyVListBox_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 _result
= (size_t )wxVListBox_GetItemCount(_arg0
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } _resultobj
= Py_BuildValue("i",_result
);
3673 #define wxVListBox_HasMultipleSelection(_swigobj) (_swigobj->HasMultipleSelection())
3674 static PyObject
*_wrap_wxVListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3677 wxPyVListBox
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_HasMultipleSelection",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_HasMultipleSelection. Expected _wxPyVListBox_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (bool )wxVListBox_HasMultipleSelection(_arg0
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxVListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3702 static PyObject
*_wrap_wxVListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3705 wxPyVListBox
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelection",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelection. Expected _wxPyVListBox_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 _result
= (int )wxVListBox_GetSelection(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define wxVListBox_IsCurrent(_swigobj,_swigarg0) (_swigobj->IsCurrent(_swigarg0))
3730 static PyObject
*_wrap_wxVListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxPyVListBox
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "self","item", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_IsCurrent",_kwnames
,&_argo0
,&_arg1
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_IsCurrent. Expected _wxPyVListBox_p.");
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 _result
= (bool )wxVListBox_IsCurrent(_arg0
,_arg1
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) return NULL
;
3754 } _resultobj
= Py_BuildValue("i",_result
);
3758 #define wxVListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3759 static PyObject
*_wrap_wxVListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3762 wxPyVListBox
* _arg0
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self","item", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_IsSelected. Expected _wxPyVListBox_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 _result
= (bool )wxVListBox_IsSelected(_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } _resultobj
= Py_BuildValue("i",_result
);
3787 #define wxVListBox_GetSelectedCount(_swigobj) (_swigobj->GetSelectedCount())
3788 static PyObject
*_wrap_wxVListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3791 wxPyVListBox
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelectedCount",_kwnames
,&_argo0
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelectedCount. Expected _wxPyVListBox_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (size_t )wxVListBox_GetSelectedCount(_arg0
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3811 } _resultobj
= Py_BuildValue("i",_result
);
3815 #define wxVListBox_GetFirstSelected(_swigobj,_swigarg0) (_swigobj->GetFirstSelected(_swigarg0))
3816 static PyObject
*_wrap_wxVListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3819 wxPyVListBox
* _arg0
;
3820 unsigned long * _arg1
;
3821 PyObject
* _argo0
= 0;
3822 PyObject
* _argo1
= 0;
3823 char *_kwnames
[] = { "self","cookie", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_GetFirstSelected",_kwnames
,&_argo0
,&_argo1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetFirstSelected. Expected _wxPyVListBox_p.");
3836 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_unsigned_long_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_GetFirstSelected. Expected _unsigned_long_p.");
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 _result
= (int )wxVListBox_GetFirstSelected(_arg0
,*_arg1
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) return NULL
;
3847 } _resultobj
= Py_BuildValue("i",_result
);
3851 #define wxVListBox_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
3852 static PyObject
*_wrap_wxVListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3855 wxPyVListBox
* _arg0
;
3856 unsigned long * _arg1
;
3857 PyObject
* _argo0
= 0;
3858 PyObject
* _argo1
= 0;
3859 char *_kwnames
[] = { "self","cookie", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_GetNextSelected",_kwnames
,&_argo0
,&_argo1
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetNextSelected. Expected _wxPyVListBox_p.");
3872 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_unsigned_long_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_GetNextSelected. Expected _unsigned_long_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= (int )wxVListBox_GetNextSelected(_arg0
,*_arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxVListBox_GetMargins(_swigobj) (_swigobj->GetMargins())
3888 static PyObject
*_wrap_wxVListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxPyVListBox
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetMargins",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetMargins. Expected _wxPyVListBox_p.");
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 _result
= new wxPoint (wxVListBox_GetMargins(_arg0
));
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3913 _resultobj
= Py_BuildValue("s",_ptemp
);
3917 #define wxVListBox_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
3918 static PyObject
*_wrap_wxVListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxPyVListBox
* _arg0
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelectionBackground",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelectionBackground. Expected _wxPyVListBox_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 const wxColour
& _result_ref
= wxVListBox_GetSelectionBackground(_arg0
);
3939 _result
= (wxColour
*) &_result_ref
;
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3945 _resultobj
= Py_BuildValue("s",_ptemp
);
3948 _resultobj
= Py_None
;
3953 #define wxVListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
3954 static PyObject
*_wrap_wxVListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3956 wxPyVListBox
* _arg0
;
3958 PyObject
* _argo0
= 0;
3959 char *_kwnames
[] = { "self","count", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetItemCount. Expected _wxPyVListBox_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 wxVListBox_SetItemCount(_arg0
,_arg1
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3977 } Py_INCREF(Py_None
);
3978 _resultobj
= Py_None
;
3982 #define wxVListBox_Clear(_swigobj) (_swigobj->Clear())
3983 static PyObject
*_wrap_wxVListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3985 wxPyVListBox
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_Clear",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Clear. Expected _wxPyVListBox_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxVListBox_Clear(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxVListBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
4011 static PyObject
*_wrap_wxVListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4013 wxPyVListBox
* _arg0
;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self","selection", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetSelection. Expected _wxPyVListBox_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxVListBox_SetSelection(_arg0
,_arg1
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxVListBox_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
4040 static PyObject
*_wrap_wxVListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 wxPyVListBox
* _arg0
;
4045 bool _arg2
= (bool ) true;
4046 PyObject
* _argo0
= 0;
4047 int tempbool2
= (int) true;
4048 char *_kwnames
[] = { "self","item","select", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxVListBox_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Select. Expected _wxPyVListBox_p.");
4060 _arg2
= (bool ) tempbool2
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 _result
= (bool )wxVListBox_Select(_arg0
,_arg1
,_arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxVListBox_SelectRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRange(_swigarg0,_swigarg1))
4072 static PyObject
*_wrap_wxVListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4075 wxPyVListBox
* _arg0
;
4078 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self","from","to", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVListBox_SelectRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SelectRange. Expected _wxPyVListBox_p.");
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (bool )wxVListBox_SelectRange(_arg0
,_arg1
,_arg2
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } _resultobj
= Py_BuildValue("i",_result
);
4101 #define wxVListBox_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4102 static PyObject
*_wrap_wxVListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4104 wxPyVListBox
* _arg0
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self","item", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_Toggle",_kwnames
,&_argo0
,&_arg1
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Toggle. Expected _wxPyVListBox_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxVListBox_Toggle(_arg0
,_arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxVListBox_SelectAll(_swigobj) (_swigobj->SelectAll())
4131 static PyObject
*_wrap_wxVListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4134 wxPyVListBox
* _arg0
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_SelectAll",_kwnames
,&_argo0
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SelectAll. Expected _wxPyVListBox_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (bool )wxVListBox_SelectAll(_arg0
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } _resultobj
= Py_BuildValue("i",_result
);
4158 #define wxVListBox_DeselectAll(_swigobj) (_swigobj->DeselectAll())
4159 static PyObject
*_wrap_wxVListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4162 wxPyVListBox
* _arg0
;
4163 PyObject
* _argo0
= 0;
4164 char *_kwnames
[] = { "self", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_DeselectAll",_kwnames
,&_argo0
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_DeselectAll. Expected _wxPyVListBox_p.");
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 _result
= (bool )wxVListBox_DeselectAll(_arg0
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 } _resultobj
= Py_BuildValue("i",_result
);
4186 #define wxVListBox_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
4187 static PyObject
*_wrap_wxVListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4189 wxPyVListBox
* _arg0
;
4191 PyObject
* _argo0
= 0;
4193 PyObject
* _obj1
= 0;
4194 char *_kwnames
[] = { "self","pt", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_SetMargins",_kwnames
,&_argo0
,&_obj1
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetMargins. Expected _wxPyVListBox_p.");
4208 if (! wxPoint_helper(_obj1
, &_arg1
))
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxVListBox_SetMargins(_arg0
,*_arg1
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxVListBox_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_wxVListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxPyVListBox
* _arg0
;
4228 PyObject
* _argo0
= 0;
4229 char *_kwnames
[] = { "self","x","y", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVListBox_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetMarginsXY. Expected _wxPyVListBox_p.");
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxVListBox_SetMarginsXY(_arg0
,_arg1
,_arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxVListBox_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
4253 static PyObject
*_wrap_wxVListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxPyVListBox
* _arg0
;
4257 PyObject
* _argo0
= 0;
4259 PyObject
* _obj1
= 0;
4260 char *_kwnames
[] = { "self","col", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetSelectionBackground. Expected _wxPyVListBox_p.");
4274 if (! wxColour_helper(_obj1
, &_arg1
))
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxVListBox_SetSelectionBackground(_arg0
,*_arg1
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) return NULL
;
4283 } Py_INCREF(Py_None
);
4284 _resultobj
= Py_None
;
4288 static void *SwigwxPyHtmlListBoxTowxPyVListBox(void *ptr
) {
4289 wxPyHtmlListBox
*src
;
4291 src
= (wxPyHtmlListBox
*) ptr
;
4292 dest
= (wxPyVListBox
*) src
;
4293 return (void *) dest
;
4296 static void *SwigwxPyHtmlListBoxTowxPyVScrolledWindow(void *ptr
) {
4297 wxPyHtmlListBox
*src
;
4298 wxPyVScrolledWindow
*dest
;
4299 src
= (wxPyHtmlListBox
*) ptr
;
4300 dest
= (wxPyVScrolledWindow
*) src
;
4301 return (void *) dest
;
4304 static void *SwigwxPyHtmlListBoxTowxPanel(void *ptr
) {
4305 wxPyHtmlListBox
*src
;
4307 src
= (wxPyHtmlListBox
*) ptr
;
4308 dest
= (wxPanel
*) src
;
4309 return (void *) dest
;
4312 static void *SwigwxPyHtmlListBoxTowxWindow(void *ptr
) {
4313 wxPyHtmlListBox
*src
;
4315 src
= (wxPyHtmlListBox
*) ptr
;
4316 dest
= (wxWindow
*) src
;
4317 return (void *) dest
;
4320 static void *SwigwxPyHtmlListBoxTowxEvtHandler(void *ptr
) {
4321 wxPyHtmlListBox
*src
;
4323 src
= (wxPyHtmlListBox
*) ptr
;
4324 dest
= (wxEvtHandler
*) src
;
4325 return (void *) dest
;
4328 static void *SwigwxPyHtmlListBoxTowxObject(void *ptr
) {
4329 wxPyHtmlListBox
*src
;
4331 src
= (wxPyHtmlListBox
*) ptr
;
4332 dest
= (wxObject
*) src
;
4333 return (void *) dest
;
4336 #define new_wxHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4337 static PyObject
*_wrap_new_wxHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4339 wxPyHtmlListBox
* _result
;
4341 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
4342 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4343 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4344 long _arg4
= (long ) 0;
4345 wxString
* _arg5
= (wxString
*) &wxPyVListBoxNameStr
;
4346 PyObject
* _argo0
= 0;
4348 PyObject
* _obj2
= 0;
4350 PyObject
* _obj3
= 0;
4351 PyObject
* _obj5
= 0;
4352 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxHtmlListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlListBox. Expected _wxWindow_p.");
4368 if (! wxPoint_helper(_obj2
, &_arg2
))
4374 if (! wxSize_helper(_obj3
, &_arg3
))
4379 _arg5
= wxString_in_helper(_obj5
);
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 _result
= (wxPyHtmlListBox
*)new_wxHtmlListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlListBox_p");
4391 _resultobj
= Py_BuildValue("s",_ptemp
);
4394 _resultobj
= Py_None
;
4403 #define new_wxPreHtmlListBox() (new wxPyHtmlListBox())
4404 static PyObject
*_wrap_new_wxPreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4406 wxPyHtmlListBox
* _result
;
4407 char *_kwnames
[] = { NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlListBox",_kwnames
))
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 _result
= (wxPyHtmlListBox
*)new_wxPreHtmlListBox();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlListBox_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4424 _resultobj
= Py_None
;
4429 #define wxHtmlListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4430 static PyObject
*_wrap_wxHtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxPyHtmlListBox
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 PyObject
* _obj1
= 0;
4437 PyObject
* _obj2
= 0;
4438 char *_kwnames
[] = { "self","self","_class", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlListBox__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox__setCallbackInfo. Expected _wxPyHtmlListBox_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxHtmlListBox__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4467 #define wxHtmlListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4468 static PyObject
*_wrap_wxHtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4471 wxPyHtmlListBox
* _arg0
;
4473 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
4474 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4475 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4476 long _arg5
= (long ) 0;
4477 wxString
* _arg6
= (wxString
*) &wxPyVListBoxNameStr
;
4478 PyObject
* _argo0
= 0;
4479 PyObject
* _argo1
= 0;
4481 PyObject
* _obj3
= 0;
4483 PyObject
* _obj4
= 0;
4484 PyObject
* _obj6
= 0;
4485 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxHtmlListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_Create. Expected _wxPyHtmlListBox_p.");
4498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlListBox_Create. Expected _wxWindow_p.");
4507 if (! wxPoint_helper(_obj3
, &_arg3
))
4513 if (! wxSize_helper(_obj4
, &_arg4
))
4518 _arg6
= wxString_in_helper(_obj6
);
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 _result
= (bool )wxHtmlListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) return NULL
;
4528 } _resultobj
= Py_BuildValue("i",_result
);
4536 #define wxHtmlListBox_RefreshAll(_swigobj) (_swigobj->RefreshAll())
4537 static PyObject
*_wrap_wxHtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 wxPyHtmlListBox
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlListBox_RefreshAll",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_RefreshAll. Expected _wxPyHtmlListBox_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxHtmlListBox_RefreshAll(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxHtmlListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4565 static PyObject
*_wrap_wxHtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4567 wxPyHtmlListBox
* _arg0
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self","count", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlListBox_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_SetItemCount. Expected _wxPyHtmlListBox_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 wxHtmlListBox_SetItemCount(_arg0
,_arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } Py_INCREF(Py_None
);
4589 _resultobj
= Py_None
;
4593 static PyMethodDef windows3cMethods
[] = {
4594 { "wxHtmlListBox_SetItemCount", (PyCFunction
) _wrap_wxHtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4595 { "wxHtmlListBox_RefreshAll", (PyCFunction
) _wrap_wxHtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
4596 { "wxHtmlListBox_Create", (PyCFunction
) _wrap_wxHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
4597 { "wxHtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4598 { "new_wxPreHtmlListBox", (PyCFunction
) _wrap_new_wxPreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
4599 { "new_wxHtmlListBox", (PyCFunction
) _wrap_new_wxHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
4600 { "wxVListBox_SetSelectionBackground", (PyCFunction
) _wrap_wxVListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
4601 { "wxVListBox_SetMarginsXY", (PyCFunction
) _wrap_wxVListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
4602 { "wxVListBox_SetMargins", (PyCFunction
) _wrap_wxVListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
4603 { "wxVListBox_DeselectAll", (PyCFunction
) _wrap_wxVListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
4604 { "wxVListBox_SelectAll", (PyCFunction
) _wrap_wxVListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
4605 { "wxVListBox_Toggle", (PyCFunction
) _wrap_wxVListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
4606 { "wxVListBox_SelectRange", (PyCFunction
) _wrap_wxVListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
4607 { "wxVListBox_Select", (PyCFunction
) _wrap_wxVListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
4608 { "wxVListBox_SetSelection", (PyCFunction
) _wrap_wxVListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4609 { "wxVListBox_Clear", (PyCFunction
) _wrap_wxVListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4610 { "wxVListBox_SetItemCount", (PyCFunction
) _wrap_wxVListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4611 { "wxVListBox_GetSelectionBackground", (PyCFunction
) _wrap_wxVListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
4612 { "wxVListBox_GetMargins", (PyCFunction
) _wrap_wxVListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
4613 { "wxVListBox_GetNextSelected", (PyCFunction
) _wrap_wxVListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
4614 { "wxVListBox_GetFirstSelected", (PyCFunction
) _wrap_wxVListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
4615 { "wxVListBox_GetSelectedCount", (PyCFunction
) _wrap_wxVListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
4616 { "wxVListBox_IsSelected", (PyCFunction
) _wrap_wxVListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
4617 { "wxVListBox_IsCurrent", (PyCFunction
) _wrap_wxVListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
4618 { "wxVListBox_GetSelection", (PyCFunction
) _wrap_wxVListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4619 { "wxVListBox_HasMultipleSelection", (PyCFunction
) _wrap_wxVListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
4620 { "wxVListBox_GetItemCount", (PyCFunction
) _wrap_wxVListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4621 { "wxVListBox_Create", (PyCFunction
) _wrap_wxVListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
4622 { "wxVListBox__setCallbackInfo", (PyCFunction
) _wrap_wxVListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4623 { "new_wxPreVListBox", (PyCFunction
) _wrap_new_wxPreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
4624 { "new_wxVListBox", (PyCFunction
) _wrap_new_wxVListBox
, METH_VARARGS
| METH_KEYWORDS
},
4625 { "wxVScrolledWindow_IsVisible", (PyCFunction
) _wrap_wxVScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
4626 { "wxVScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_wxVScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
4627 { "wxVScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_wxVScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
4628 { "wxVScrolledWindow_GetLineCount", (PyCFunction
) _wrap_wxVScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
4629 { "wxVScrolledWindow_RefreshAll", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
4630 { "wxVScrolledWindow_HitTest", (PyCFunction
) _wrap_wxVScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
4631 { "wxVScrolledWindow_HitTestXT", (PyCFunction
) _wrap_wxVScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
4632 { "wxVScrolledWindow_RefreshLines", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
4633 { "wxVScrolledWindow_RefreshLine", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
4634 { "wxVScrolledWindow_ScrollPages", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
4635 { "wxVScrolledWindow_ScrollLines", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
4636 { "wxVScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
4637 { "wxVScrolledWindow_SetLineCount", (PyCFunction
) _wrap_wxVScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
4638 { "wxVScrolledWindow_Create", (PyCFunction
) _wrap_wxVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4639 { "wxVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_wxVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4640 { "new_wxPreVScrolledWindow", (PyCFunction
) _wrap_new_wxPreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
4641 { "new_wxVScrolledWindow", (PyCFunction
) _wrap_new_wxVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
4642 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
4643 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
4644 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
4645 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
4646 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
4647 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4648 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
4649 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
4650 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
4651 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4652 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
4653 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
4654 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4655 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
4656 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
4657 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
4658 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
4659 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4660 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
4661 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4662 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4663 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4664 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4665 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4666 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4667 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
4716 * This table is used by the pointer type-checker
4718 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4719 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
4720 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
4721 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
4722 { "_signed_long","_long",0},
4723 { "_wxPrintQuality","_wxCoord",0},
4724 { "_wxPrintQuality","_int",0},
4725 { "_wxPrintQuality","_signed_int",0},
4726 { "_wxPrintQuality","_unsigned_int",0},
4727 { "_wxPrintQuality","_wxWindowID",0},
4728 { "_wxPrintQuality","_uint",0},
4729 { "_wxPrintQuality","_EBool",0},
4730 { "_wxPrintQuality","_size_t",0},
4731 { "_wxPrintQuality","_time_t",0},
4732 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
4733 { "_byte","_unsigned_char",0},
4734 { "_long","_unsigned_long",0},
4735 { "_long","_signed_long",0},
4736 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
4737 { "_size_t","_wxCoord",0},
4738 { "_size_t","_wxPrintQuality",0},
4739 { "_size_t","_time_t",0},
4740 { "_size_t","_unsigned_int",0},
4741 { "_size_t","_int",0},
4742 { "_size_t","_wxWindowID",0},
4743 { "_size_t","_uint",0},
4744 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
4745 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
4746 { "_wxPanel","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPanel
},
4747 { "_wxPanel","_wxPyVListBox",SwigwxPyVListBoxTowxPanel
},
4748 { "_wxPanel","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxPanel
},
4749 { "_uint","_wxCoord",0},
4750 { "_uint","_wxPrintQuality",0},
4751 { "_uint","_time_t",0},
4752 { "_uint","_size_t",0},
4753 { "_uint","_unsigned_int",0},
4754 { "_uint","_int",0},
4755 { "_uint","_wxWindowID",0},
4756 { "_wxChar","_char",0},
4757 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
4758 { "_char","_wxChar",0},
4759 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4760 { "_EBool","_wxCoord",0},
4761 { "_EBool","_wxPrintQuality",0},
4762 { "_EBool","_signed_int",0},
4763 { "_EBool","_int",0},
4764 { "_EBool","_wxWindowID",0},
4765 { "_unsigned_long","_long",0},
4766 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4767 { "_signed_int","_wxCoord",0},
4768 { "_signed_int","_wxPrintQuality",0},
4769 { "_signed_int","_EBool",0},
4770 { "_signed_int","_wxWindowID",0},
4771 { "_signed_int","_int",0},
4772 { "_WXTYPE","_short",0},
4773 { "_WXTYPE","_signed_short",0},
4774 { "_WXTYPE","_unsigned_short",0},
4775 { "_unsigned_short","_WXTYPE",0},
4776 { "_unsigned_short","_short",0},
4777 { "_wxObject","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxObject
},
4778 { "_wxObject","_wxPyVListBox",SwigwxPyVListBoxTowxObject
},
4779 { "_wxObject","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxObject
},
4780 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
4781 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
4782 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
4783 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
4784 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
4785 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
4786 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
4787 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
4788 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
4789 { "_wxPyVScrolledWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVScrolledWindow
},
4790 { "_wxPyVScrolledWindow","_wxPyVListBox",SwigwxPyVListBoxTowxPyVScrolledWindow
},
4791 { "_signed_short","_WXTYPE",0},
4792 { "_signed_short","_short",0},
4793 { "_unsigned_char","_byte",0},
4794 { "_unsigned_int","_wxCoord",0},
4795 { "_unsigned_int","_wxPrintQuality",0},
4796 { "_unsigned_int","_time_t",0},
4797 { "_unsigned_int","_size_t",0},
4798 { "_unsigned_int","_uint",0},
4799 { "_unsigned_int","_wxWindowID",0},
4800 { "_unsigned_int","_int",0},
4801 { "_short","_WXTYPE",0},
4802 { "_short","_unsigned_short",0},
4803 { "_short","_signed_short",0},
4804 { "_wxWindowID","_wxCoord",0},
4805 { "_wxWindowID","_wxPrintQuality",0},
4806 { "_wxWindowID","_time_t",0},
4807 { "_wxWindowID","_size_t",0},
4808 { "_wxWindowID","_EBool",0},
4809 { "_wxWindowID","_uint",0},
4810 { "_wxWindowID","_int",0},
4811 { "_wxWindowID","_signed_int",0},
4812 { "_wxWindowID","_unsigned_int",0},
4813 { "_int","_wxCoord",0},
4814 { "_int","_wxPrintQuality",0},
4815 { "_int","_time_t",0},
4816 { "_int","_size_t",0},
4817 { "_int","_EBool",0},
4818 { "_int","_uint",0},
4819 { "_int","_wxWindowID",0},
4820 { "_int","_unsigned_int",0},
4821 { "_int","_signed_int",0},
4822 { "_time_t","_wxCoord",0},
4823 { "_time_t","_wxPrintQuality",0},
4824 { "_time_t","_unsigned_int",0},
4825 { "_time_t","_int",0},
4826 { "_time_t","_wxWindowID",0},
4827 { "_time_t","_uint",0},
4828 { "_time_t","_size_t",0},
4829 { "_wxCoord","_int",0},
4830 { "_wxCoord","_signed_int",0},
4831 { "_wxCoord","_unsigned_int",0},
4832 { "_wxCoord","_wxWindowID",0},
4833 { "_wxCoord","_uint",0},
4834 { "_wxCoord","_EBool",0},
4835 { "_wxCoord","_size_t",0},
4836 { "_wxCoord","_time_t",0},
4837 { "_wxCoord","_wxPrintQuality",0},
4838 { "_wxEvtHandler","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxEvtHandler
},
4839 { "_wxEvtHandler","_wxPyVListBox",SwigwxPyVListBoxTowxEvtHandler
},
4840 { "_wxEvtHandler","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxEvtHandler
},
4841 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
4842 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
4843 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
4844 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
4845 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
4846 { "_wxWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxWindow
},
4847 { "_wxWindow","_wxPyVListBox",SwigwxPyVListBoxTowxWindow
},
4848 { "_wxWindow","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxWindow
},
4849 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
4850 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
4851 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
4852 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
4853 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
4854 { "_wxPyVListBox","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVListBox
},
4857 static PyObject
*SWIG_globals
;
4861 SWIGEXPORT(void) initwindows3c() {
4863 SWIG_globals
= SWIG_newvarlink();
4864 m
= Py_InitModule("windows3c", windows3cMethods
);
4865 d
= PyModule_GetDict(m
);
4866 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
4867 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
4868 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
4869 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
4870 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
4871 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
4872 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
4873 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
4874 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
4875 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
4876 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
4877 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
4878 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
4879 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
4880 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
4881 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
4882 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
4883 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
4884 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
4885 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
4886 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
4888 // Map renamed classes back to their common name for OOR
4889 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
4890 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
4891 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
4894 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4895 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);