]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows3.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / windows3.cpp
CommitLineData
08127323 1/*
c368d904 2 * FILE : src/msw/windows3.cpp
08127323
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
08127323
RD
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
7e50db3f
RD
22#include "Python.h"
23
08127323
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
08127323
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
08127323 33# else
c368d904 34# define SWIGEXPORT(a) a
08127323
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
08127323
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
08127323
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
08127323
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
08127323
RD
53#define SWIG_init initwindows3c
54
55#define SWIG_name "windows3c"
56
57#include "helpers.h"
58#include <wx/sashwin.h>
59#include <wx/laywin.h>
0122b7e3 60#include <wx/popupwin.h>
4416b508 61#include <wx/tipwin.h>
08127323 62
08127323
RD
63
64static PyObject* t_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67
e0672e2f 68 if (!target) {
08127323 69 target = o;
e0672e2f 70 } else if (target == Py_None) {
08127323
RD
71 Py_DECREF(Py_None);
72 target = o;
e0672e2f 73 } else {
08127323
RD
74 if (!PyTuple_Check(target)) {
75 o2 = target;
76 target = PyTuple_New(1);
77 PyTuple_SetItem(target, 0, o2);
78 }
e0672e2f
RD
79 o3 = PyTuple_New(1);
80 PyTuple_SetItem(o3, 0, o);
08127323
RD
81
82 o2 = target;
e0672e2f
RD
83 target = PySequence_Concat(o2, o3);
84 Py_DECREF(o2);
08127323
RD
85 Py_DECREF(o3);
86 }
87 return target;
88}
89
137b5242
RD
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);
95
0122b7e3
RD
96class wxPyPopupTransientWindow : public wxPopupTransientWindow
97{
98public:
99 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
100 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
101 : wxPopupTransientWindow(parent, style) {}
102
103 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
0d1ace86 104 DEC_PYCALLBACK__(OnDismiss);
7d0180d4 105 DEC_PYCALLBACK_BOOL_(CanDismiss);
0122b7e3
RD
106 PYPRIVATE;
107};
108
109IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
0d1ace86 110IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
7d0180d4 111IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
8a12f92d
RD
112
113#include <wx/vscroll.h>
114DECLARE_DEF_STRING(PanelNameStr);
115
116class wxPyVScrolledWindow : public wxVScrolledWindow
117{
118 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
119public:
120 wxPyVScrolledWindow() : wxVScrolledWindow() {}
121
122 wxPyVScrolledWindow(wxWindow *parent,
123 wxWindowID id = wxID_ANY,
124 const wxPoint& pos = wxDefaultPosition,
125 const wxSize& size = wxDefaultSize,
126 long style = 0,
127 const wxString& name = wxPyPanelNameStr)
128 : wxVScrolledWindow(parent, id, pos, size, style, name)
129 {}
130
131 // Overridable virtuals
132
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);
136
137
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
141 // once
142 //
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.
148 //
149 // finally note that lineMin is inclusive, while lineMax is exclusive, as
150 // usual
151 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
152
153
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
158 // its own logic
159 //
160 // this function should return the best guess for the total height it may
161 // make
162 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
163
164
165 // Also expose some other interesting protected methods
166
167
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); }
172
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); }
177
178
179 PYPRIVATE;
180};
181
182IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
183
184IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
185IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
186IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
187
188#include <wx/vlbox.h>
189DECLARE_DEF_STRING(VListBoxNameStr);
190
191class wxPyVListBox : public wxVListBox
192{
193 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
194public:
195 wxPyVListBox() : wxVListBox() {}
196
197 wxPyVListBox(wxWindow *parent,
198 wxWindowID id = wxID_ANY,
199 const wxPoint& pos = wxDefaultPosition,
200 const wxSize& size = wxDefaultSize,
201 long style = 0,
202 const wxString& name = wxPyVListBoxNameStr)
203 : wxVListBox(parent, id, pos, size, style, name)
204 {}
205
206 // Overridable virtuals
207
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);
212
213
214 // the derived class must implement this method to return the height of the
215 // specified item
216 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
217 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
218
219
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()
223 //
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);
227
228
229 // this method is used to draw the items background and, maybe, a border
230 // around it
231 //
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
235 // current
236 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
237 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
238
239
240 PYPRIVATE;
241};
242
243IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
244
245IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
246IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
247IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
248IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
249
250
251#include <wx/htmllbox.h>
252
253class wxPyHtmlListBox : public wxHtmlListBox
254{
255 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
256public:
257 wxPyHtmlListBox() : wxHtmlListBox() {}
258
259 wxPyHtmlListBox(wxWindow *parent,
260 wxWindowID id = wxID_ANY,
261 const wxPoint& pos = wxDefaultPosition,
262 const wxSize& size = wxDefaultSize,
263 long style = 0,
264 const wxString& name = wxPyVListBoxNameStr)
265 : wxHtmlListBox(parent, id, pos, size, style, name)
266 {}
267
268 // Overridable virtuals
269
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);
273
274 // this function may be overridden to decorate HTML returned by OnGetItem()
275 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
276
277// TODO:
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
281// //
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;
285
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;
290
291
292 PYPRIVATE;
293};
294
295
296IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
297
298IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
299IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
300
1d99702e
RD
301#ifdef __cplusplus
302extern "C" {
303#endif
08127323
RD
304static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
305 wxSashEvent *src;
306 wxCommandEvent *dest;
307 src = (wxSashEvent *) ptr;
308 dest = (wxCommandEvent *) src;
309 return (void *) dest;
310}
311
312static void *SwigwxSashEventTowxEvent(void *ptr) {
313 wxSashEvent *src;
314 wxEvent *dest;
315 src = (wxSashEvent *) ptr;
316 dest = (wxEvent *) src;
317 return (void *) dest;
318}
319
9416aa89
RD
320static void *SwigwxSashEventTowxObject(void *ptr) {
321 wxSashEvent *src;
322 wxObject *dest;
323 src = (wxSashEvent *) ptr;
324 dest = (wxObject *) src;
325 return (void *) dest;
326}
327
09f3d4e6
RD
328#define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
329static 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 };
335 char _ptemp[128];
336
337 self = self;
338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSashEvent",_kwnames,&_arg0,&_arg1))
339 return NULL;
340{
4268f798 341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 342 _result = (wxSashEvent *)new_wxSashEvent(_arg0,_arg1);
09f3d4e6 343
4268f798 344 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
345 if (PyErr_Occurred()) return NULL;
346} if (_result) {
347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashEvent_p");
348 _resultobj = Py_BuildValue("s",_ptemp);
349 } else {
350 Py_INCREF(Py_None);
351 _resultobj = Py_None;
352 }
353 return _resultobj;
354}
355
08127323 356#define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
efc5f224 357static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
358 PyObject * _resultobj;
359 wxSashEvent * _arg0;
360 wxSashEdgePosition _arg1;
1d99702e 361 PyObject * _argo0 = 0;
efc5f224 362 char *_kwnames[] = { "self","edge", NULL };
08127323
RD
363
364 self = self;
efc5f224 365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
08127323 366 return NULL;
1d99702e
RD
367 if (_argo0) {
368 if (_argo0 == Py_None) { _arg0 = NULL; }
369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
371 return NULL;
372 }
373 }
cf694132 374{
4268f798 375 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 376 wxSashEvent_SetEdge(_arg0,_arg1);
cf694132 377
4268f798 378 wxPyEndAllowThreads(__tstate);
493f1553 379 if (PyErr_Occurred()) return NULL;
cf694132 380} Py_INCREF(Py_None);
08127323
RD
381 _resultobj = Py_None;
382 return _resultobj;
383}
384
385#define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
efc5f224 386static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
387 PyObject * _resultobj;
388 wxSashEdgePosition _result;
389 wxSashEvent * _arg0;
1d99702e 390 PyObject * _argo0 = 0;
efc5f224 391 char *_kwnames[] = { "self", NULL };
08127323
RD
392
393 self = self;
efc5f224 394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
08127323 395 return NULL;
1d99702e
RD
396 if (_argo0) {
397 if (_argo0 == Py_None) { _arg0 = NULL; }
398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
400 return NULL;
401 }
402 }
cf694132 403{
4268f798 404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 405 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
cf694132 406
4268f798 407 wxPyEndAllowThreads(__tstate);
493f1553 408 if (PyErr_Occurred()) return NULL;
cf694132 409} _resultobj = Py_BuildValue("i",_result);
08127323
RD
410 return _resultobj;
411}
412
413#define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
efc5f224 414static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
415 PyObject * _resultobj;
416 wxSashEvent * _arg0;
417 wxRect * _arg1;
1d99702e 418 PyObject * _argo0 = 0;
2f90df85
RD
419 wxRect temp;
420 PyObject * _obj1 = 0;
efc5f224 421 char *_kwnames[] = { "self","rect", NULL };
08127323
RD
422
423 self = self;
2f90df85 424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
08127323 425 return NULL;
1d99702e
RD
426 if (_argo0) {
427 if (_argo0 == Py_None) { _arg0 = NULL; }
428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
430 return NULL;
431 }
432 }
2f90df85
RD
433{
434 _arg1 = &temp;
435 if (! wxRect_helper(_obj1, &_arg1))
08127323 436 return NULL;
2f90df85 437}
cf694132 438{
4268f798 439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 440 wxSashEvent_SetDragRect(_arg0,*_arg1);
cf694132 441
4268f798 442 wxPyEndAllowThreads(__tstate);
493f1553 443 if (PyErr_Occurred()) return NULL;
cf694132 444} Py_INCREF(Py_None);
08127323
RD
445 _resultobj = Py_None;
446 return _resultobj;
447}
448
449#define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
efc5f224 450static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
451 PyObject * _resultobj;
452 wxRect * _result;
453 wxSashEvent * _arg0;
1d99702e 454 PyObject * _argo0 = 0;
efc5f224 455 char *_kwnames[] = { "self", NULL };
08127323
RD
456 char _ptemp[128];
457
458 self = self;
efc5f224 459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
08127323 460 return NULL;
1d99702e
RD
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
465 return NULL;
466 }
467 }
cf694132 468{
4268f798 469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 470 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
cf694132 471
4268f798 472 wxPyEndAllowThreads(__tstate);
493f1553 473 if (PyErr_Occurred()) return NULL;
cf694132 474} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
08127323
RD
475 _resultobj = Py_BuildValue("s",_ptemp);
476 return _resultobj;
477}
478
479#define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
efc5f224 480static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
481 PyObject * _resultobj;
482 wxSashEvent * _arg0;
483 wxSashDragStatus _arg1;
1d99702e 484 PyObject * _argo0 = 0;
efc5f224 485 char *_kwnames[] = { "self","status", NULL };
08127323
RD
486
487 self = self;
efc5f224 488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
08127323 489 return NULL;
1d99702e
RD
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
494 return NULL;
495 }
496 }
cf694132 497{
4268f798 498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 499 wxSashEvent_SetDragStatus(_arg0,_arg1);
cf694132 500
4268f798 501 wxPyEndAllowThreads(__tstate);
493f1553 502 if (PyErr_Occurred()) return NULL;
cf694132 503} Py_INCREF(Py_None);
08127323
RD
504 _resultobj = Py_None;
505 return _resultobj;
506}
507
508#define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
efc5f224 509static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
510 PyObject * _resultobj;
511 wxSashDragStatus _result;
512 wxSashEvent * _arg0;
1d99702e 513 PyObject * _argo0 = 0;
efc5f224 514 char *_kwnames[] = { "self", NULL };
08127323
RD
515
516 self = self;
efc5f224 517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
08127323 518 return NULL;
1d99702e
RD
519 if (_argo0) {
520 if (_argo0 == Py_None) { _arg0 = NULL; }
521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
08127323
RD
522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
523 return NULL;
524 }
525 }
cf694132 526{
4268f798 527 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 528 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
cf694132 529
4268f798 530 wxPyEndAllowThreads(__tstate);
493f1553 531 if (PyErr_Occurred()) return NULL;
cf694132 532} _resultobj = Py_BuildValue("i",_result);
08127323
RD
533 return _resultobj;
534}
535
536static void *SwigwxSashWindowTowxWindow(void *ptr) {
537 wxSashWindow *src;
538 wxWindow *dest;
539 src = (wxSashWindow *) ptr;
540 dest = (wxWindow *) src;
541 return (void *) dest;
542}
543
544static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
545 wxSashWindow *src;
546 wxEvtHandler *dest;
547 src = (wxSashWindow *) ptr;
548 dest = (wxEvtHandler *) src;
549 return (void *) dest;
550}
551
9416aa89
RD
552static void *SwigwxSashWindowTowxObject(void *ptr) {
553 wxSashWindow *src;
554 wxObject *dest;
555 src = (wxSashWindow *) ptr;
556 dest = (wxObject *) src;
557 return (void *) dest;
558}
559
08127323 560#define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 561static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
562 PyObject * _resultobj;
563 wxSashWindow * _result;
564 wxWindow * _arg0;
565 wxWindowID _arg1;
e508a2b6
RD
566 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
567 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 568 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
137b5242 569 wxString * _arg5 = (wxString *) &wxPySashNameStr;
1d99702e 570 PyObject * _argo0 = 0;
2f90df85
RD
571 wxPoint temp;
572 PyObject * _obj2 = 0;
573 wxSize temp0;
574 PyObject * _obj3 = 0;
137b5242 575 PyObject * _obj5 = 0;
efc5f224 576 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
08127323
RD
577 char _ptemp[128];
578
579 self = self;
137b5242 580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
08127323 581 return NULL;
1d99702e
RD
582 if (_argo0) {
583 if (_argo0 == Py_None) { _arg0 = NULL; }
584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
08127323
RD
585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
586 return NULL;
587 }
588 }
2f90df85
RD
589 if (_obj2)
590{
591 _arg2 = &temp;
592 if (! wxPoint_helper(_obj2, &_arg2))
08127323 593 return NULL;
2f90df85
RD
594}
595 if (_obj3)
596{
597 _arg3 = &temp0;
598 if (! wxSize_helper(_obj3, &_arg3))
08127323 599 return NULL;
137b5242
RD
600}
601 if (_obj5)
602{
603 _arg5 = wxString_in_helper(_obj5);
604 if (_arg5 == NULL)
605 return NULL;
2f90df85 606}
cf694132 607{
4268f798 608 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 609 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 610
4268f798 611 wxPyEndAllowThreads(__tstate);
493f1553 612 if (PyErr_Occurred()) return NULL;
1d99702e
RD
613} if (_result) {
614 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
615 _resultobj = Py_BuildValue("s",_ptemp);
616 } else {
617 Py_INCREF(Py_None);
618 _resultobj = Py_None;
619 }
137b5242
RD
620{
621 if (_obj5)
622 delete _arg5;
623}
08127323
RD
624 return _resultobj;
625}
626
09f3d4e6
RD
627#define new_wxPreSashWindow() (new wxSashWindow())
628static PyObject *_wrap_new_wxPreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
629 PyObject * _resultobj;
630 wxSashWindow * _result;
631 char *_kwnames[] = { NULL };
632 char _ptemp[128];
633
634 self = self;
635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashWindow",_kwnames))
636 return NULL;
637{
4268f798 638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 639 _result = (wxSashWindow *)new_wxPreSashWindow();
09f3d4e6 640
4268f798 641 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
642 if (PyErr_Occurred()) return NULL;
643} if (_result) {
644 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
645 _resultobj = Py_BuildValue("s",_ptemp);
646 } else {
647 Py_INCREF(Py_None);
648 _resultobj = Py_None;
649 }
650 return _resultobj;
651}
652
653#define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
654static PyObject *_wrap_wxSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
655 PyObject * _resultobj;
656 bool _result;
657 wxSashWindow * _arg0;
658 wxWindow * _arg1;
659 wxWindowID _arg2;
660 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
661 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
662 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
137b5242 663 wxString * _arg6 = (wxString *) &wxPySashNameStr;
09f3d4e6
RD
664 PyObject * _argo0 = 0;
665 PyObject * _argo1 = 0;
666 wxPoint temp;
667 PyObject * _obj3 = 0;
668 wxSize temp0;
669 PyObject * _obj4 = 0;
137b5242 670 PyObject * _obj6 = 0;
09f3d4e6
RD
671 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
672
673 self = self;
137b5242 674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
675 return NULL;
676 if (_argo0) {
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.");
680 return NULL;
681 }
682 }
683 if (_argo1) {
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.");
687 return NULL;
688 }
689 }
690 if (_obj3)
691{
692 _arg3 = &temp;
693 if (! wxPoint_helper(_obj3, &_arg3))
694 return NULL;
695}
696 if (_obj4)
697{
698 _arg4 = &temp0;
699 if (! wxSize_helper(_obj4, &_arg4))
700 return NULL;
137b5242
RD
701}
702 if (_obj6)
703{
704 _arg6 = wxString_in_helper(_obj6);
705 if (_arg6 == NULL)
706 return NULL;
09f3d4e6
RD
707}
708{
4268f798 709 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 710 _result = (bool )wxSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 711
4268f798 712 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
713 if (PyErr_Occurred()) return NULL;
714} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
715{
716 if (_obj6)
717 delete _arg6;
718}
09f3d4e6
RD
719 return _resultobj;
720}
721
08127323 722#define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
efc5f224 723static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
724 PyObject * _resultobj;
725 bool _result;
726 wxSashWindow * _arg0;
727 wxSashEdgePosition _arg1;
1d99702e 728 PyObject * _argo0 = 0;
efc5f224 729 char *_kwnames[] = { "self","edge", NULL };
08127323
RD
730
731 self = self;
efc5f224 732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
08127323 733 return NULL;
1d99702e
RD
734 if (_argo0) {
735 if (_argo0 == Py_None) { _arg0 = NULL; }
736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
738 return NULL;
739 }
740 }
cf694132 741{
4268f798 742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 743 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
cf694132 744
4268f798 745 wxPyEndAllowThreads(__tstate);
493f1553 746 if (PyErr_Occurred()) return NULL;
cf694132 747} _resultobj = Py_BuildValue("i",_result);
08127323
RD
748 return _resultobj;
749}
750
751#define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
efc5f224 752static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
753 PyObject * _resultobj;
754 int _result;
755 wxSashWindow * _arg0;
1d99702e 756 PyObject * _argo0 = 0;
efc5f224 757 char *_kwnames[] = { "self", NULL };
08127323
RD
758
759 self = self;
efc5f224 760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
08127323 761 return NULL;
1d99702e
RD
762 if (_argo0) {
763 if (_argo0 == Py_None) { _arg0 = NULL; }
764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
766 return NULL;
767 }
768 }
cf694132 769{
4268f798 770 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 771 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
cf694132 772
4268f798 773 wxPyEndAllowThreads(__tstate);
493f1553 774 if (PyErr_Occurred()) return NULL;
cf694132 775} _resultobj = Py_BuildValue("i",_result);
08127323
RD
776 return _resultobj;
777}
778
779#define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
efc5f224 780static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
781 PyObject * _resultobj;
782 int _result;
783 wxSashWindow * _arg0;
784 wxSashEdgePosition _arg1;
1d99702e 785 PyObject * _argo0 = 0;
efc5f224 786 char *_kwnames[] = { "self","edge", NULL };
08127323
RD
787
788 self = self;
efc5f224 789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
08127323 790 return NULL;
1d99702e
RD
791 if (_argo0) {
792 if (_argo0 == Py_None) { _arg0 = NULL; }
793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
795 return NULL;
796 }
797 }
cf694132 798{
4268f798 799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 800 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
cf694132 801
4268f798 802 wxPyEndAllowThreads(__tstate);
493f1553 803 if (PyErr_Occurred()) return NULL;
cf694132 804} _resultobj = Py_BuildValue("i",_result);
08127323
RD
805 return _resultobj;
806}
807
808#define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
efc5f224 809static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
810 PyObject * _resultobj;
811 int _result;
812 wxSashWindow * _arg0;
1d99702e 813 PyObject * _argo0 = 0;
efc5f224 814 char *_kwnames[] = { "self", NULL };
08127323
RD
815
816 self = self;
efc5f224 817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
08127323 818 return NULL;
1d99702e
RD
819 if (_argo0) {
820 if (_argo0 == Py_None) { _arg0 = NULL; }
821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
823 return NULL;
824 }
825 }
cf694132 826{
4268f798 827 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 828 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
cf694132 829
4268f798 830 wxPyEndAllowThreads(__tstate);
493f1553 831 if (PyErr_Occurred()) return NULL;
cf694132 832} _resultobj = Py_BuildValue("i",_result);
08127323
RD
833 return _resultobj;
834}
835
836#define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
efc5f224 837static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
838 PyObject * _resultobj;
839 int _result;
840 wxSashWindow * _arg0;
1d99702e 841 PyObject * _argo0 = 0;
efc5f224 842 char *_kwnames[] = { "self", NULL };
08127323
RD
843
844 self = self;
efc5f224 845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
08127323 846 return NULL;
1d99702e
RD
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
851 return NULL;
852 }
853 }
cf694132 854{
4268f798 855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 856 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
cf694132 857
4268f798 858 wxPyEndAllowThreads(__tstate);
493f1553 859 if (PyErr_Occurred()) return NULL;
cf694132 860} _resultobj = Py_BuildValue("i",_result);
08127323
RD
861 return _resultobj;
862}
863
864#define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
efc5f224 865static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
866 PyObject * _resultobj;
867 int _result;
868 wxSashWindow * _arg0;
1d99702e 869 PyObject * _argo0 = 0;
efc5f224 870 char *_kwnames[] = { "self", NULL };
08127323
RD
871
872 self = self;
efc5f224 873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
08127323 874 return NULL;
1d99702e
RD
875 if (_argo0) {
876 if (_argo0 == Py_None) { _arg0 = NULL; }
877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
879 return NULL;
880 }
881 }
cf694132 882{
4268f798 883 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 884 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
cf694132 885
4268f798 886 wxPyEndAllowThreads(__tstate);
493f1553 887 if (PyErr_Occurred()) return NULL;
cf694132 888} _resultobj = Py_BuildValue("i",_result);
08127323
RD
889 return _resultobj;
890}
891
892#define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
efc5f224 893static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
894 PyObject * _resultobj;
895 int _result;
896 wxSashWindow * _arg0;
1d99702e 897 PyObject * _argo0 = 0;
efc5f224 898 char *_kwnames[] = { "self", NULL };
08127323
RD
899
900 self = self;
efc5f224 901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
08127323 902 return NULL;
1d99702e
RD
903 if (_argo0) {
904 if (_argo0 == Py_None) { _arg0 = NULL; }
905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
907 return NULL;
908 }
909 }
cf694132 910{
4268f798 911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 912 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
cf694132 913
4268f798 914 wxPyEndAllowThreads(__tstate);
493f1553 915 if (PyErr_Occurred()) return NULL;
cf694132 916} _resultobj = Py_BuildValue("i",_result);
08127323
RD
917 return _resultobj;
918}
919
920#define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
efc5f224 921static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
922 PyObject * _resultobj;
923 int _result;
924 wxSashWindow * _arg0;
1d99702e 925 PyObject * _argo0 = 0;
efc5f224 926 char *_kwnames[] = { "self", NULL };
08127323
RD
927
928 self = self;
efc5f224 929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
08127323 930 return NULL;
1d99702e
RD
931 if (_argo0) {
932 if (_argo0 == Py_None) { _arg0 = NULL; }
933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
935 return NULL;
936 }
937 }
cf694132 938{
4268f798 939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 940 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
cf694132 941
4268f798 942 wxPyEndAllowThreads(__tstate);
493f1553 943 if (PyErr_Occurred()) return NULL;
cf694132 944} _resultobj = Py_BuildValue("i",_result);
08127323
RD
945 return _resultobj;
946}
947
948#define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
efc5f224 949static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
950 PyObject * _resultobj;
951 bool _result;
952 wxSashWindow * _arg0;
953 wxSashEdgePosition _arg1;
1d99702e 954 PyObject * _argo0 = 0;
efc5f224 955 char *_kwnames[] = { "self","edge", NULL };
08127323
RD
956
957 self = self;
efc5f224 958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
08127323 959 return NULL;
1d99702e
RD
960 if (_argo0) {
961 if (_argo0 == Py_None) { _arg0 = NULL; }
962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
964 return NULL;
965 }
966 }
cf694132 967{
4268f798 968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 969 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
cf694132 970
4268f798 971 wxPyEndAllowThreads(__tstate);
493f1553 972 if (PyErr_Occurred()) return NULL;
cf694132 973} _resultobj = Py_BuildValue("i",_result);
08127323
RD
974 return _resultobj;
975}
976
977#define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
efc5f224 978static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
979 PyObject * _resultobj;
980 wxSashWindow * _arg0;
981 int _arg1;
1d99702e 982 PyObject * _argo0 = 0;
efc5f224 983 char *_kwnames[] = { "self","width", NULL };
08127323
RD
984
985 self = self;
efc5f224 986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
08127323 987 return NULL;
1d99702e
RD
988 if (_argo0) {
989 if (_argo0 == Py_None) { _arg0 = NULL; }
990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
992 return NULL;
993 }
994 }
cf694132 995{
4268f798 996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 997 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
cf694132 998
4268f798 999 wxPyEndAllowThreads(__tstate);
493f1553 1000 if (PyErr_Occurred()) return NULL;
cf694132 1001} Py_INCREF(Py_None);
08127323
RD
1002 _resultobj = Py_None;
1003 return _resultobj;
1004}
1005
1006#define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
efc5f224 1007static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1008 PyObject * _resultobj;
1009 wxSashWindow * _arg0;
1010 int _arg1;
1d99702e 1011 PyObject * _argo0 = 0;
efc5f224 1012 char *_kwnames[] = { "self","width", NULL };
08127323
RD
1013
1014 self = self;
efc5f224 1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
08127323 1016 return NULL;
1d99702e
RD
1017 if (_argo0) {
1018 if (_argo0 == Py_None) { _arg0 = NULL; }
1019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
1021 return NULL;
1022 }
1023 }
cf694132 1024{
4268f798 1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1026 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
cf694132 1027
4268f798 1028 wxPyEndAllowThreads(__tstate);
493f1553 1029 if (PyErr_Occurred()) return NULL;
cf694132 1030} Py_INCREF(Py_None);
08127323
RD
1031 _resultobj = Py_None;
1032 return _resultobj;
1033}
1034
1035#define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
efc5f224 1036static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1037 PyObject * _resultobj;
1038 wxSashWindow * _arg0;
1039 int _arg1;
1d99702e 1040 PyObject * _argo0 = 0;
efc5f224 1041 char *_kwnames[] = { "self","min", NULL };
08127323
RD
1042
1043 self = self;
efc5f224 1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
08127323 1045 return NULL;
1d99702e
RD
1046 if (_argo0) {
1047 if (_argo0 == Py_None) { _arg0 = NULL; }
1048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
1050 return NULL;
1051 }
1052 }
cf694132 1053{
4268f798 1054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1055 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
cf694132 1056
4268f798 1057 wxPyEndAllowThreads(__tstate);
493f1553 1058 if (PyErr_Occurred()) return NULL;
cf694132 1059} Py_INCREF(Py_None);
08127323
RD
1060 _resultobj = Py_None;
1061 return _resultobj;
1062}
1063
1064#define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
efc5f224 1065static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1066 PyObject * _resultobj;
1067 wxSashWindow * _arg0;
1068 int _arg1;
1d99702e 1069 PyObject * _argo0 = 0;
efc5f224 1070 char *_kwnames[] = { "self","min", NULL };
08127323
RD
1071
1072 self = self;
efc5f224 1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
08127323 1074 return NULL;
1d99702e
RD
1075 if (_argo0) {
1076 if (_argo0 == Py_None) { _arg0 = NULL; }
1077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
1079 return NULL;
1080 }
1081 }
cf694132 1082{
4268f798 1083 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1084 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
cf694132 1085
4268f798 1086 wxPyEndAllowThreads(__tstate);
493f1553 1087 if (PyErr_Occurred()) return NULL;
cf694132 1088} Py_INCREF(Py_None);
08127323
RD
1089 _resultobj = Py_None;
1090 return _resultobj;
1091}
1092
1093#define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
efc5f224 1094static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1095 PyObject * _resultobj;
1096 wxSashWindow * _arg0;
1097 int _arg1;
1d99702e 1098 PyObject * _argo0 = 0;
efc5f224 1099 char *_kwnames[] = { "self","min", NULL };
08127323
RD
1100
1101 self = self;
efc5f224 1102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
08127323 1103 return NULL;
1d99702e
RD
1104 if (_argo0) {
1105 if (_argo0 == Py_None) { _arg0 = NULL; }
1106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
1108 return NULL;
1109 }
1110 }
cf694132 1111{
4268f798 1112 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1113 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
cf694132 1114
4268f798 1115 wxPyEndAllowThreads(__tstate);
493f1553 1116 if (PyErr_Occurred()) return NULL;
cf694132 1117} Py_INCREF(Py_None);
08127323
RD
1118 _resultobj = Py_None;
1119 return _resultobj;
1120}
1121
1122#define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
efc5f224 1123static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1124 PyObject * _resultobj;
1125 wxSashWindow * _arg0;
1126 int _arg1;
1d99702e 1127 PyObject * _argo0 = 0;
efc5f224 1128 char *_kwnames[] = { "self","min", NULL };
08127323
RD
1129
1130 self = self;
efc5f224 1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
08127323 1132 return NULL;
1d99702e
RD
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
1137 return NULL;
1138 }
1139 }
cf694132 1140{
4268f798 1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1142 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
cf694132 1143
4268f798 1144 wxPyEndAllowThreads(__tstate);
493f1553 1145 if (PyErr_Occurred()) return NULL;
cf694132 1146} Py_INCREF(Py_None);
08127323
RD
1147 _resultobj = Py_None;
1148 return _resultobj;
1149}
1150
1151#define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
efc5f224 1152static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1153 PyObject * _resultobj;
1154 wxSashWindow * _arg0;
1155 wxSashEdgePosition _arg1;
1156 bool _arg2;
1d99702e 1157 PyObject * _argo0 = 0;
08127323 1158 int tempbool2;
efc5f224 1159 char *_kwnames[] = { "self","edge","visible", NULL };
08127323
RD
1160
1161 self = self;
efc5f224 1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
08127323 1163 return NULL;
1d99702e
RD
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
1168 return NULL;
1169 }
1170 }
1171 _arg2 = (bool ) tempbool2;
cf694132 1172{
4268f798 1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1174 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
cf694132 1175
4268f798 1176 wxPyEndAllowThreads(__tstate);
493f1553 1177 if (PyErr_Occurred()) return NULL;
cf694132 1178} Py_INCREF(Py_None);
08127323
RD
1179 _resultobj = Py_None;
1180 return _resultobj;
1181}
1182
1183#define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
efc5f224 1184static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1185 PyObject * _resultobj;
1186 wxSashWindow * _arg0;
1187 wxSashEdgePosition _arg1;
1188 bool _arg2;
1d99702e 1189 PyObject * _argo0 = 0;
08127323 1190 int tempbool2;
efc5f224 1191 char *_kwnames[] = { "self","edge","hasBorder", NULL };
08127323
RD
1192
1193 self = self;
efc5f224 1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
08127323 1195 return NULL;
1d99702e
RD
1196 if (_argo0) {
1197 if (_argo0 == Py_None) { _arg0 = NULL; }
1198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
08127323
RD
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1200 return NULL;
1201 }
1202 }
1203 _arg2 = (bool ) tempbool2;
cf694132 1204{
4268f798 1205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1206 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
cf694132 1207
4268f798 1208 wxPyEndAllowThreads(__tstate);
493f1553 1209 if (PyErr_Occurred()) return NULL;
cf694132 1210} Py_INCREF(Py_None);
08127323
RD
1211 _resultobj = Py_None;
1212 return _resultobj;
1213}
1214
1215static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
1216 wxQueryLayoutInfoEvent *src;
1217 wxEvent *dest;
1218 src = (wxQueryLayoutInfoEvent *) ptr;
1219 dest = (wxEvent *) src;
1220 return (void *) dest;
1221}
1222
9416aa89
RD
1223static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr) {
1224 wxQueryLayoutInfoEvent *src;
1225 wxObject *dest;
1226 src = (wxQueryLayoutInfoEvent *) ptr;
1227 dest = (wxObject *) src;
1228 return (void *) dest;
1229}
1230
09f3d4e6
RD
1231#define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1232static 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 };
1237 char _ptemp[128];
1238
1239 self = self;
1240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryLayoutInfoEvent",_kwnames,&_arg0))
1241 return NULL;
1242{
4268f798 1243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1244 _result = (wxQueryLayoutInfoEvent *)new_wxQueryLayoutInfoEvent(_arg0);
09f3d4e6 1245
4268f798 1246 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1247 if (PyErr_Occurred()) return NULL;
1248} if (_result) {
1249 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryLayoutInfoEvent_p");
1250 _resultobj = Py_BuildValue("s",_ptemp);
1251 } else {
1252 Py_INCREF(Py_None);
1253 _resultobj = Py_None;
1254 }
1255 return _resultobj;
1256}
1257
08127323 1258#define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
efc5f224 1259static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1260 PyObject * _resultobj;
1261 wxQueryLayoutInfoEvent * _arg0;
1262 int _arg1;
1d99702e 1263 PyObject * _argo0 = 0;
efc5f224 1264 char *_kwnames[] = { "self","length", NULL };
08127323
RD
1265
1266 self = self;
efc5f224 1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
08127323 1268 return NULL;
1d99702e
RD
1269 if (_argo0) {
1270 if (_argo0 == Py_None) { _arg0 = NULL; }
1271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1273 return NULL;
1274 }
1275 }
cf694132 1276{
4268f798 1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1278 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
cf694132 1279
4268f798 1280 wxPyEndAllowThreads(__tstate);
493f1553 1281 if (PyErr_Occurred()) return NULL;
cf694132 1282} Py_INCREF(Py_None);
08127323
RD
1283 _resultobj = Py_None;
1284 return _resultobj;
1285}
1286
1287#define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
efc5f224 1288static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1289 PyObject * _resultobj;
1290 int _result;
1291 wxQueryLayoutInfoEvent * _arg0;
1d99702e 1292 PyObject * _argo0 = 0;
efc5f224 1293 char *_kwnames[] = { "self", NULL };
08127323
RD
1294
1295 self = self;
efc5f224 1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
08127323 1297 return NULL;
1d99702e
RD
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1302 return NULL;
1303 }
1304 }
cf694132 1305{
4268f798 1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1307 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
cf694132 1308
4268f798 1309 wxPyEndAllowThreads(__tstate);
493f1553 1310 if (PyErr_Occurred()) return NULL;
cf694132 1311} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1312 return _resultobj;
1313}
1314
1315#define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
efc5f224 1316static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1317 PyObject * _resultobj;
1318 wxQueryLayoutInfoEvent * _arg0;
1319 int _arg1;
1d99702e 1320 PyObject * _argo0 = 0;
efc5f224 1321 char *_kwnames[] = { "self","flags", NULL };
08127323
RD
1322
1323 self = self;
efc5f224 1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
08127323 1325 return NULL;
1d99702e
RD
1326 if (_argo0) {
1327 if (_argo0 == Py_None) { _arg0 = NULL; }
1328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1330 return NULL;
1331 }
1332 }
cf694132 1333{
4268f798 1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1335 wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
cf694132 1336
4268f798 1337 wxPyEndAllowThreads(__tstate);
493f1553 1338 if (PyErr_Occurred()) return NULL;
cf694132 1339} Py_INCREF(Py_None);
08127323
RD
1340 _resultobj = Py_None;
1341 return _resultobj;
1342}
1343
1344#define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
efc5f224 1345static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1346 PyObject * _resultobj;
1347 int _result;
1348 wxQueryLayoutInfoEvent * _arg0;
1d99702e 1349 PyObject * _argo0 = 0;
efc5f224 1350 char *_kwnames[] = { "self", NULL };
08127323
RD
1351
1352 self = self;
efc5f224 1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
08127323 1354 return NULL;
1d99702e
RD
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1359 return NULL;
1360 }
1361 }
cf694132 1362{
4268f798 1363 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1364 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
cf694132 1365
4268f798 1366 wxPyEndAllowThreads(__tstate);
493f1553 1367 if (PyErr_Occurred()) return NULL;
cf694132 1368} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1369 return _resultobj;
1370}
1371
1372#define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
efc5f224 1373static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1374 PyObject * _resultobj;
1375 wxQueryLayoutInfoEvent * _arg0;
1376 wxSize * _arg1;
1d99702e 1377 PyObject * _argo0 = 0;
2f90df85
RD
1378 wxSize temp;
1379 PyObject * _obj1 = 0;
efc5f224 1380 char *_kwnames[] = { "self","size", NULL };
08127323
RD
1381
1382 self = self;
2f90df85 1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
08127323 1384 return NULL;
1d99702e
RD
1385 if (_argo0) {
1386 if (_argo0 == Py_None) { _arg0 = NULL; }
1387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1389 return NULL;
1390 }
1391 }
2f90df85
RD
1392{
1393 _arg1 = &temp;
1394 if (! wxSize_helper(_obj1, &_arg1))
08127323 1395 return NULL;
2f90df85 1396}
cf694132 1397{
4268f798 1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1399 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
cf694132 1400
4268f798 1401 wxPyEndAllowThreads(__tstate);
493f1553 1402 if (PyErr_Occurred()) return NULL;
cf694132 1403} Py_INCREF(Py_None);
08127323
RD
1404 _resultobj = Py_None;
1405 return _resultobj;
1406}
1407
1408#define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 1409static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1410 PyObject * _resultobj;
1411 wxSize * _result;
1412 wxQueryLayoutInfoEvent * _arg0;
1d99702e 1413 PyObject * _argo0 = 0;
efc5f224 1414 char *_kwnames[] = { "self", NULL };
08127323
RD
1415 char _ptemp[128];
1416
1417 self = self;
efc5f224 1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
08127323 1419 return NULL;
1d99702e
RD
1420 if (_argo0) {
1421 if (_argo0 == Py_None) { _arg0 = NULL; }
1422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1424 return NULL;
1425 }
1426 }
cf694132 1427{
4268f798 1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1429 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
cf694132 1430
4268f798 1431 wxPyEndAllowThreads(__tstate);
493f1553 1432 if (PyErr_Occurred()) return NULL;
cf694132 1433} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
08127323
RD
1434 _resultobj = Py_BuildValue("s",_ptemp);
1435 return _resultobj;
1436}
1437
1438#define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
efc5f224 1439static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1440 PyObject * _resultobj;
1441 wxQueryLayoutInfoEvent * _arg0;
1442 wxLayoutOrientation _arg1;
1d99702e 1443 PyObject * _argo0 = 0;
efc5f224 1444 char *_kwnames[] = { "self","orient", NULL };
08127323
RD
1445
1446 self = self;
efc5f224 1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
08127323 1448 return NULL;
1d99702e
RD
1449 if (_argo0) {
1450 if (_argo0 == Py_None) { _arg0 = NULL; }
1451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1453 return NULL;
1454 }
1455 }
cf694132 1456{
4268f798 1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1458 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
cf694132 1459
4268f798 1460 wxPyEndAllowThreads(__tstate);
493f1553 1461 if (PyErr_Occurred()) return NULL;
cf694132 1462} Py_INCREF(Py_None);
08127323
RD
1463 _resultobj = Py_None;
1464 return _resultobj;
1465}
1466
1467#define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
efc5f224 1468static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1469 PyObject * _resultobj;
1470 wxLayoutOrientation _result;
1471 wxQueryLayoutInfoEvent * _arg0;
1d99702e 1472 PyObject * _argo0 = 0;
efc5f224 1473 char *_kwnames[] = { "self", NULL };
08127323
RD
1474
1475 self = self;
efc5f224 1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
08127323 1477 return NULL;
1d99702e
RD
1478 if (_argo0) {
1479 if (_argo0 == Py_None) { _arg0 = NULL; }
1480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1482 return NULL;
1483 }
1484 }
cf694132 1485{
4268f798 1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1487 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
cf694132 1488
4268f798 1489 wxPyEndAllowThreads(__tstate);
493f1553 1490 if (PyErr_Occurred()) return NULL;
cf694132 1491} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1492 return _resultobj;
1493}
1494
1495#define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
efc5f224 1496static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1497 PyObject * _resultobj;
1498 wxQueryLayoutInfoEvent * _arg0;
1499 wxLayoutAlignment _arg1;
1d99702e 1500 PyObject * _argo0 = 0;
efc5f224 1501 char *_kwnames[] = { "self","align", NULL };
08127323
RD
1502
1503 self = self;
efc5f224 1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
08127323 1505 return NULL;
1d99702e
RD
1506 if (_argo0) {
1507 if (_argo0 == Py_None) { _arg0 = NULL; }
1508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1510 return NULL;
1511 }
1512 }
cf694132 1513{
4268f798 1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1515 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
cf694132 1516
4268f798 1517 wxPyEndAllowThreads(__tstate);
493f1553 1518 if (PyErr_Occurred()) return NULL;
cf694132 1519} Py_INCREF(Py_None);
08127323
RD
1520 _resultobj = Py_None;
1521 return _resultobj;
1522}
1523
1524#define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
efc5f224 1525static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1526 PyObject * _resultobj;
1527 wxLayoutAlignment _result;
1528 wxQueryLayoutInfoEvent * _arg0;
1d99702e 1529 PyObject * _argo0 = 0;
efc5f224 1530 char *_kwnames[] = { "self", NULL };
08127323
RD
1531
1532 self = self;
efc5f224 1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
08127323 1534 return NULL;
1d99702e
RD
1535 if (_argo0) {
1536 if (_argo0 == Py_None) { _arg0 = NULL; }
1537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
08127323
RD
1538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1539 return NULL;
1540 }
1541 }
cf694132 1542{
4268f798 1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1544 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
cf694132 1545
4268f798 1546 wxPyEndAllowThreads(__tstate);
493f1553 1547 if (PyErr_Occurred()) return NULL;
cf694132 1548} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1549 return _resultobj;
1550}
1551
1552static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1553 wxCalculateLayoutEvent *src;
1554 wxEvent *dest;
1555 src = (wxCalculateLayoutEvent *) ptr;
1556 dest = (wxEvent *) src;
1557 return (void *) dest;
1558}
1559
9416aa89
RD
1560static void *SwigwxCalculateLayoutEventTowxObject(void *ptr) {
1561 wxCalculateLayoutEvent *src;
1562 wxObject *dest;
1563 src = (wxCalculateLayoutEvent *) ptr;
1564 dest = (wxObject *) src;
1565 return (void *) dest;
1566}
1567
09f3d4e6
RD
1568#define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1569static 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 };
1574 char _ptemp[128];
1575
1576 self = self;
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxCalculateLayoutEvent",_kwnames,&_arg0))
1578 return NULL;
1579{
4268f798 1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1581 _result = (wxCalculateLayoutEvent *)new_wxCalculateLayoutEvent(_arg0);
09f3d4e6 1582
4268f798 1583 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1584 if (PyErr_Occurred()) return NULL;
1585} if (_result) {
1586 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalculateLayoutEvent_p");
1587 _resultobj = Py_BuildValue("s",_ptemp);
1588 } else {
1589 Py_INCREF(Py_None);
1590 _resultobj = Py_None;
1591 }
1592 return _resultobj;
1593}
1594
08127323 1595#define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
efc5f224 1596static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1597 PyObject * _resultobj;
1598 wxCalculateLayoutEvent * _arg0;
1599 int _arg1;
1d99702e 1600 PyObject * _argo0 = 0;
efc5f224 1601 char *_kwnames[] = { "self","flags", NULL };
08127323
RD
1602
1603 self = self;
efc5f224 1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
08127323 1605 return NULL;
1d99702e
RD
1606 if (_argo0) {
1607 if (_argo0 == Py_None) { _arg0 = NULL; }
1608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
08127323
RD
1609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1610 return NULL;
1611 }
1612 }
cf694132 1613{
4268f798 1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1615 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
cf694132 1616
4268f798 1617 wxPyEndAllowThreads(__tstate);
493f1553 1618 if (PyErr_Occurred()) return NULL;
cf694132 1619} Py_INCREF(Py_None);
08127323
RD
1620 _resultobj = Py_None;
1621 return _resultobj;
1622}
1623
1624#define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
efc5f224 1625static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1626 PyObject * _resultobj;
1627 int _result;
1628 wxCalculateLayoutEvent * _arg0;
1d99702e 1629 PyObject * _argo0 = 0;
efc5f224 1630 char *_kwnames[] = { "self", NULL };
08127323
RD
1631
1632 self = self;
efc5f224 1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
08127323 1634 return NULL;
1d99702e
RD
1635 if (_argo0) {
1636 if (_argo0 == Py_None) { _arg0 = NULL; }
1637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
08127323
RD
1638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1639 return NULL;
1640 }
1641 }
cf694132 1642{
4268f798 1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1644 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
cf694132 1645
4268f798 1646 wxPyEndAllowThreads(__tstate);
493f1553 1647 if (PyErr_Occurred()) return NULL;
cf694132 1648} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1649 return _resultobj;
1650}
1651
1652#define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
efc5f224 1653static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1654 PyObject * _resultobj;
1655 wxCalculateLayoutEvent * _arg0;
1656 wxRect * _arg1;
1d99702e 1657 PyObject * _argo0 = 0;
2f90df85
RD
1658 wxRect temp;
1659 PyObject * _obj1 = 0;
efc5f224 1660 char *_kwnames[] = { "self","rect", NULL };
08127323
RD
1661
1662 self = self;
2f90df85 1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
08127323 1664 return NULL;
1d99702e
RD
1665 if (_argo0) {
1666 if (_argo0 == Py_None) { _arg0 = NULL; }
1667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
08127323
RD
1668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1669 return NULL;
1670 }
1671 }
2f90df85
RD
1672{
1673 _arg1 = &temp;
1674 if (! wxRect_helper(_obj1, &_arg1))
08127323 1675 return NULL;
2f90df85 1676}
cf694132 1677{
4268f798 1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1679 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
cf694132 1680
4268f798 1681 wxPyEndAllowThreads(__tstate);
493f1553 1682 if (PyErr_Occurred()) return NULL;
cf694132 1683} Py_INCREF(Py_None);
08127323
RD
1684 _resultobj = Py_None;
1685 return _resultobj;
1686}
1687
1688#define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 1689static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1690 PyObject * _resultobj;
1691 wxRect * _result;
1692 wxCalculateLayoutEvent * _arg0;
1d99702e 1693 PyObject * _argo0 = 0;
efc5f224 1694 char *_kwnames[] = { "self", NULL };
08127323
RD
1695 char _ptemp[128];
1696
1697 self = self;
efc5f224 1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
08127323 1699 return NULL;
1d99702e
RD
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
08127323
RD
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1704 return NULL;
1705 }
1706 }
cf694132 1707{
4268f798 1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1709 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
cf694132 1710
4268f798 1711 wxPyEndAllowThreads(__tstate);
493f1553 1712 if (PyErr_Occurred()) return NULL;
cf694132 1713} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
08127323
RD
1714 _resultobj = Py_BuildValue("s",_ptemp);
1715 return _resultobj;
1716}
1717
1718static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1719 wxSashLayoutWindow *src;
1720 wxSashWindow *dest;
1721 src = (wxSashLayoutWindow *) ptr;
1722 dest = (wxSashWindow *) src;
1723 return (void *) dest;
1724}
1725
1726static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1727 wxSashLayoutWindow *src;
1728 wxWindow *dest;
1729 src = (wxSashLayoutWindow *) ptr;
1730 dest = (wxWindow *) src;
1731 return (void *) dest;
1732}
1733
1734static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1735 wxSashLayoutWindow *src;
1736 wxEvtHandler *dest;
1737 src = (wxSashLayoutWindow *) ptr;
1738 dest = (wxEvtHandler *) src;
1739 return (void *) dest;
1740}
1741
9416aa89
RD
1742static void *SwigwxSashLayoutWindowTowxObject(void *ptr) {
1743 wxSashLayoutWindow *src;
1744 wxObject *dest;
1745 src = (wxSashLayoutWindow *) ptr;
1746 dest = (wxObject *) src;
1747 return (void *) dest;
1748}
1749
08127323 1750#define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 1751static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1752 PyObject * _resultobj;
1753 wxSashLayoutWindow * _result;
1754 wxWindow * _arg0;
1755 wxWindowID _arg1;
e508a2b6
RD
1756 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1757 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 1758 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
137b5242 1759 wxString * _arg5 = (wxString *) &wxPySashLayoutNameStr;
1d99702e 1760 PyObject * _argo0 = 0;
2f90df85
RD
1761 wxPoint temp;
1762 PyObject * _obj2 = 0;
1763 wxSize temp0;
1764 PyObject * _obj3 = 0;
137b5242 1765 PyObject * _obj5 = 0;
efc5f224 1766 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
08127323
RD
1767 char _ptemp[128];
1768
1769 self = self;
137b5242 1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
08127323 1771 return NULL;
1d99702e
RD
1772 if (_argo0) {
1773 if (_argo0 == Py_None) { _arg0 = NULL; }
1774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
08127323
RD
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1776 return NULL;
1777 }
1778 }
2f90df85
RD
1779 if (_obj2)
1780{
1781 _arg2 = &temp;
1782 if (! wxPoint_helper(_obj2, &_arg2))
08127323 1783 return NULL;
2f90df85
RD
1784}
1785 if (_obj3)
1786{
1787 _arg3 = &temp0;
1788 if (! wxSize_helper(_obj3, &_arg3))
08127323 1789 return NULL;
137b5242
RD
1790}
1791 if (_obj5)
1792{
1793 _arg5 = wxString_in_helper(_obj5);
1794 if (_arg5 == NULL)
1795 return NULL;
2f90df85 1796}
cf694132 1797{
4268f798 1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1799 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 1800
4268f798 1801 wxPyEndAllowThreads(__tstate);
493f1553 1802 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1803} if (_result) {
1804 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1805 _resultobj = Py_BuildValue("s",_ptemp);
1806 } else {
1807 Py_INCREF(Py_None);
1808 _resultobj = Py_None;
1809 }
137b5242
RD
1810{
1811 if (_obj5)
1812 delete _arg5;
1813}
08127323
RD
1814 return _resultobj;
1815}
1816
09f3d4e6
RD
1817#define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1818static PyObject *_wrap_new_wxPreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject * _resultobj;
1820 wxSashLayoutWindow * _result;
1821 char *_kwnames[] = { NULL };
1822 char _ptemp[128];
1823
1824 self = self;
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashLayoutWindow",_kwnames))
1826 return NULL;
1827{
4268f798 1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1829 _result = (wxSashLayoutWindow *)new_wxPreSashLayoutWindow();
09f3d4e6 1830
4268f798 1831 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1832 if (PyErr_Occurred()) return NULL;
1833} if (_result) {
1834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1835 _resultobj = Py_BuildValue("s",_ptemp);
1836 } else {
1837 Py_INCREF(Py_None);
1838 _resultobj = Py_None;
1839 }
1840 return _resultobj;
1841}
1842
1843#define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1844static PyObject *_wrap_wxSashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject * _resultobj;
1846 bool _result;
1847 wxSashLayoutWindow * _arg0;
1848 wxWindow * _arg1;
1849 wxWindowID _arg2;
1850 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1851 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1852 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
137b5242 1853 wxString * _arg6 = (wxString *) &wxPySashLayoutNameStr;
09f3d4e6
RD
1854 PyObject * _argo0 = 0;
1855 PyObject * _argo1 = 0;
1856 wxPoint temp;
1857 PyObject * _obj3 = 0;
1858 wxSize temp0;
1859 PyObject * _obj4 = 0;
137b5242 1860 PyObject * _obj6 = 0;
09f3d4e6
RD
1861 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1862
1863 self = self;
137b5242 1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
1865 return NULL;
1866 if (_argo0) {
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.");
1870 return NULL;
1871 }
1872 }
1873 if (_argo1) {
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.");
1877 return NULL;
1878 }
1879 }
1880 if (_obj3)
1881{
1882 _arg3 = &temp;
1883 if (! wxPoint_helper(_obj3, &_arg3))
1884 return NULL;
1885}
1886 if (_obj4)
1887{
1888 _arg4 = &temp0;
1889 if (! wxSize_helper(_obj4, &_arg4))
1890 return NULL;
137b5242
RD
1891}
1892 if (_obj6)
1893{
1894 _arg6 = wxString_in_helper(_obj6);
1895 if (_arg6 == NULL)
1896 return NULL;
09f3d4e6
RD
1897}
1898{
4268f798 1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1900 _result = (bool )wxSashLayoutWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 1901
4268f798 1902 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1903 if (PyErr_Occurred()) return NULL;
1904} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
1905{
1906 if (_obj6)
1907 delete _arg6;
1908}
09f3d4e6
RD
1909 return _resultobj;
1910}
1911
08127323 1912#define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
efc5f224 1913static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1914 PyObject * _resultobj;
1915 wxLayoutAlignment _result;
1916 wxSashLayoutWindow * _arg0;
1d99702e 1917 PyObject * _argo0 = 0;
efc5f224 1918 char *_kwnames[] = { "self", NULL };
08127323
RD
1919
1920 self = self;
efc5f224 1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
08127323 1922 return NULL;
1d99702e
RD
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
08127323
RD
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1927 return NULL;
1928 }
1929 }
cf694132 1930{
4268f798 1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1932 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
cf694132 1933
4268f798 1934 wxPyEndAllowThreads(__tstate);
493f1553 1935 if (PyErr_Occurred()) return NULL;
cf694132 1936} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1937 return _resultobj;
1938}
1939
1940#define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
efc5f224 1941static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1942 PyObject * _resultobj;
1943 wxLayoutOrientation _result;
1944 wxSashLayoutWindow * _arg0;
1d99702e 1945 PyObject * _argo0 = 0;
efc5f224 1946 char *_kwnames[] = { "self", NULL };
08127323
RD
1947
1948 self = self;
efc5f224 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
08127323 1950 return NULL;
1d99702e
RD
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
08127323
RD
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1955 return NULL;
1956 }
1957 }
cf694132 1958{
4268f798 1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1960 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
cf694132 1961
4268f798 1962 wxPyEndAllowThreads(__tstate);
493f1553 1963 if (PyErr_Occurred()) return NULL;
cf694132 1964} _resultobj = Py_BuildValue("i",_result);
08127323
RD
1965 return _resultobj;
1966}
1967
1968#define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
efc5f224 1969static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1970 PyObject * _resultobj;
1971 wxSashLayoutWindow * _arg0;
1972 wxLayoutAlignment _arg1;
1d99702e 1973 PyObject * _argo0 = 0;
efc5f224 1974 char *_kwnames[] = { "self","alignment", NULL };
08127323
RD
1975
1976 self = self;
efc5f224 1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
08127323 1978 return NULL;
1d99702e
RD
1979 if (_argo0) {
1980 if (_argo0 == Py_None) { _arg0 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
08127323
RD
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1983 return NULL;
1984 }
1985 }
cf694132 1986{
4268f798 1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1988 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
cf694132 1989
4268f798 1990 wxPyEndAllowThreads(__tstate);
493f1553 1991 if (PyErr_Occurred()) return NULL;
cf694132 1992} Py_INCREF(Py_None);
08127323
RD
1993 _resultobj = Py_None;
1994 return _resultobj;
1995}
1996
1997#define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
efc5f224 1998static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
1999 PyObject * _resultobj;
2000 wxSashLayoutWindow * _arg0;
2001 wxSize * _arg1;
1d99702e 2002 PyObject * _argo0 = 0;
2f90df85
RD
2003 wxSize temp;
2004 PyObject * _obj1 = 0;
efc5f224 2005 char *_kwnames[] = { "self","size", NULL };
08127323
RD
2006
2007 self = self;
2f90df85 2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
08127323 2009 return NULL;
1d99702e
RD
2010 if (_argo0) {
2011 if (_argo0 == Py_None) { _arg0 = NULL; }
2012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
08127323
RD
2013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
2014 return NULL;
2015 }
2016 }
2f90df85
RD
2017{
2018 _arg1 = &temp;
2019 if (! wxSize_helper(_obj1, &_arg1))
08127323 2020 return NULL;
2f90df85 2021}
cf694132 2022{
4268f798 2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2024 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
cf694132 2025
4268f798 2026 wxPyEndAllowThreads(__tstate);
493f1553 2027 if (PyErr_Occurred()) return NULL;
cf694132 2028} Py_INCREF(Py_None);
08127323
RD
2029 _resultobj = Py_None;
2030 return _resultobj;
2031}
2032
2033#define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
efc5f224 2034static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
2035 PyObject * _resultobj;
2036 wxSashLayoutWindow * _arg0;
2037 wxLayoutOrientation _arg1;
1d99702e 2038 PyObject * _argo0 = 0;
efc5f224 2039 char *_kwnames[] = { "self","orientation", NULL };
08127323
RD
2040
2041 self = self;
efc5f224 2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
08127323 2043 return NULL;
1d99702e
RD
2044 if (_argo0) {
2045 if (_argo0 == Py_None) { _arg0 = NULL; }
2046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
08127323
RD
2047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
2048 return NULL;
2049 }
2050 }
cf694132 2051{
4268f798 2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2053 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
cf694132 2054
4268f798 2055 wxPyEndAllowThreads(__tstate);
493f1553 2056 if (PyErr_Occurred()) return NULL;
cf694132 2057} Py_INCREF(Py_None);
08127323
RD
2058 _resultobj = Py_None;
2059 return _resultobj;
2060}
2061
9416aa89
RD
2062static void *SwigwxLayoutAlgorithmTowxObject(void *ptr) {
2063 wxLayoutAlgorithm *src;
2064 wxObject *dest;
2065 src = (wxLayoutAlgorithm *) ptr;
2066 dest = (wxObject *) src;
2067 return (void *) dest;
2068}
2069
08127323 2070#define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
efc5f224 2071static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
2072 PyObject * _resultobj;
2073 wxLayoutAlgorithm * _result;
efc5f224 2074 char *_kwnames[] = { NULL };
08127323
RD
2075 char _ptemp[128];
2076
2077 self = self;
efc5f224 2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
08127323 2079 return NULL;
cf694132 2080{
4268f798 2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2082 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
cf694132 2083
4268f798 2084 wxPyEndAllowThreads(__tstate);
493f1553 2085 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2086} if (_result) {
2087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
2088 _resultobj = Py_BuildValue("s",_ptemp);
2089 } else {
2090 Py_INCREF(Py_None);
2091 _resultobj = Py_None;
2092 }
08127323
RD
2093 return _resultobj;
2094}
2095
2096#define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
efc5f224 2097static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
2098 PyObject * _resultobj;
2099 wxLayoutAlgorithm * _arg0;
1d99702e 2100 PyObject * _argo0 = 0;
efc5f224 2101 char *_kwnames[] = { "self", NULL };
08127323
RD
2102
2103 self = self;
efc5f224 2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
08127323 2105 return NULL;
1d99702e
RD
2106 if (_argo0) {
2107 if (_argo0 == Py_None) { _arg0 = NULL; }
2108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
08127323
RD
2109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
2110 return NULL;
2111 }
2112 }
cf694132 2113{
4268f798 2114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2115 delete_wxLayoutAlgorithm(_arg0);
cf694132 2116
4268f798 2117 wxPyEndAllowThreads(__tstate);
493f1553 2118 if (PyErr_Occurred()) return NULL;
cf694132 2119} Py_INCREF(Py_None);
08127323
RD
2120 _resultobj = Py_None;
2121 return _resultobj;
2122}
2123
2124#define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
efc5f224 2125static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
2126 PyObject * _resultobj;
2127 bool _result;
2128 wxLayoutAlgorithm * _arg0;
2129 wxMDIParentFrame * _arg1;
1d99702e
RD
2130 wxRect * _arg2 = (wxRect *) NULL;
2131 PyObject * _argo0 = 0;
2132 PyObject * _argo1 = 0;
2f90df85
RD
2133 wxRect temp;
2134 PyObject * _obj2 = 0;
efc5f224 2135 char *_kwnames[] = { "self","frame","rect", NULL };
08127323
RD
2136
2137 self = self;
2f90df85 2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
08127323 2139 return NULL;
1d99702e
RD
2140 if (_argo0) {
2141 if (_argo0 == Py_None) { _arg0 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
08127323
RD
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
2144 return NULL;
2145 }
2146 }
1d99702e
RD
2147 if (_argo1) {
2148 if (_argo1 == Py_None) { _arg1 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
08127323
RD
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
2151 return NULL;
2152 }
2153 }
2f90df85
RD
2154 if (_obj2)
2155{
2156 _arg2 = &temp;
2157 if (! wxRect_helper(_obj2, &_arg2))
08127323 2158 return NULL;
2f90df85 2159}
cf694132 2160{
4268f798 2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2162 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
cf694132 2163
4268f798 2164 wxPyEndAllowThreads(__tstate);
493f1553 2165 if (PyErr_Occurred()) return NULL;
cf694132 2166} _resultobj = Py_BuildValue("i",_result);
08127323
RD
2167 return _resultobj;
2168}
2169
2170#define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
efc5f224 2171static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
2172 PyObject * _resultobj;
2173 bool _result;
2174 wxLayoutAlgorithm * _arg0;
2175 wxFrame * _arg1;
1d99702e
RD
2176 wxWindow * _arg2 = (wxWindow *) NULL;
2177 PyObject * _argo0 = 0;
2178 PyObject * _argo1 = 0;
2179 PyObject * _argo2 = 0;
efc5f224 2180 char *_kwnames[] = { "self","frame","mainWindow", NULL };
08127323
RD
2181
2182 self = self;
efc5f224 2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
08127323 2184 return NULL;
1d99702e
RD
2185 if (_argo0) {
2186 if (_argo0 == Py_None) { _arg0 = NULL; }
2187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
08127323
RD
2188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2189 return NULL;
2190 }
2191 }
1d99702e
RD
2192 if (_argo1) {
2193 if (_argo1 == Py_None) { _arg1 = NULL; }
2194 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
08127323
RD
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2196 return NULL;
2197 }
2198 }
1d99702e
RD
2199 if (_argo2) {
2200 if (_argo2 == Py_None) { _arg2 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
08127323
RD
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2203 return NULL;
2204 }
2205 }
cf694132 2206{
4268f798 2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2208 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
cf694132 2209
4268f798 2210 wxPyEndAllowThreads(__tstate);
493f1553 2211 if (PyErr_Occurred()) return NULL;
cf694132
RD
2212} _resultobj = Py_BuildValue("i",_result);
2213 return _resultobj;
2214}
2215
2216#define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
efc5f224 2217static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
2218 PyObject * _resultobj;
2219 bool _result;
2220 wxLayoutAlgorithm * _arg0;
2221 wxWindow * _arg1;
1d99702e
RD
2222 wxWindow * _arg2 = (wxWindow *) NULL;
2223 PyObject * _argo0 = 0;
2224 PyObject * _argo1 = 0;
2225 PyObject * _argo2 = 0;
efc5f224 2226 char *_kwnames[] = { "self","parent","mainWindow", NULL };
cf694132
RD
2227
2228 self = self;
efc5f224 2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
cf694132 2230 return NULL;
1d99702e
RD
2231 if (_argo0) {
2232 if (_argo0 == Py_None) { _arg0 = NULL; }
2233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
cf694132
RD
2234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2235 return NULL;
2236 }
2237 }
1d99702e
RD
2238 if (_argo1) {
2239 if (_argo1 == Py_None) { _arg1 = NULL; }
2240 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
cf694132
RD
2241 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2242 return NULL;
2243 }
2244 }
1d99702e
RD
2245 if (_argo2) {
2246 if (_argo2 == Py_None) { _arg2 = NULL; }
2247 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
cf694132
RD
2248 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2249 return NULL;
2250 }
2251 }
2252{
4268f798 2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2254 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
cf694132 2255
4268f798 2256 wxPyEndAllowThreads(__tstate);
493f1553 2257 if (PyErr_Occurred()) return NULL;
cf694132 2258} _resultobj = Py_BuildValue("i",_result);
08127323
RD
2259 return _resultobj;
2260}
2261
0122b7e3
RD
2262static void *SwigwxPopupWindowTowxWindow(void *ptr) {
2263 wxPopupWindow *src;
2264 wxWindow *dest;
2265 src = (wxPopupWindow *) ptr;
2266 dest = (wxWindow *) src;
2267 return (void *) dest;
2268}
2269
2270static void *SwigwxPopupWindowTowxEvtHandler(void *ptr) {
2271 wxPopupWindow *src;
2272 wxEvtHandler *dest;
2273 src = (wxPopupWindow *) ptr;
2274 dest = (wxEvtHandler *) src;
2275 return (void *) dest;
2276}
2277
2278static void *SwigwxPopupWindowTowxObject(void *ptr) {
2279 wxPopupWindow *src;
2280 wxObject *dest;
2281 src = (wxPopupWindow *) ptr;
2282 dest = (wxObject *) src;
2283 return (void *) dest;
2284}
2285
2286#define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2287static PyObject *_wrap_new_wxPopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject * _resultobj;
2289 wxPopupWindow * _result;
2290 wxWindow * _arg0;
2291 int _arg1 = (int ) wxBORDER_NONE;
2292 PyObject * _argo0 = 0;
2293 char *_kwnames[] = { "parent","flags", NULL };
2294 char _ptemp[128];
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupWindow",_kwnames,&_argo0,&_arg1))
2298 return NULL;
2299 if (_argo0) {
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.");
2303 return NULL;
2304 }
2305 }
2306{
4268f798 2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2308 _result = (wxPopupWindow *)new_wxPopupWindow(_arg0,_arg1);
0122b7e3 2309
4268f798 2310 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2311 if (PyErr_Occurred()) return NULL;
2312} if (_result) {
2313 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2314 _resultobj = Py_BuildValue("s",_ptemp);
2315 } else {
2316 Py_INCREF(Py_None);
2317 _resultobj = Py_None;
2318 }
2319 return _resultobj;
2320}
2321
2322#define new_wxPrePopupWindow() (new wxPopupWindow())
2323static PyObject *_wrap_new_wxPrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject * _resultobj;
2325 wxPopupWindow * _result;
2326 char *_kwnames[] = { NULL };
2327 char _ptemp[128];
2328
2329 self = self;
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupWindow",_kwnames))
2331 return NULL;
2332{
4268f798 2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2334 _result = (wxPopupWindow *)new_wxPrePopupWindow();
0122b7e3 2335
4268f798 2336 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2337 if (PyErr_Occurred()) return NULL;
2338} if (_result) {
2339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2340 _resultobj = Py_BuildValue("s",_ptemp);
2341 } else {
2342 Py_INCREF(Py_None);
2343 _resultobj = Py_None;
2344 }
2345 return _resultobj;
2346}
2347
2348#define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2349static PyObject *_wrap_wxPopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject * _resultobj;
2351 bool _result;
2352 wxPopupWindow * _arg0;
2353 wxWindow * _arg1;
2354 int _arg2 = (int ) wxBORDER_NONE;
2355 PyObject * _argo0 = 0;
2356 PyObject * _argo1 = 0;
2357 char *_kwnames[] = { "self","parent","flags", NULL };
2358
2359 self = self;
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPopupWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2))
2361 return NULL;
2362 if (_argo0) {
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.");
2366 return NULL;
2367 }
2368 }
2369 if (_argo1) {
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.");
2373 return NULL;
2374 }
2375 }
2376{
4268f798 2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2378 _result = (bool )wxPopupWindow_Create(_arg0,_arg1,_arg2);
0122b7e3 2379
4268f798 2380 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2381 if (PyErr_Occurred()) return NULL;
2382} _resultobj = Py_BuildValue("i",_result);
2383 return _resultobj;
2384}
2385
2386#define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2387static PyObject *_wrap_wxPopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject * _resultobj;
2389 wxPopupWindow * _arg0;
2390 wxPoint * _arg1;
2391 wxSize * _arg2;
2392 PyObject * _argo0 = 0;
2393 wxPoint temp;
2394 PyObject * _obj1 = 0;
2395 wxSize temp0;
2396 PyObject * _obj2 = 0;
2397 char *_kwnames[] = { "self","ptOrigin","size", NULL };
2398
2399 self = self;
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupWindow_Position",_kwnames,&_argo0,&_obj1,&_obj2))
2401 return NULL;
2402 if (_argo0) {
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.");
2406 return NULL;
2407 }
2408 }
2409{
2410 _arg1 = &temp;
2411 if (! wxPoint_helper(_obj1, &_arg1))
2412 return NULL;
2413}
2414{
2415 _arg2 = &temp0;
2416 if (! wxSize_helper(_obj2, &_arg2))
2417 return NULL;
2418}
2419{
4268f798 2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2421 wxPopupWindow_Position(_arg0,*_arg1,*_arg2);
0122b7e3 2422
4268f798 2423 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2424 if (PyErr_Occurred()) return NULL;
2425} Py_INCREF(Py_None);
2426 _resultobj = Py_None;
2427 return _resultobj;
2428}
2429
2430static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr) {
2431 wxPyPopupTransientWindow *src;
2432 wxPopupWindow *dest;
2433 src = (wxPyPopupTransientWindow *) ptr;
2434 dest = (wxPopupWindow *) src;
2435 return (void *) dest;
2436}
2437
2438static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr) {
2439 wxPyPopupTransientWindow *src;
2440 wxWindow *dest;
2441 src = (wxPyPopupTransientWindow *) ptr;
2442 dest = (wxWindow *) src;
2443 return (void *) dest;
2444}
2445
2446static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr) {
2447 wxPyPopupTransientWindow *src;
2448 wxEvtHandler *dest;
2449 src = (wxPyPopupTransientWindow *) ptr;
2450 dest = (wxEvtHandler *) src;
2451 return (void *) dest;
2452}
2453
2454static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr) {
2455 wxPyPopupTransientWindow *src;
2456 wxObject *dest;
2457 src = (wxPyPopupTransientWindow *) ptr;
2458 dest = (wxObject *) src;
2459 return (void *) dest;
2460}
2461
2462#define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2463static PyObject *_wrap_new_wxPopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject * _resultobj;
2465 wxPyPopupTransientWindow * _result;
2466 wxWindow * _arg0;
2467 int _arg1 = (int ) wxBORDER_NONE;
2468 PyObject * _argo0 = 0;
2469 char *_kwnames[] = { "parent","style", NULL };
2470 char _ptemp[128];
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupTransientWindow",_kwnames,&_argo0,&_arg1))
2474 return NULL;
2475 if (_argo0) {
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.");
2479 return NULL;
2480 }
2481 }
2482{
4268f798 2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2484 _result = (wxPyPopupTransientWindow *)new_wxPopupTransientWindow(_arg0,_arg1);
0122b7e3 2485
4268f798 2486 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2487 if (PyErr_Occurred()) return NULL;
2488} if (_result) {
2489 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2490 _resultobj = Py_BuildValue("s",_ptemp);
2491 } else {
2492 Py_INCREF(Py_None);
2493 _resultobj = Py_None;
2494 }
2495 return _resultobj;
2496}
2497
2498#define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2499static PyObject *_wrap_new_wxPrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject * _resultobj;
2501 wxPyPopupTransientWindow * _result;
2502 char *_kwnames[] = { NULL };
2503 char _ptemp[128];
2504
2505 self = self;
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupTransientWindow",_kwnames))
2507 return NULL;
2508{
4268f798 2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2510 _result = (wxPyPopupTransientWindow *)new_wxPrePopupTransientWindow();
0122b7e3 2511
4268f798 2512 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2513 if (PyErr_Occurred()) return NULL;
2514} if (_result) {
2515 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2516 _resultobj = Py_BuildValue("s",_ptemp);
2517 } else {
2518 Py_INCREF(Py_None);
2519 _resultobj = Py_None;
2520 }
2521 return _resultobj;
2522}
2523
2524#define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2525static PyObject *_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject * _resultobj;
2527 wxPyPopupTransientWindow * _arg0;
2528 PyObject * _arg1;
2529 PyObject * _arg2;
2530 PyObject * _argo0 = 0;
2531 PyObject * _obj1 = 0;
2532 PyObject * _obj2 = 0;
2533 char *_kwnames[] = { "self","self","_class", NULL };
2534
2535 self = self;
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2537 return NULL;
2538 if (_argo0) {
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.");
2542 return NULL;
2543 }
2544 }
2545{
2546 _arg1 = _obj1;
2547}
2548{
2549 _arg2 = _obj2;
2550}
2551{
4268f798 2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2553 wxPopupTransientWindow__setCallbackInfo(_arg0,_arg1,_arg2);
0122b7e3 2554
4268f798 2555 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2556 if (PyErr_Occurred()) return NULL;
2557} Py_INCREF(Py_None);
2558 _resultobj = Py_None;
2559 return _resultobj;
2560}
2561
2562#define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2563static 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 };
2570
2571 self = self;
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPopupTransientWindow_Popup",_kwnames,&_argo0,&_argo1))
2573 return NULL;
2574 if (_argo0) {
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.");
2578 return NULL;
2579 }
2580 }
2581 if (_argo1) {
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.");
2585 return NULL;
2586 }
2587 }
2588{
4268f798 2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2590 wxPopupTransientWindow_Popup(_arg0,_arg1);
0122b7e3 2591
4268f798 2592 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2593 if (PyErr_Occurred()) return NULL;
2594} Py_INCREF(Py_None);
2595 _resultobj = Py_None;
2596 return _resultobj;
2597}
2598
2599#define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2600static 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 };
2605
2606 self = self;
2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPopupTransientWindow_Dismiss",_kwnames,&_argo0))
2608 return NULL;
2609 if (_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.");
2613 return NULL;
2614 }
2615 }
2616{
4268f798 2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2618 wxPopupTransientWindow_Dismiss(_arg0);
0122b7e3 2619
4268f798 2620 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
2621 if (PyErr_Occurred()) return NULL;
2622} Py_INCREF(Py_None);
2623 _resultobj = Py_None;
2624 return _resultobj;
2625}
2626
4416b508
RD
2627static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr) {
2628 wxTipWindow *src;
2629 wxPyPopupTransientWindow *dest;
2630 src = (wxTipWindow *) ptr;
2631 dest = (wxPyPopupTransientWindow *) src;
2632 return (void *) dest;
2633}
2634
2635static void *SwigwxTipWindowTowxPopupWindow(void *ptr) {
2636 wxTipWindow *src;
2637 wxPopupWindow *dest;
2638 src = (wxTipWindow *) ptr;
2639 dest = (wxPopupWindow *) src;
2640 return (void *) dest;
2641}
2642
2643static void *SwigwxTipWindowTowxWindow(void *ptr) {
2644 wxTipWindow *src;
2645 wxWindow *dest;
2646 src = (wxTipWindow *) ptr;
2647 dest = (wxWindow *) src;
2648 return (void *) dest;
2649}
2650
2651static void *SwigwxTipWindowTowxEvtHandler(void *ptr) {
2652 wxTipWindow *src;
2653 wxEvtHandler *dest;
2654 src = (wxTipWindow *) ptr;
2655 dest = (wxEvtHandler *) src;
2656 return (void *) dest;
2657}
2658
2659static void *SwigwxTipWindowTowxObject(void *ptr) {
2660 wxTipWindow *src;
2661 wxObject *dest;
2662 src = (wxTipWindow *) ptr;
2663 dest = (wxObject *) src;
2664 return (void *) dest;
2665}
2666
ce914f73
RD
2667static 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);
2670 }
2671
4416b508
RD
2672static PyObject *_wrap_new_wxTipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject * _resultobj;
2674 wxTipWindow * _result;
2675 wxWindow * _arg0;
2676 wxString * _arg1;
2677 wxCoord _arg2 = (wxCoord ) 100;
ce914f73 2678 wxRect * _arg3 = (wxRect *) NULL;
4416b508
RD
2679 PyObject * _argo0 = 0;
2680 PyObject * _obj1 = 0;
ce914f73
RD
2681 wxRect temp;
2682 PyObject * _obj3 = 0;
2683 char *_kwnames[] = { "parent","text","maxLength","rectBound", NULL };
4416b508
RD
2684 char _ptemp[128];
2685
2686 self = self;
ce914f73 2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iO:new_wxTipWindow",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3))
4416b508
RD
2688 return NULL;
2689 if (_argo0) {
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.");
2693 return NULL;
2694 }
2695 }
2696{
c8bc7bb8
RD
2697 _arg1 = wxString_in_helper(_obj1);
2698 if (_arg1 == NULL)
4416b508 2699 return NULL;
ce914f73
RD
2700}
2701 if (_obj3)
2702{
2703 _arg3 = &temp;
2704 if (! wxRect_helper(_obj3, &_arg3))
2705 return NULL;
4416b508
RD
2706}
2707{
4268f798 2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2709 _result = (wxTipWindow *)new_wxTipWindow(_arg0,_arg1,_arg2,_arg3);
4416b508 2710
4268f798 2711 wxPyEndAllowThreads(__tstate);
4416b508
RD
2712 if (PyErr_Occurred()) return NULL;
2713} if (_result) {
2714 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipWindow_p");
2715 _resultobj = Py_BuildValue("s",_ptemp);
2716 } else {
2717 Py_INCREF(Py_None);
2718 _resultobj = Py_None;
2719 }
2720{
2721 if (_obj1)
2722 delete _arg1;
2723}
2724 return _resultobj;
2725}
2726
ce914f73
RD
2727#define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2728static PyObject *_wrap_wxTipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject * _resultobj;
2730 wxTipWindow * _arg0;
2731 wxRect * _arg1;
2732 PyObject * _argo0 = 0;
2733 wxRect temp;
2734 PyObject * _obj1 = 0;
2735 char *_kwnames[] = { "self","rectBound", NULL };
2736
2737 self = self;
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTipWindow_SetBoundingRect",_kwnames,&_argo0,&_obj1))
2739 return NULL;
2740 if (_argo0) {
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.");
2744 return NULL;
2745 }
2746 }
2747{
2748 _arg1 = &temp;
2749 if (! wxRect_helper(_obj1, &_arg1))
2750 return NULL;
2751}
2752{
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2754 wxTipWindow_SetBoundingRect(_arg0,*_arg1);
ce914f73
RD
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) return NULL;
2758} Py_INCREF(Py_None);
2759 _resultobj = Py_None;
2760 return _resultobj;
2761}
2762
2763#define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2764static 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 };
2769
2770 self = self;
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipWindow_Close",_kwnames,&_argo0))
2772 return NULL;
2773 if (_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.");
2777 return NULL;
2778 }
2779 }
2780{
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2782 wxTipWindow_Close(_arg0);
ce914f73
RD
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) return NULL;
2786} Py_INCREF(Py_None);
2787 _resultobj = Py_None;
2788 return _resultobj;
2789}
2790
8a12f92d
RD
2791static void *SwigwxPyVScrolledWindowTowxPanel(void *ptr) {
2792 wxPyVScrolledWindow *src;
2793 wxPanel *dest;
2794 src = (wxPyVScrolledWindow *) ptr;
2795 dest = (wxPanel *) src;
2796 return (void *) dest;
2797}
2798
2799static void *SwigwxPyVScrolledWindowTowxWindow(void *ptr) {
2800 wxPyVScrolledWindow *src;
2801 wxWindow *dest;
2802 src = (wxPyVScrolledWindow *) ptr;
2803 dest = (wxWindow *) src;
2804 return (void *) dest;
2805}
2806
2807static void *SwigwxPyVScrolledWindowTowxEvtHandler(void *ptr) {
2808 wxPyVScrolledWindow *src;
2809 wxEvtHandler *dest;
2810 src = (wxPyVScrolledWindow *) ptr;
2811 dest = (wxEvtHandler *) src;
2812 return (void *) dest;
2813}
2814
2815static void *SwigwxPyVScrolledWindowTowxObject(void *ptr) {
2816 wxPyVScrolledWindow *src;
2817 wxObject *dest;
2818 src = (wxPyVScrolledWindow *) ptr;
2819 dest = (wxObject *) src;
2820 return (void *) dest;
2821}
2822
2823#define new_wxVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2824static PyObject *_wrap_new_wxVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject * _resultobj;
2826 wxPyVScrolledWindow * _result;
2827 wxWindow * _arg0;
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;
2834 wxPoint temp;
2835 PyObject * _obj2 = 0;
2836 wxSize temp0;
2837 PyObject * _obj3 = 0;
2838 PyObject * _obj5 = 0;
2839 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
2840 char _ptemp[128];
2841
2842 self = self;
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxVScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
2844 return NULL;
2845 if (_argo0) {
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.");
2849 return NULL;
2850 }
2851 }
2852 if (_obj2)
2853{
2854 _arg2 = &temp;
2855 if (! wxPoint_helper(_obj2, &_arg2))
2856 return NULL;
2857}
2858 if (_obj3)
2859{
2860 _arg3 = &temp0;
2861 if (! wxSize_helper(_obj3, &_arg3))
2862 return NULL;
2863}
2864 if (_obj5)
2865{
2866 _arg5 = wxString_in_helper(_obj5);
2867 if (_arg5 == NULL)
2868 return NULL;
2869}
2870{
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 _result = (wxPyVScrolledWindow *)new_wxVScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) return NULL;
2876} if (_result) {
2877 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyVScrolledWindow_p");
2878 _resultobj = Py_BuildValue("s",_ptemp);
2879 } else {
2880 Py_INCREF(Py_None);
2881 _resultobj = Py_None;
2882 }
2883{
2884 if (_obj5)
2885 delete _arg5;
2886}
2887 return _resultobj;
2888}
2889
2890#define new_wxPreVScrolledWindow() (new wxPyVScrolledWindow())
2891static PyObject *_wrap_new_wxPreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2892 PyObject * _resultobj;
2893 wxPyVScrolledWindow * _result;
2894 char *_kwnames[] = { NULL };
2895 char _ptemp[128];
2896
2897 self = self;
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreVScrolledWindow",_kwnames))
2899 return NULL;
2900{
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 _result = (wxPyVScrolledWindow *)new_wxPreVScrolledWindow();
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) return NULL;
2906} if (_result) {
2907 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyVScrolledWindow_p");
2908 _resultobj = Py_BuildValue("s",_ptemp);
2909 } else {
2910 Py_INCREF(Py_None);
2911 _resultobj = Py_None;
2912 }
2913 return _resultobj;
2914}
2915
2916#define wxVScrolledWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2917static PyObject *_wrap_wxVScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject * _resultobj;
2919 wxPyVScrolledWindow * _arg0;
2920 PyObject * _arg1;
2921 PyObject * _arg2;
2922 PyObject * _argo0 = 0;
2923 PyObject * _obj1 = 0;
2924 PyObject * _obj2 = 0;
2925 char *_kwnames[] = { "self","self","_class", NULL };
2926
2927 self = self;
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxVScrolledWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2929 return NULL;
2930 if (_argo0) {
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.");
2934 return NULL;
2935 }
2936 }
2937{
2938 _arg1 = _obj1;
2939}
2940{
2941 _arg2 = _obj2;
2942}
2943{
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 wxVScrolledWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) return NULL;
2949} Py_INCREF(Py_None);
2950 _resultobj = Py_None;
2951 return _resultobj;
2952}
2953
2954#define wxVScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2955static PyObject *_wrap_wxVScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject * _resultobj;
2957 bool _result;
2958 wxPyVScrolledWindow * _arg0;
2959 wxWindow * _arg1;
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;
2967 wxPoint temp;
2968 PyObject * _obj3 = 0;
2969 wxSize temp0;
2970 PyObject * _obj4 = 0;
2971 PyObject * _obj6 = 0;
2972 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
2973
2974 self = self;
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxVScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
2976 return NULL;
2977 if (_argo0) {
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.");
2981 return NULL;
2982 }
2983 }
2984 if (_argo1) {
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.");
2988 return NULL;
2989 }
2990 }
2991 if (_obj3)
2992{
2993 _arg3 = &temp;
2994 if (! wxPoint_helper(_obj3, &_arg3))
2995 return NULL;
2996}
2997 if (_obj4)
2998{
2999 _arg4 = &temp0;
3000 if (! wxSize_helper(_obj4, &_arg4))
3001 return NULL;
3002}
3003 if (_obj6)
3004{
3005 _arg6 = wxString_in_helper(_obj6);
3006 if (_arg6 == NULL)
3007 return NULL;
3008}
3009{
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 _result = (bool )wxVScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) return NULL;
3015} _resultobj = Py_BuildValue("i",_result);
3016{
3017 if (_obj6)
3018 delete _arg6;
3019}
3020 return _resultobj;
3021}
3022
3023#define wxVScrolledWindow_SetLineCount(_swigobj,_swigarg0) (_swigobj->SetLineCount(_swigarg0))
3024static PyObject *_wrap_wxVScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject * _resultobj;
3026 wxPyVScrolledWindow * _arg0;
3027 size_t _arg1;
3028 PyObject * _argo0 = 0;
3029 char *_kwnames[] = { "self","count", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_SetLineCount",_kwnames,&_argo0,&_arg1))
3033 return NULL;
3034 if (_argo0) {
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.");
3038 return NULL;
3039 }
3040 }
3041{
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 wxVScrolledWindow_SetLineCount(_arg0,_arg1);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) return NULL;
3047} Py_INCREF(Py_None);
3048 _resultobj = Py_None;
3049 return _resultobj;
3050}
3051
3052#define wxVScrolledWindow_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
3053static PyObject *_wrap_wxVScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject * _resultobj;
3055 bool _result;
3056 wxPyVScrolledWindow * _arg0;
3057 size_t _arg1;
3058 PyObject * _argo0 = 0;
3059 char *_kwnames[] = { "self","line", NULL };
3060
3061 self = self;
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_ScrollToLine",_kwnames,&_argo0,&_arg1))
3063 return NULL;
3064 if (_argo0) {
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.");
3068 return NULL;
3069 }
3070 }
3071{
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 _result = (bool )wxVScrolledWindow_ScrollToLine(_arg0,_arg1);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) return NULL;
3077} _resultobj = Py_BuildValue("i",_result);
3078 return _resultobj;
3079}
3080
3081#define wxVScrolledWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
3082static PyObject *_wrap_wxVScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
3083 PyObject * _resultobj;
3084 bool _result;
3085 wxPyVScrolledWindow * _arg0;
3086 int _arg1;
3087 PyObject * _argo0 = 0;
3088 char *_kwnames[] = { "self","lines", NULL };
3089
3090 self = self;
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
3092 return NULL;
3093 if (_argo0) {
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.");
3097 return NULL;
3098 }
3099 }
3100{
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 _result = (bool )wxVScrolledWindow_ScrollLines(_arg0,_arg1);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) return NULL;
3106} _resultobj = Py_BuildValue("i",_result);
3107 return _resultobj;
3108}
3109
3110#define wxVScrolledWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
3111static PyObject *_wrap_wxVScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 bool _result;
3114 wxPyVScrolledWindow * _arg0;
3115 int _arg1;
3116 PyObject * _argo0 = 0;
3117 char *_kwnames[] = { "self","pages", NULL };
3118
3119 self = self;
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
3121 return NULL;
3122 if (_argo0) {
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.");
3126 return NULL;
3127 }
3128 }
3129{
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 _result = (bool )wxVScrolledWindow_ScrollPages(_arg0,_arg1);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) return NULL;
3135} _resultobj = Py_BuildValue("i",_result);
3136 return _resultobj;
3137}
3138
3139#define wxVScrolledWindow_RefreshLine(_swigobj,_swigarg0) (_swigobj->RefreshLine(_swigarg0))
3140static PyObject *_wrap_wxVScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3141 PyObject * _resultobj;
3142 wxPyVScrolledWindow * _arg0;
3143 size_t _arg1;
3144 PyObject * _argo0 = 0;
3145 char *_kwnames[] = { "self","line", NULL };
3146
3147 self = self;
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_RefreshLine",_kwnames,&_argo0,&_arg1))
3149 return NULL;
3150 if (_argo0) {
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.");
3154 return NULL;
3155 }
3156 }
3157{
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 wxVScrolledWindow_RefreshLine(_arg0,_arg1);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) return NULL;
3163} Py_INCREF(Py_None);
3164 _resultobj = Py_None;
3165 return _resultobj;
3166}
3167
3168#define wxVScrolledWindow_RefreshLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshLines(_swigarg0,_swigarg1))
3169static PyObject *_wrap_wxVScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
3170 PyObject * _resultobj;
3171 wxPyVScrolledWindow * _arg0;
3172 size_t _arg1;
3173 size_t _arg2;
3174 PyObject * _argo0 = 0;
3175 char *_kwnames[] = { "self","from","to", NULL };
3176
3177 self = self;
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxVScrolledWindow_RefreshLines",_kwnames,&_argo0,&_arg1,&_arg2))
3179 return NULL;
3180 if (_argo0) {
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.");
3184 return NULL;
3185 }
3186 }
3187{
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 wxVScrolledWindow_RefreshLines(_arg0,_arg1,_arg2);
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) return NULL;
3193} Py_INCREF(Py_None);
3194 _resultobj = Py_None;
3195 return _resultobj;
3196}
3197
3198#define wxVScrolledWindow_HitTestXT(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3199static PyObject *_wrap_wxVScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject * _resultobj;
3201 int _result;
3202 wxPyVScrolledWindow * _arg0;
3203 wxCoord _arg1;
3204 wxCoord _arg2;
3205 PyObject * _argo0 = 0;
3206 char *_kwnames[] = { "self","x","y", NULL };
3207
3208 self = self;
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxVScrolledWindow_HitTestXT",_kwnames,&_argo0,&_arg1,&_arg2))
3210 return NULL;
3211 if (_argo0) {
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.");
3215 return NULL;
3216 }
3217 }
3218{
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 _result = (int )wxVScrolledWindow_HitTestXT(_arg0,_arg1,_arg2);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) return NULL;
3224} _resultobj = Py_BuildValue("i",_result);
3225 return _resultobj;
3226}
3227
3228#define wxVScrolledWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3229static PyObject *_wrap_wxVScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject * _resultobj;
3231 int _result;
3232 wxPyVScrolledWindow * _arg0;
3233 wxPoint * _arg1;
3234 PyObject * _argo0 = 0;
3235 wxPoint temp;
3236 PyObject * _obj1 = 0;
3237 char *_kwnames[] = { "self","pt", NULL };
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxVScrolledWindow_HitTest",_kwnames,&_argo0,&_obj1))
3241 return NULL;
3242 if (_argo0) {
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.");
3246 return NULL;
3247 }
3248 }
3249{
3250 _arg1 = &temp;
3251 if (! wxPoint_helper(_obj1, &_arg1))
3252 return NULL;
3253}
3254{
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 _result = (int )wxVScrolledWindow_HitTest(_arg0,*_arg1);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) return NULL;
3260} _resultobj = Py_BuildValue("i",_result);
3261 return _resultobj;
3262}
3263
3264#define wxVScrolledWindow_RefreshAll(_swigobj) (_swigobj->RefreshAll())
3265static 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 };
3270
3271 self = self;
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVScrolledWindow_RefreshAll",_kwnames,&_argo0))
3273 return NULL;
3274 if (_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.");
3278 return NULL;
3279 }
3280 }
3281{
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 wxVScrolledWindow_RefreshAll(_arg0);
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) return NULL;
3287} Py_INCREF(Py_None);
3288 _resultobj = Py_None;
3289 return _resultobj;
3290}
3291
3292#define wxVScrolledWindow_GetLineCount(_swigobj) (_swigobj->GetLineCount())
3293static PyObject *_wrap_wxVScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject * _resultobj;
3295 size_t _result;
3296 wxPyVScrolledWindow * _arg0;
3297 PyObject * _argo0 = 0;
3298 char *_kwnames[] = { "self", NULL };
3299
3300 self = self;
3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVScrolledWindow_GetLineCount",_kwnames,&_argo0))
3302 return NULL;
3303 if (_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.");
3307 return NULL;
3308 }
3309 }
3310{
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 _result = (size_t )wxVScrolledWindow_GetLineCount(_arg0);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) return NULL;
3316} _resultobj = Py_BuildValue("i",_result);
3317 return _resultobj;
3318}
3319
3320#define wxVScrolledWindow_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
3321static PyObject *_wrap_wxVScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3322 PyObject * _resultobj;
3323 size_t _result;
3324 wxPyVScrolledWindow * _arg0;
3325 PyObject * _argo0 = 0;
3326 char *_kwnames[] = { "self", NULL };
3327
3328 self = self;
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVScrolledWindow_GetFirstVisibleLine",_kwnames,&_argo0))
3330 return NULL;
3331 if (_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.");
3335 return NULL;
3336 }
3337 }
3338{
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 _result = (size_t )wxVScrolledWindow_GetFirstVisibleLine(_arg0);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) return NULL;
3344} _resultobj = Py_BuildValue("i",_result);
3345 return _resultobj;
3346}
3347
3348#define wxVScrolledWindow_GetLastVisibleLine(_swigobj) (_swigobj->GetLastVisibleLine())
3349static PyObject *_wrap_wxVScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject * _resultobj;
3351 size_t _result;
3352 wxPyVScrolledWindow * _arg0;
3353 PyObject * _argo0 = 0;
3354 char *_kwnames[] = { "self", NULL };
3355
3356 self = self;
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVScrolledWindow_GetLastVisibleLine",_kwnames,&_argo0))
3358 return NULL;
3359 if (_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.");
3363 return NULL;
3364 }
3365 }
3366{
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 _result = (size_t )wxVScrolledWindow_GetLastVisibleLine(_arg0);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) return NULL;
3372} _resultobj = Py_BuildValue("i",_result);
3373 return _resultobj;
3374}
3375
3376#define wxVScrolledWindow_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3377static PyObject *_wrap_wxVScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 bool _result;
3380 wxPyVScrolledWindow * _arg0;
3381 size_t _arg1;
3382 PyObject * _argo0 = 0;
3383 char *_kwnames[] = { "self","line", NULL };
3384
3385 self = self;
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVScrolledWindow_IsVisible",_kwnames,&_argo0,&_arg1))
3387 return NULL;
3388 if (_argo0) {
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.");
3392 return NULL;
3393 }
3394 }
3395{
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 _result = (bool )wxVScrolledWindow_IsVisible(_arg0,_arg1);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) return NULL;
3401} _resultobj = Py_BuildValue("i",_result);
3402 return _resultobj;
3403}
3404
3405static void *SwigwxPyVListBoxTowxPyVScrolledWindow(void *ptr) {
3406 wxPyVListBox *src;
3407 wxPyVScrolledWindow *dest;
3408 src = (wxPyVListBox *) ptr;
3409 dest = (wxPyVScrolledWindow *) src;
3410 return (void *) dest;
3411}
3412
3413static void *SwigwxPyVListBoxTowxPanel(void *ptr) {
3414 wxPyVListBox *src;
3415 wxPanel *dest;
3416 src = (wxPyVListBox *) ptr;
3417 dest = (wxPanel *) src;
3418 return (void *) dest;
3419}
3420
3421static void *SwigwxPyVListBoxTowxWindow(void *ptr) {
3422 wxPyVListBox *src;
3423 wxWindow *dest;
3424 src = (wxPyVListBox *) ptr;
3425 dest = (wxWindow *) src;
3426 return (void *) dest;
3427}
3428
3429static void *SwigwxPyVListBoxTowxEvtHandler(void *ptr) {
3430 wxPyVListBox *src;
3431 wxEvtHandler *dest;
3432 src = (wxPyVListBox *) ptr;
3433 dest = (wxEvtHandler *) src;
3434 return (void *) dest;
3435}
3436
3437static void *SwigwxPyVListBoxTowxObject(void *ptr) {
3438 wxPyVListBox *src;
3439 wxObject *dest;
3440 src = (wxPyVListBox *) ptr;
3441 dest = (wxObject *) src;
3442 return (void *) dest;
3443}
3444
3445#define new_wxVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3446static PyObject *_wrap_new_wxVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject * _resultobj;
3448 wxPyVListBox * _result;
3449 wxWindow * _arg0;
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;
3456 wxPoint temp;
3457 PyObject * _obj2 = 0;
3458 wxSize temp0;
3459 PyObject * _obj3 = 0;
3460 PyObject * _obj5 = 0;
3461 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3462 char _ptemp[128];
3463
3464 self = self;
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxVListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
3466 return NULL;
3467 if (_argo0) {
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.");
3471 return NULL;
3472 }
3473 }
3474 if (_obj2)
3475{
3476 _arg2 = &temp;
3477 if (! wxPoint_helper(_obj2, &_arg2))
3478 return NULL;
3479}
3480 if (_obj3)
3481{
3482 _arg3 = &temp0;
3483 if (! wxSize_helper(_obj3, &_arg3))
3484 return NULL;
3485}
3486 if (_obj5)
3487{
3488 _arg5 = wxString_in_helper(_obj5);
3489 if (_arg5 == NULL)
3490 return NULL;
3491}
3492{
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 _result = (wxPyVListBox *)new_wxVListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) return NULL;
3498} if (_result) {
3499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyVListBox_p");
3500 _resultobj = Py_BuildValue("s",_ptemp);
3501 } else {
3502 Py_INCREF(Py_None);
3503 _resultobj = Py_None;
3504 }
3505{
3506 if (_obj5)
3507 delete _arg5;
3508}
3509 return _resultobj;
3510}
3511
3512#define new_wxPreVListBox() (new wxPyVListBox())
3513static PyObject *_wrap_new_wxPreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject * _resultobj;
3515 wxPyVListBox * _result;
3516 char *_kwnames[] = { NULL };
3517 char _ptemp[128];
3518
3519 self = self;
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreVListBox",_kwnames))
3521 return NULL;
3522{
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 _result = (wxPyVListBox *)new_wxPreVListBox();
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) return NULL;
3528} if (_result) {
3529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyVListBox_p");
3530 _resultobj = Py_BuildValue("s",_ptemp);
3531 } else {
3532 Py_INCREF(Py_None);
3533 _resultobj = Py_None;
3534 }
3535 return _resultobj;
3536}
3537
3538#define wxVListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3539static PyObject *_wrap_wxVListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject * _resultobj;
3541 wxPyVListBox * _arg0;
3542 PyObject * _arg1;
3543 PyObject * _arg2;
3544 PyObject * _argo0 = 0;
3545 PyObject * _obj1 = 0;
3546 PyObject * _obj2 = 0;
3547 char *_kwnames[] = { "self","self","_class", NULL };
3548
3549 self = self;
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxVListBox__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3551 return NULL;
3552 if (_argo0) {
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.");
3556 return NULL;
3557 }
3558 }
3559{
3560 _arg1 = _obj1;
3561}
3562{
3563 _arg2 = _obj2;
3564}
3565{
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 wxVListBox__setCallbackInfo(_arg0,_arg1,_arg2);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) return NULL;
3571} Py_INCREF(Py_None);
3572 _resultobj = Py_None;
3573 return _resultobj;
3574}
3575
3576#define wxVListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3577static PyObject *_wrap_wxVListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject * _resultobj;
3579 bool _result;
3580 wxPyVListBox * _arg0;
3581 wxWindow * _arg1;
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;
3589 wxPoint temp;
3590 PyObject * _obj3 = 0;
3591 wxSize temp0;
3592 PyObject * _obj4 = 0;
3593 PyObject * _obj6 = 0;
3594 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
3595
3596 self = self;
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxVListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
3598 return NULL;
3599 if (_argo0) {
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.");
3603 return NULL;
3604 }
3605 }
3606 if (_argo1) {
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.");
3610 return NULL;
3611 }
3612 }
3613 if (_obj3)
3614{
3615 _arg3 = &temp;
3616 if (! wxPoint_helper(_obj3, &_arg3))
3617 return NULL;
3618}
3619 if (_obj4)
3620{
3621 _arg4 = &temp0;
3622 if (! wxSize_helper(_obj4, &_arg4))
3623 return NULL;
3624}
3625 if (_obj6)
3626{
3627 _arg6 = wxString_in_helper(_obj6);
3628 if (_arg6 == NULL)
3629 return NULL;
3630}
3631{
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 _result = (bool )wxVListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) return NULL;
3637} _resultobj = Py_BuildValue("i",_result);
3638{
3639 if (_obj6)
3640 delete _arg6;
3641}
3642 return _resultobj;
3643}
3644
3645#define wxVListBox_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3646static PyObject *_wrap_wxVListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject * _resultobj;
3648 size_t _result;
3649 wxPyVListBox * _arg0;
3650 PyObject * _argo0 = 0;
3651 char *_kwnames[] = { "self", NULL };
3652
3653 self = self;
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_GetItemCount",_kwnames,&_argo0))
3655 return NULL;
3656 if (_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.");
3660 return NULL;
3661 }
3662 }
3663{
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 _result = (size_t )wxVListBox_GetItemCount(_arg0);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) return NULL;
3669} _resultobj = Py_BuildValue("i",_result);
3670 return _resultobj;
3671}
3672
3673#define wxVListBox_HasMultipleSelection(_swigobj) (_swigobj->HasMultipleSelection())
3674static PyObject *_wrap_wxVListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject * _resultobj;
3676 bool _result;
3677 wxPyVListBox * _arg0;
3678 PyObject * _argo0 = 0;
3679 char *_kwnames[] = { "self", NULL };
3680
3681 self = self;
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_HasMultipleSelection",_kwnames,&_argo0))
3683 return NULL;
3684 if (_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.");
3688 return NULL;
3689 }
3690 }
3691{
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 _result = (bool )wxVListBox_HasMultipleSelection(_arg0);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) return NULL;
3697} _resultobj = Py_BuildValue("i",_result);
3698 return _resultobj;
3699}
3700
3701#define wxVListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3702static PyObject *_wrap_wxVListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject * _resultobj;
3704 int _result;
3705 wxPyVListBox * _arg0;
3706 PyObject * _argo0 = 0;
3707 char *_kwnames[] = { "self", NULL };
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_GetSelection",_kwnames,&_argo0))
3711 return NULL;
3712 if (_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.");
3716 return NULL;
3717 }
3718 }
3719{
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 _result = (int )wxVListBox_GetSelection(_arg0);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) return NULL;
3725} _resultobj = Py_BuildValue("i",_result);
3726 return _resultobj;
3727}
3728
3729#define wxVListBox_IsCurrent(_swigobj,_swigarg0) (_swigobj->IsCurrent(_swigarg0))
3730static PyObject *_wrap_wxVListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 bool _result;
3733 wxPyVListBox * _arg0;
3734 size_t _arg1;
3735 PyObject * _argo0 = 0;
3736 char *_kwnames[] = { "self","item", NULL };
3737
3738 self = self;
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVListBox_IsCurrent",_kwnames,&_argo0,&_arg1))
3740 return NULL;
3741 if (_argo0) {
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.");
3745 return NULL;
3746 }
3747 }
3748{
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 _result = (bool )wxVListBox_IsCurrent(_arg0,_arg1);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) return NULL;
3754} _resultobj = Py_BuildValue("i",_result);
3755 return _resultobj;
3756}
3757
3758#define wxVListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3759static PyObject *_wrap_wxVListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject * _resultobj;
3761 bool _result;
3762 wxPyVListBox * _arg0;
3763 size_t _arg1;
3764 PyObject * _argo0 = 0;
3765 char *_kwnames[] = { "self","item", NULL };
3766
3767 self = self;
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVListBox_IsSelected",_kwnames,&_argo0,&_arg1))
3769 return NULL;
3770 if (_argo0) {
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.");
3774 return NULL;
3775 }
3776 }
3777{
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 _result = (bool )wxVListBox_IsSelected(_arg0,_arg1);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) return NULL;
3783} _resultobj = Py_BuildValue("i",_result);
3784 return _resultobj;
3785}
3786
3787#define wxVListBox_GetSelectedCount(_swigobj) (_swigobj->GetSelectedCount())
3788static PyObject *_wrap_wxVListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject * _resultobj;
3790 size_t _result;
3791 wxPyVListBox * _arg0;
3792 PyObject * _argo0 = 0;
3793 char *_kwnames[] = { "self", NULL };
3794
3795 self = self;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_GetSelectedCount",_kwnames,&_argo0))
3797 return NULL;
3798 if (_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.");
3802 return NULL;
3803 }
3804 }
3805{
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 _result = (size_t )wxVListBox_GetSelectedCount(_arg0);
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) return NULL;
3811} _resultobj = Py_BuildValue("i",_result);
3812 return _resultobj;
3813}
3814
3815#define wxVListBox_GetFirstSelected(_swigobj,_swigarg0) (_swigobj->GetFirstSelected(_swigarg0))
3816static PyObject *_wrap_wxVListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3817 PyObject * _resultobj;
3818 int _result;
3819 wxPyVListBox * _arg0;
3820 unsigned long * _arg1;
3821 PyObject * _argo0 = 0;
3822 PyObject * _argo1 = 0;
3823 char *_kwnames[] = { "self","cookie", NULL };
3824
3825 self = self;
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxVListBox_GetFirstSelected",_kwnames,&_argo0,&_argo1))
3827 return NULL;
3828 if (_argo0) {
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.");
3832 return NULL;
3833 }
3834 }
3835 if (_argo1) {
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.");
3838 return NULL;
3839 }
3840 }
3841{
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 _result = (int )wxVListBox_GetFirstSelected(_arg0,*_arg1);
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) return NULL;
3847} _resultobj = Py_BuildValue("i",_result);
3848 return _resultobj;
3849}
3850
3851#define wxVListBox_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
3852static PyObject *_wrap_wxVListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject * _resultobj;
3854 int _result;
3855 wxPyVListBox * _arg0;
3856 unsigned long * _arg1;
3857 PyObject * _argo0 = 0;
3858 PyObject * _argo1 = 0;
3859 char *_kwnames[] = { "self","cookie", NULL };
3860
3861 self = self;
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxVListBox_GetNextSelected",_kwnames,&_argo0,&_argo1))
3863 return NULL;
3864 if (_argo0) {
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.");
3868 return NULL;
3869 }
3870 }
3871 if (_argo1) {
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.");
3874 return NULL;
3875 }
3876 }
3877{
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 _result = (int )wxVListBox_GetNextSelected(_arg0,*_arg1);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) return NULL;
3883} _resultobj = Py_BuildValue("i",_result);
3884 return _resultobj;
3885}
3886
3887#define wxVListBox_GetMargins(_swigobj) (_swigobj->GetMargins())
3888static PyObject *_wrap_wxVListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject * _resultobj;
3890 wxPoint * _result;
3891 wxPyVListBox * _arg0;
3892 PyObject * _argo0 = 0;
3893 char *_kwnames[] = { "self", NULL };
3894 char _ptemp[128];
3895
3896 self = self;
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_GetMargins",_kwnames,&_argo0))
3898 return NULL;
3899 if (_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.");
3903 return NULL;
3904 }
3905 }
3906{
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 _result = new wxPoint (wxVListBox_GetMargins(_arg0));
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) return NULL;
3912} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3913 _resultobj = Py_BuildValue("s",_ptemp);
3914 return _resultobj;
3915}
3916
3917#define wxVListBox_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
3918static PyObject *_wrap_wxVListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject * _resultobj;
3920 wxColour * _result;
3921 wxPyVListBox * _arg0;
3922 PyObject * _argo0 = 0;
3923 char *_kwnames[] = { "self", NULL };
3924 char _ptemp[128];
3925
3926 self = self;
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_GetSelectionBackground",_kwnames,&_argo0))
3928 return NULL;
3929 if (_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.");
3933 return NULL;
3934 }
3935 }
3936{
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 const wxColour & _result_ref = wxVListBox_GetSelectionBackground(_arg0);
3939 _result = (wxColour *) &_result_ref;
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) return NULL;
3943} if (_result) {
3944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3945 _resultobj = Py_BuildValue("s",_ptemp);
3946 } else {
3947 Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 }
3950 return _resultobj;
3951}
3952
3953#define wxVListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
3954static PyObject *_wrap_wxVListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject * _resultobj;
3956 wxPyVListBox * _arg0;
3957 size_t _arg1;
3958 PyObject * _argo0 = 0;
3959 char *_kwnames[] = { "self","count", NULL };
3960
3961 self = self;
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVListBox_SetItemCount",_kwnames,&_argo0,&_arg1))
3963 return NULL;
3964 if (_argo0) {
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.");
3968 return NULL;
3969 }
3970 }
3971{
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 wxVListBox_SetItemCount(_arg0,_arg1);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) return NULL;
3977} Py_INCREF(Py_None);
3978 _resultobj = Py_None;
3979 return _resultobj;
3980}
3981
3982#define wxVListBox_Clear(_swigobj) (_swigobj->Clear())
3983static 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 };
3988
3989 self = self;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_Clear",_kwnames,&_argo0))
3991 return NULL;
3992 if (_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.");
3996 return NULL;
3997 }
3998 }
3999{
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 wxVListBox_Clear(_arg0);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) return NULL;
4005} Py_INCREF(Py_None);
4006 _resultobj = Py_None;
4007 return _resultobj;
4008}
4009
4010#define wxVListBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
4011static PyObject *_wrap_wxVListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject * _resultobj;
4013 wxPyVListBox * _arg0;
4014 int _arg1;
4015 PyObject * _argo0 = 0;
4016 char *_kwnames[] = { "self","selection", NULL };
4017
4018 self = self;
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVListBox_SetSelection",_kwnames,&_argo0,&_arg1))
4020 return NULL;
4021 if (_argo0) {
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.");
4025 return NULL;
4026 }
4027 }
4028{
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 wxVListBox_SetSelection(_arg0,_arg1);
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) return NULL;
4034} Py_INCREF(Py_None);
4035 _resultobj = Py_None;
4036 return _resultobj;
4037}
4038
4039#define wxVListBox_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
4040static PyObject *_wrap_wxVListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject * _resultobj;
4042 bool _result;
4043 wxPyVListBox * _arg0;
4044 size_t _arg1;
4045 bool _arg2 = (bool ) true;
4046 PyObject * _argo0 = 0;
4047 int tempbool2 = (int) true;
4048 char *_kwnames[] = { "self","item","select", NULL };
4049
4050 self = self;
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxVListBox_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
4052 return NULL;
4053 if (_argo0) {
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.");
4057 return NULL;
4058 }
4059 }
4060 _arg2 = (bool ) tempbool2;
4061{
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 _result = (bool )wxVListBox_Select(_arg0,_arg1,_arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) return NULL;
4067} _resultobj = Py_BuildValue("i",_result);
4068 return _resultobj;
4069}
4070
4071#define wxVListBox_SelectRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRange(_swigarg0,_swigarg1))
4072static PyObject *_wrap_wxVListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject * _resultobj;
4074 bool _result;
4075 wxPyVListBox * _arg0;
4076 size_t _arg1;
4077 size_t _arg2;
4078 PyObject * _argo0 = 0;
4079 char *_kwnames[] = { "self","from","to", NULL };
4080
4081 self = self;
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxVListBox_SelectRange",_kwnames,&_argo0,&_arg1,&_arg2))
4083 return NULL;
4084 if (_argo0) {
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.");
4088 return NULL;
4089 }
4090 }
4091{
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 _result = (bool )wxVListBox_SelectRange(_arg0,_arg1,_arg2);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) return NULL;
4097} _resultobj = Py_BuildValue("i",_result);
4098 return _resultobj;
4099}
4100
4101#define wxVListBox_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4102static PyObject *_wrap_wxVListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject * _resultobj;
4104 wxPyVListBox * _arg0;
4105 size_t _arg1;
4106 PyObject * _argo0 = 0;
4107 char *_kwnames[] = { "self","item", NULL };
4108
4109 self = self;
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxVListBox_Toggle",_kwnames,&_argo0,&_arg1))
4111 return NULL;
4112 if (_argo0) {
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.");
4116 return NULL;
4117 }
4118 }
4119{
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 wxVListBox_Toggle(_arg0,_arg1);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) return NULL;
4125} Py_INCREF(Py_None);
4126 _resultobj = Py_None;
4127 return _resultobj;
4128}
4129
4130#define wxVListBox_SelectAll(_swigobj) (_swigobj->SelectAll())
4131static PyObject *_wrap_wxVListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject * _resultobj;
4133 bool _result;
4134 wxPyVListBox * _arg0;
4135 PyObject * _argo0 = 0;
4136 char *_kwnames[] = { "self", NULL };
4137
4138 self = self;
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_SelectAll",_kwnames,&_argo0))
4140 return NULL;
4141 if (_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.");
4145 return NULL;
4146 }
4147 }
4148{
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 _result = (bool )wxVListBox_SelectAll(_arg0);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) return NULL;
4154} _resultobj = Py_BuildValue("i",_result);
4155 return _resultobj;
4156}
4157
4158#define wxVListBox_DeselectAll(_swigobj) (_swigobj->DeselectAll())
4159static PyObject *_wrap_wxVListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4160 PyObject * _resultobj;
4161 bool _result;
4162 wxPyVListBox * _arg0;
4163 PyObject * _argo0 = 0;
4164 char *_kwnames[] = { "self", NULL };
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxVListBox_DeselectAll",_kwnames,&_argo0))
4168 return NULL;
4169 if (_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.");
4173 return NULL;
4174 }
4175 }
4176{
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 _result = (bool )wxVListBox_DeselectAll(_arg0);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) return NULL;
4182} _resultobj = Py_BuildValue("i",_result);
4183 return _resultobj;
4184}
4185
4186#define wxVListBox_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
4187static PyObject *_wrap_wxVListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject * _resultobj;
4189 wxPyVListBox * _arg0;
4190 wxPoint * _arg1;
4191 PyObject * _argo0 = 0;
4192 wxPoint temp;
4193 PyObject * _obj1 = 0;
4194 char *_kwnames[] = { "self","pt", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxVListBox_SetMargins",_kwnames,&_argo0,&_obj1))
4198 return NULL;
4199 if (_argo0) {
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.");
4203 return NULL;
4204 }
4205 }
4206{
4207 _arg1 = &temp;
4208 if (! wxPoint_helper(_obj1, &_arg1))
4209 return NULL;
4210}
4211{
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 wxVListBox_SetMargins(_arg0,*_arg1);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) return NULL;
4217} Py_INCREF(Py_None);
4218 _resultobj = Py_None;
4219 return _resultobj;
4220}
4221
4222#define wxVListBox_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
4223static PyObject *_wrap_wxVListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject * _resultobj;
4225 wxPyVListBox * _arg0;
4226 wxCoord _arg1;
4227 wxCoord _arg2;
4228 PyObject * _argo0 = 0;
4229 char *_kwnames[] = { "self","x","y", NULL };
4230
4231 self = self;
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxVListBox_SetMarginsXY",_kwnames,&_argo0,&_arg1,&_arg2))
4233 return NULL;
4234 if (_argo0) {
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.");
4238 return NULL;
4239 }
4240 }
4241{
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 wxVListBox_SetMarginsXY(_arg0,_arg1,_arg2);
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) return NULL;
4247} Py_INCREF(Py_None);
4248 _resultobj = Py_None;
4249 return _resultobj;
4250}
4251
4252#define wxVListBox_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
4253static PyObject *_wrap_wxVListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject * _resultobj;
4255 wxPyVListBox * _arg0;
4256 wxColour * _arg1;
4257 PyObject * _argo0 = 0;
4258 wxColour temp;
4259 PyObject * _obj1 = 0;
4260 char *_kwnames[] = { "self","col", NULL };
4261
4262 self = self;
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxVListBox_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
4264 return NULL;
4265 if (_argo0) {
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.");
4269 return NULL;
4270 }
4271 }
4272{
4273 _arg1 = &temp;
4274 if (! wxColour_helper(_obj1, &_arg1))
4275 return NULL;
4276}
4277{
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 wxVListBox_SetSelectionBackground(_arg0,*_arg1);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) return NULL;
4283} Py_INCREF(Py_None);
4284 _resultobj = Py_None;
4285 return _resultobj;
4286}
4287
4288static void *SwigwxPyHtmlListBoxTowxPyVListBox(void *ptr) {
4289 wxPyHtmlListBox *src;
4290 wxPyVListBox *dest;
4291 src = (wxPyHtmlListBox *) ptr;
4292 dest = (wxPyVListBox *) src;
4293 return (void *) dest;
4294}
4295
4296static void *SwigwxPyHtmlListBoxTowxPyVScrolledWindow(void *ptr) {
4297 wxPyHtmlListBox *src;
4298 wxPyVScrolledWindow *dest;
4299 src = (wxPyHtmlListBox *) ptr;
4300 dest = (wxPyVScrolledWindow *) src;
4301 return (void *) dest;
4302}
4303
4304static void *SwigwxPyHtmlListBoxTowxPanel(void *ptr) {
4305 wxPyHtmlListBox *src;
4306 wxPanel *dest;
4307 src = (wxPyHtmlListBox *) ptr;
4308 dest = (wxPanel *) src;
4309 return (void *) dest;
4310}
4311
4312static void *SwigwxPyHtmlListBoxTowxWindow(void *ptr) {
4313 wxPyHtmlListBox *src;
4314 wxWindow *dest;
4315 src = (wxPyHtmlListBox *) ptr;
4316 dest = (wxWindow *) src;
4317 return (void *) dest;
4318}
4319
4320static void *SwigwxPyHtmlListBoxTowxEvtHandler(void *ptr) {
4321 wxPyHtmlListBox *src;
4322 wxEvtHandler *dest;
4323 src = (wxPyHtmlListBox *) ptr;
4324 dest = (wxEvtHandler *) src;
4325 return (void *) dest;
4326}
4327
4328static void *SwigwxPyHtmlListBoxTowxObject(void *ptr) {
4329 wxPyHtmlListBox *src;
4330 wxObject *dest;
4331 src = (wxPyHtmlListBox *) ptr;
4332 dest = (wxObject *) src;
4333 return (void *) dest;
4334}
4335
4336#define new_wxHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4337static PyObject *_wrap_new_wxHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject * _resultobj;
4339 wxPyHtmlListBox * _result;
4340 wxWindow * _arg0;
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;
4347 wxPoint temp;
4348 PyObject * _obj2 = 0;
4349 wxSize temp0;
4350 PyObject * _obj3 = 0;
4351 PyObject * _obj5 = 0;
4352 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4353 char _ptemp[128];
4354
4355 self = self;
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxHtmlListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4357 return NULL;
4358 if (_argo0) {
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.");
4362 return NULL;
4363 }
4364 }
4365 if (_obj2)
4366{
4367 _arg2 = &temp;
4368 if (! wxPoint_helper(_obj2, &_arg2))
4369 return NULL;
4370}
4371 if (_obj3)
4372{
4373 _arg3 = &temp0;
4374 if (! wxSize_helper(_obj3, &_arg3))
4375 return NULL;
4376}
4377 if (_obj5)
4378{
4379 _arg5 = wxString_in_helper(_obj5);
4380 if (_arg5 == NULL)
4381 return NULL;
4382}
4383{
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 _result = (wxPyHtmlListBox *)new_wxHtmlListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) return NULL;
4389} if (_result) {
4390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlListBox_p");
4391 _resultobj = Py_BuildValue("s",_ptemp);
4392 } else {
4393 Py_INCREF(Py_None);
4394 _resultobj = Py_None;
4395 }
4396{
4397 if (_obj5)
4398 delete _arg5;
4399}
4400 return _resultobj;
4401}
4402
4403#define new_wxPreHtmlListBox() (new wxPyHtmlListBox())
4404static PyObject *_wrap_new_wxPreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4405 PyObject * _resultobj;
4406 wxPyHtmlListBox * _result;
4407 char *_kwnames[] = { NULL };
4408 char _ptemp[128];
4409
4410 self = self;
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreHtmlListBox",_kwnames))
4412 return NULL;
4413{
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 _result = (wxPyHtmlListBox *)new_wxPreHtmlListBox();
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) return NULL;
4419} if (_result) {
4420 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlListBox_p");
4421 _resultobj = Py_BuildValue("s",_ptemp);
4422 } else {
4423 Py_INCREF(Py_None);
4424 _resultobj = Py_None;
4425 }
4426 return _resultobj;
4427}
4428
4429#define wxHtmlListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4430static PyObject *_wrap_wxHtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject * _resultobj;
4432 wxPyHtmlListBox * _arg0;
4433 PyObject * _arg1;
4434 PyObject * _arg2;
4435 PyObject * _argo0 = 0;
4436 PyObject * _obj1 = 0;
4437 PyObject * _obj2 = 0;
4438 char *_kwnames[] = { "self","self","_class", NULL };
4439
4440 self = self;
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlListBox__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4442 return NULL;
4443 if (_argo0) {
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.");
4447 return NULL;
4448 }
4449 }
4450{
4451 _arg1 = _obj1;
4452}
4453{
4454 _arg2 = _obj2;
4455}
4456{
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 wxHtmlListBox__setCallbackInfo(_arg0,_arg1,_arg2);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) return NULL;
4462} Py_INCREF(Py_None);
4463 _resultobj = Py_None;
4464 return _resultobj;
4465}
4466
4467#define wxHtmlListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4468static PyObject *_wrap_wxHtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject * _resultobj;
4470 bool _result;
4471 wxPyHtmlListBox * _arg0;
4472 wxWindow * _arg1;
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;
4480 wxPoint temp;
4481 PyObject * _obj3 = 0;
4482 wxSize temp0;
4483 PyObject * _obj4 = 0;
4484 PyObject * _obj6 = 0;
4485 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4486
4487 self = self;
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxHtmlListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
4489 return NULL;
4490 if (_argo0) {
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.");
4494 return NULL;
4495 }
4496 }
4497 if (_argo1) {
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.");
4501 return NULL;
4502 }
4503 }
4504 if (_obj3)
4505{
4506 _arg3 = &temp;
4507 if (! wxPoint_helper(_obj3, &_arg3))
4508 return NULL;
4509}
4510 if (_obj4)
4511{
4512 _arg4 = &temp0;
4513 if (! wxSize_helper(_obj4, &_arg4))
4514 return NULL;
4515}
4516 if (_obj6)
4517{
4518 _arg6 = wxString_in_helper(_obj6);
4519 if (_arg6 == NULL)
4520 return NULL;
4521}
4522{
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 _result = (bool )wxHtmlListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) return NULL;
4528} _resultobj = Py_BuildValue("i",_result);
4529{
4530 if (_obj6)
4531 delete _arg6;
4532}
4533 return _resultobj;
4534}
4535
4536#define wxHtmlListBox_RefreshAll(_swigobj) (_swigobj->RefreshAll())
4537static 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 };
4542
4543 self = self;
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlListBox_RefreshAll",_kwnames,&_argo0))
4545 return NULL;
4546 if (_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.");
4550 return NULL;
4551 }
4552 }
4553{
4554 PyThreadState* __tstate = wxPyBeginAllowThreads();
4555 wxHtmlListBox_RefreshAll(_arg0);
4556
4557 wxPyEndAllowThreads(__tstate);
4558 if (PyErr_Occurred()) return NULL;
4559} Py_INCREF(Py_None);
4560 _resultobj = Py_None;
4561 return _resultobj;
4562}
4563
4564#define wxHtmlListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4565static PyObject *_wrap_wxHtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject * _resultobj;
4567 wxPyHtmlListBox * _arg0;
4568 size_t _arg1;
4569 PyObject * _argo0 = 0;
4570 char *_kwnames[] = { "self","count", NULL };
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlListBox_SetItemCount",_kwnames,&_argo0,&_arg1))
4574 return NULL;
4575 if (_argo0) {
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.");
4579 return NULL;
4580 }
4581 }
4582{
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 wxHtmlListBox_SetItemCount(_arg0,_arg1);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) return NULL;
4588} Py_INCREF(Py_None);
4589 _resultobj = Py_None;
4590 return _resultobj;
4591}
4592
08127323 4593static PyMethodDef windows3cMethods[] = {
8a12f92d
RD
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 },
ce914f73
RD
4642 { "wxTipWindow_Close", (PyCFunction) _wrap_wxTipWindow_Close, METH_VARARGS | METH_KEYWORDS },
4643 { "wxTipWindow_SetBoundingRect", (PyCFunction) _wrap_wxTipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
4416b508 4644 { "new_wxTipWindow", (PyCFunction) _wrap_new_wxTipWindow, METH_VARARGS | METH_KEYWORDS },
0122b7e3
RD
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 },
efc5f224
RD
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 },
09f3d4e6
RD
4664 { "wxSashLayoutWindow_Create", (PyCFunction) _wrap_wxSashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
4665 { "new_wxPreSashLayoutWindow", (PyCFunction) _wrap_new_wxPreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
09f3d4e6 4671 { "new_wxCalculateLayoutEvent", (PyCFunction) _wrap_new_wxCalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
09f3d4e6 4682 { "new_wxQueryLayoutInfoEvent", (PyCFunction) _wrap_new_wxQueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
09f3d4e6
RD
4700 { "wxSashWindow_Create", (PyCFunction) _wrap_wxSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
4701 { "new_wxPreSashWindow", (PyCFunction) _wrap_new_wxPreSashWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
09f3d4e6 4709 { "new_wxSashEvent", (PyCFunction) _wrap_new_wxSashEvent, METH_VARARGS | METH_KEYWORDS },
08127323
RD
4710 { NULL, NULL }
4711};
1d99702e
RD
4712#ifdef __cplusplus
4713}
4714#endif
4715/*
4716 * This table is used by the pointer type-checker
4717 */
4718static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 4719 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1d99702e 4720 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1d99702e 4721 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
1d99702e 4722 { "_signed_long","_long",0},
b1462dfa 4723 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
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},
c368d904 4731 { "_wxPrintQuality","_time_t",0},
4416b508 4732 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow},
1d99702e 4733 { "_byte","_unsigned_char",0},
1d99702e
RD
4734 { "_long","_unsigned_long",0},
4735 { "_long","_signed_long",0},
1d99702e 4736 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
b1462dfa 4737 { "_size_t","_wxCoord",0},
1d99702e 4738 { "_size_t","_wxPrintQuality",0},
c368d904 4739 { "_size_t","_time_t",0},
1d99702e
RD
4740 { "_size_t","_unsigned_int",0},
4741 { "_size_t","_int",0},
4742 { "_size_t","_wxWindowID",0},
4743 { "_size_t","_uint",0},
4416b508 4744 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow},
0122b7e3 4745 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow},
8a12f92d
RD
4746 { "_wxPanel","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPanel},
4747 { "_wxPanel","_wxPyVListBox",SwigwxPyVListBoxTowxPanel},
4748 { "_wxPanel","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxPanel},
b1462dfa 4749 { "_uint","_wxCoord",0},
1d99702e 4750 { "_uint","_wxPrintQuality",0},
c368d904 4751 { "_uint","_time_t",0},
1d99702e
RD
4752 { "_uint","_size_t",0},
4753 { "_uint","_unsigned_int",0},
4754 { "_uint","_int",0},
4755 { "_uint","_wxWindowID",0},
f6bcfd97 4756 { "_wxChar","_char",0},
1d99702e 4757 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
f6bcfd97 4758 { "_char","_wxChar",0},
cdf14688 4759 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 4760 { "_EBool","_wxCoord",0},
1d99702e
RD
4761 { "_EBool","_wxPrintQuality",0},
4762 { "_EBool","_signed_int",0},
4763 { "_EBool","_int",0},
4764 { "_EBool","_wxWindowID",0},
1d99702e 4765 { "_unsigned_long","_long",0},
cdf14688 4766 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 4767 { "_signed_int","_wxCoord",0},
1d99702e
RD
4768 { "_signed_int","_wxPrintQuality",0},
4769 { "_signed_int","_EBool",0},
4770 { "_signed_int","_wxWindowID",0},
4771 { "_signed_int","_int",0},
1d99702e
RD
4772 { "_WXTYPE","_short",0},
4773 { "_WXTYPE","_signed_short",0},
4774 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
4775 { "_unsigned_short","_WXTYPE",0},
4776 { "_unsigned_short","_short",0},
8a12f92d
RD
4777 { "_wxObject","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxObject},
4778 { "_wxObject","_wxPyVListBox",SwigwxPyVListBoxTowxObject},
4779 { "_wxObject","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxObject},
4416b508 4780 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject},
0122b7e3
RD
4781 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject},
4782 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject},
9416aa89 4783 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject},
9416aa89 4784 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject},
9416aa89 4785 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject},
9416aa89 4786 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject},
9416aa89 4787 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject},
9416aa89 4788 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject},
8a12f92d
RD
4789 { "_wxPyVScrolledWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVScrolledWindow},
4790 { "_wxPyVScrolledWindow","_wxPyVListBox",SwigwxPyVListBoxTowxPyVScrolledWindow},
1d99702e
RD
4791 { "_signed_short","_WXTYPE",0},
4792 { "_signed_short","_short",0},
1d99702e 4793 { "_unsigned_char","_byte",0},
b1462dfa 4794 { "_unsigned_int","_wxCoord",0},
1d99702e 4795 { "_unsigned_int","_wxPrintQuality",0},
c368d904 4796 { "_unsigned_int","_time_t",0},
1d99702e
RD
4797 { "_unsigned_int","_size_t",0},
4798 { "_unsigned_int","_uint",0},
4799 { "_unsigned_int","_wxWindowID",0},
4800 { "_unsigned_int","_int",0},
1d99702e
RD
4801 { "_short","_WXTYPE",0},
4802 { "_short","_unsigned_short",0},
4803 { "_short","_signed_short",0},
b1462dfa 4804 { "_wxWindowID","_wxCoord",0},
1d99702e 4805 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4806 { "_wxWindowID","_time_t",0},
1d99702e
RD
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},
b1462dfa 4813 { "_int","_wxCoord",0},
1d99702e 4814 { "_int","_wxPrintQuality",0},
c368d904 4815 { "_int","_time_t",0},
1d99702e
RD
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},
c368d904
RD
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},
b1462dfa
RD
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},
c368d904 4836 { "_wxCoord","_time_t",0},
b1462dfa 4837 { "_wxCoord","_wxPrintQuality",0},
8a12f92d
RD
4838 { "_wxEvtHandler","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxEvtHandler},
4839 { "_wxEvtHandler","_wxPyVListBox",SwigwxPyVListBoxTowxEvtHandler},
4840 { "_wxEvtHandler","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxEvtHandler},
4416b508 4841 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
0122b7e3
RD
4842 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler},
4843 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler},
1d99702e 4844 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
1d99702e 4845 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
8a12f92d
RD
4846 { "_wxWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxWindow},
4847 { "_wxWindow","_wxPyVListBox",SwigwxPyVListBoxTowxWindow},
4848 { "_wxWindow","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxWindow},
4416b508 4849 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow},
0122b7e3
RD
4850 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow},
4851 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow},
1d99702e 4852 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
1d99702e 4853 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
8a12f92d 4854 { "_wxPyVListBox","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVListBox},
1d99702e
RD
4855{0,0,0}};
4856
08127323
RD
4857static PyObject *SWIG_globals;
4858#ifdef __cplusplus
4859extern "C"
4860#endif
1d99702e 4861SWIGEXPORT(void) initwindows3c() {
08127323
RD
4862 PyObject *m, *d;
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));
1b62f00d
RD
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));
08127323
RD
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));
e06b17c0
RD
4887
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");
1d99702e
RD
4892{
4893 int i;
4894 for (i = 0; _swig_mapping[i].n1; i++)
4895 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4896}
08127323 4897}