1 /*
2 * Interface wrapper code.
3 *
4 * Generated by SIP 4.19.16
5 *
6 * Copyright: (c) 2018 by Total Control Software
7 * License: wxWindows License
8 */
9
10 #include "sipAPI_core.h"
11
12 #include <wx/splitter.h>
13
14 #include <wx/window.h>
15 #include <wx/gdicmn.h>
16 #include <wx/gdicmn.h>
17 #include <wx/window.h>
18 #include <wx/event.h>
19 #include <wx/validate.h>
20 #include <wx/event.h>
21 #include <wx/setup.h>
22 #include <wxPython/wxpy_api.h>
23 #include <wx/event.h>
24 #include <wx/cursor.h>
25 #include <wx/caret.h>
26 #include <wx/layout.h>
27 #include <wx/sizer.h>
28 #include <wx/dnd.h>
29 #include <wx/access.h>
30 #include <wx/accel.h>
31 #include <wx/menu.h>
32 #include <wx/tooltip.h>
33 #include <wx/event.h>
34 #include <wx/gdicmn.h>
35 #include <wx/event.h>
36 #include <wx/event.h>
37 #include <wx/palette.h>
38 #include <wx/colour.h>
39 #include <wx/font.h>
40 #include <wx/region.h>
41
42 #include <wx/eventfilter.h>
43 #include <wx/object.h>
44 #include <wx/object.h>
45 #include <wx/object.h>
46
47
48 class sipwxSplitterWindow : public ::wxSplitterWindow
49 {
50 public:
51 sipwxSplitterWindow();
52 sipwxSplitterWindow( ::wxWindow*, ::wxWindowID,const ::wxPoint&,const ::wxSize&,long,const ::wxString&);
53 virtual ~sipwxSplitterWindow();
54
55 /*
56 * There is a public method for every protected method visible from
57 * this class.
58 */
59 void sipProtect_SendDestroyEvent();
60 bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
61 void sipProtectVirt_DoEnable(bool,bool);
62 void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
63 void sipProtectVirt_DoGetSize(bool,int*,int*) const;
64 void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
65 ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
66 ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
67 void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
68 void sipProtectVirt_DoSetClientSize(bool,int,int);
69 void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
70 ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
71 void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
72 void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
73 ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
74 ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
75 void sipProtectVirt_DoFreeze(bool);
76 void sipProtectVirt_DoThaw(bool);
77 bool sipProtectVirt_HasTransparentBackground(bool);
78 bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
79 bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
80
81 /*
82 * There is a protected method for every virtual method visible from
83 * this class.
84 */
85 protected:
86 void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
87 void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
88 bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
89 bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
90 bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
91 bool AcceptsFocus() const SIP_OVERRIDE;
92 bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
93 bool AcceptsFocusRecursively() const SIP_OVERRIDE;
94 void SetCanFocus(bool) SIP_OVERRIDE;
95 bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
96 ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
97 bool HasTransparentBackground() SIP_OVERRIDE;
98 bool ShouldInheritColours() const SIP_OVERRIDE;
99 ::wxValidator* GetValidator() SIP_OVERRIDE;
100 void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
101 bool TransferDataFromWindow() SIP_OVERRIDE;
102 bool TransferDataToWindow() SIP_OVERRIDE;
103 bool Validate() SIP_OVERRIDE;
104 bool Destroy() SIP_OVERRIDE;
105 void InheritAttributes() SIP_OVERRIDE;
106 void InitDialog() SIP_OVERRIDE;
107 void OnInternalIdle() SIP_OVERRIDE;
108 ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
109 void DoEnable(bool) SIP_OVERRIDE;
110 void DoGetPosition(int*,int*) const SIP_OVERRIDE;
111 void DoGetSize(int*,int*) const SIP_OVERRIDE;
112 void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
113 void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
114 void DoSetClientSize(int,int) SIP_OVERRIDE;
115 void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
116 ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
117 void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
118 void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
119 ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
120 ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
121 void DoFreeze() SIP_OVERRIDE;
122 void DoThaw() SIP_OVERRIDE;
123 ::wxSize DoGetBestSize() const SIP_OVERRIDE;
124 ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
125
126 public:
127 sipSimpleWrapper *sipPySelf;
128
129 private:
130 sipwxSplitterWindow(const sipwxSplitterWindow &);
131 sipwxSplitterWindow &operator = (const sipwxSplitterWindow &);
132
133 char sipPyMethods[39];
134 };
135
sipwxSplitterWindow()136 sipwxSplitterWindow::sipwxSplitterWindow(): ::wxSplitterWindow(), sipPySelf(SIP_NULLPTR)
137 {
138 memset(sipPyMethods, 0, sizeof (sipPyMethods));
139 }
140
sipwxSplitterWindow(::wxWindow * parent,::wxWindowID id,const::wxPoint & pos,const::wxSize & size,long style,const::wxString & name)141 sipwxSplitterWindow::sipwxSplitterWindow( ::wxWindow*parent, ::wxWindowID id,const ::wxPoint& pos,const ::wxSize& size,long style,const ::wxString& name): ::wxSplitterWindow(parent,id,pos,size,style,name), sipPySelf(SIP_NULLPTR)
142 {
143 memset(sipPyMethods, 0, sizeof (sipPyMethods));
144 }
145
~sipwxSplitterWindow()146 sipwxSplitterWindow::~sipwxSplitterWindow()
147 {
148 sipInstanceDestroyedEx(&sipPySelf);
149 }
150
RemoveChild(::wxWindowBase * child)151 void sipwxSplitterWindow::RemoveChild( ::wxWindowBase*child)
152 {
153 sip_gilstate_t sipGILState;
154 PyObject *sipMeth;
155
156 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
157
158 if (!sipMeth)
159 {
160 ::wxSplitterWindow::RemoveChild(child);
161 return;
162 }
163
164 extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
165
166 sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
167 }
168
AddChild(::wxWindowBase * child)169 void sipwxSplitterWindow::AddChild( ::wxWindowBase*child)
170 {
171 sip_gilstate_t sipGILState;
172 PyObject *sipMeth;
173
174 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_AddChild);
175
176 if (!sipMeth)
177 {
178 ::wxSplitterWindow::AddChild(child);
179 return;
180 }
181
182 extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
183
184 sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
185 }
186
ProcessEvent(::wxEvent & event)187 bool sipwxSplitterWindow::ProcessEvent( ::wxEvent& event)
188 {
189 sip_gilstate_t sipGILState;
190 PyObject *sipMeth;
191
192 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
193
194 if (!sipMeth)
195 return ::wxSplitterWindow::ProcessEvent(event);
196
197 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
198
199 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
200 }
201
TryBefore(::wxEvent & event)202 bool sipwxSplitterWindow::TryBefore( ::wxEvent& event)
203 {
204 sip_gilstate_t sipGILState;
205 PyObject *sipMeth;
206
207 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
208
209 if (!sipMeth)
210 return ::wxSplitterWindow::TryBefore(event);
211
212 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
213
214 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
215 }
216
TryAfter(::wxEvent & event)217 bool sipwxSplitterWindow::TryAfter( ::wxEvent& event)
218 {
219 sip_gilstate_t sipGILState;
220 PyObject *sipMeth;
221
222 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
223
224 if (!sipMeth)
225 return ::wxSplitterWindow::TryAfter(event);
226
227 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
228
229 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
230 }
231
AcceptsFocus() const232 bool sipwxSplitterWindow::AcceptsFocus() const
233 {
234 sip_gilstate_t sipGILState;
235 PyObject *sipMeth;
236
237 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
238
239 if (!sipMeth)
240 return ::wxSplitterWindow::AcceptsFocus();
241
242 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
243
244 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
245 }
246
AcceptsFocusFromKeyboard() const247 bool sipwxSplitterWindow::AcceptsFocusFromKeyboard() const
248 {
249 sip_gilstate_t sipGILState;
250 PyObject *sipMeth;
251
252 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
253
254 if (!sipMeth)
255 return ::wxSplitterWindow::AcceptsFocusFromKeyboard();
256
257 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
258
259 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
260 }
261
AcceptsFocusRecursively() const262 bool sipwxSplitterWindow::AcceptsFocusRecursively() const
263 {
264 sip_gilstate_t sipGILState;
265 PyObject *sipMeth;
266
267 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
268
269 if (!sipMeth)
270 return ::wxSplitterWindow::AcceptsFocusRecursively();
271
272 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
273
274 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
275 }
276
SetCanFocus(bool canFocus)277 void sipwxSplitterWindow::SetCanFocus(bool canFocus)
278 {
279 sip_gilstate_t sipGILState;
280 PyObject *sipMeth;
281
282 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
283
284 if (!sipMeth)
285 {
286 ::wxSplitterWindow::SetCanFocus(canFocus);
287 return;
288 }
289
290 extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
291
292 sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
293 }
294
InformFirstDirection(int direction,int size,int availableOtherDir)295 bool sipwxSplitterWindow::InformFirstDirection(int direction,int size,int availableOtherDir)
296 {
297 sip_gilstate_t sipGILState;
298 PyObject *sipMeth;
299
300 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
301
302 if (!sipMeth)
303 return ::wxSplitterWindow::InformFirstDirection(direction,size,availableOtherDir);
304
305 extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
306
307 return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
308 }
309
GetClientAreaOrigin() const310 ::wxPoint sipwxSplitterWindow::GetClientAreaOrigin() const
311 {
312 sip_gilstate_t sipGILState;
313 PyObject *sipMeth;
314
315 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
316
317 if (!sipMeth)
318 return ::wxSplitterWindow::GetClientAreaOrigin();
319
320 extern ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
321
322 return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
323 }
324
HasTransparentBackground()325 bool sipwxSplitterWindow::HasTransparentBackground()
326 {
327 sip_gilstate_t sipGILState;
328 PyObject *sipMeth;
329
330 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
331
332 if (!sipMeth)
333 return ::wxSplitterWindow::HasTransparentBackground();
334
335 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
336
337 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
338 }
339
ShouldInheritColours() const340 bool sipwxSplitterWindow::ShouldInheritColours() const
341 {
342 sip_gilstate_t sipGILState;
343 PyObject *sipMeth;
344
345 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
346
347 if (!sipMeth)
348 return ::wxSplitterWindow::ShouldInheritColours();
349
350 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
351
352 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
353 }
354
GetValidator()355 ::wxValidator* sipwxSplitterWindow::GetValidator()
356 {
357 sip_gilstate_t sipGILState;
358 PyObject *sipMeth;
359
360 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
361
362 if (!sipMeth)
363 return ::wxSplitterWindow::GetValidator();
364
365 extern ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
366
367 return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
368 }
369
SetValidator(const::wxValidator & validator)370 void sipwxSplitterWindow::SetValidator(const ::wxValidator& validator)
371 {
372 sip_gilstate_t sipGILState;
373 PyObject *sipMeth;
374
375 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
376
377 if (!sipMeth)
378 {
379 ::wxSplitterWindow::SetValidator(validator);
380 return;
381 }
382
383 extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&);
384
385 sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
386 }
387
TransferDataFromWindow()388 bool sipwxSplitterWindow::TransferDataFromWindow()
389 {
390 sip_gilstate_t sipGILState;
391 PyObject *sipMeth;
392
393 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
394
395 if (!sipMeth)
396 return ::wxSplitterWindow::TransferDataFromWindow();
397
398 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
399
400 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
401 }
402
TransferDataToWindow()403 bool sipwxSplitterWindow::TransferDataToWindow()
404 {
405 sip_gilstate_t sipGILState;
406 PyObject *sipMeth;
407
408 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
409
410 if (!sipMeth)
411 return ::wxSplitterWindow::TransferDataToWindow();
412
413 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
414
415 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
416 }
417
Validate()418 bool sipwxSplitterWindow::Validate()
419 {
420 sip_gilstate_t sipGILState;
421 PyObject *sipMeth;
422
423 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_Validate);
424
425 if (!sipMeth)
426 return ::wxSplitterWindow::Validate();
427
428 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
429
430 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
431 }
432
Destroy()433 bool sipwxSplitterWindow::Destroy()
434 {
435 sip_gilstate_t sipGILState;
436 PyObject *sipMeth;
437
438 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_Destroy);
439
440 if (!sipMeth)
441 return ::wxSplitterWindow::Destroy();
442
443 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
444
445 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
446 }
447
InheritAttributes()448 void sipwxSplitterWindow::InheritAttributes()
449 {
450 sip_gilstate_t sipGILState;
451 PyObject *sipMeth;
452
453 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
454
455 if (!sipMeth)
456 {
457 ::wxSplitterWindow::InheritAttributes();
458 return;
459 }
460
461 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
462
463 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
464 }
465
InitDialog()466 void sipwxSplitterWindow::InitDialog()
467 {
468 sip_gilstate_t sipGILState;
469 PyObject *sipMeth;
470
471 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
472
473 if (!sipMeth)
474 {
475 ::wxSplitterWindow::InitDialog();
476 return;
477 }
478
479 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
480
481 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
482 }
483
OnInternalIdle()484 void sipwxSplitterWindow::OnInternalIdle()
485 {
486 sip_gilstate_t sipGILState;
487 PyObject *sipMeth;
488
489 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
490
491 if (!sipMeth)
492 {
493 ::wxSplitterWindow::OnInternalIdle();
494 return;
495 }
496
497 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
498
499 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
500 }
501
GetMainWindowOfCompositeControl()502 ::wxWindow* sipwxSplitterWindow::GetMainWindowOfCompositeControl()
503 {
504 sip_gilstate_t sipGILState;
505 PyObject *sipMeth;
506
507 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
508
509 if (!sipMeth)
510 return ::wxSplitterWindow::GetMainWindowOfCompositeControl();
511
512 extern ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
513
514 return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
515 }
516
DoEnable(bool enable)517 void sipwxSplitterWindow::DoEnable(bool enable)
518 {
519 sip_gilstate_t sipGILState;
520 PyObject *sipMeth;
521
522 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
523
524 if (!sipMeth)
525 {
526 ::wxSplitterWindow::DoEnable(enable);
527 return;
528 }
529
530 extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
531
532 sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
533 }
534
DoGetPosition(int * x,int * y) const535 void sipwxSplitterWindow::DoGetPosition(int*x,int*y) const
536 {
537 sip_gilstate_t sipGILState;
538 PyObject *sipMeth;
539
540 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
541
542 if (!sipMeth)
543 {
544 ::wxSplitterWindow::DoGetPosition(x,y);
545 return;
546 }
547
548 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
549
550 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
551 }
552
DoGetSize(int * width,int * height) const553 void sipwxSplitterWindow::DoGetSize(int*width,int*height) const
554 {
555 sip_gilstate_t sipGILState;
556 PyObject *sipMeth;
557
558 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
559
560 if (!sipMeth)
561 {
562 ::wxSplitterWindow::DoGetSize(width,height);
563 return;
564 }
565
566 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
567
568 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
569 }
570
DoGetClientSize(int * width,int * height) const571 void sipwxSplitterWindow::DoGetClientSize(int*width,int*height) const
572 {
573 sip_gilstate_t sipGILState;
574 PyObject *sipMeth;
575
576 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
577
578 if (!sipMeth)
579 {
580 ::wxSplitterWindow::DoGetClientSize(width,height);
581 return;
582 }
583
584 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
585
586 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
587 }
588
DoSetSize(int x,int y,int width,int height,int sizeFlags)589 void sipwxSplitterWindow::DoSetSize(int x,int y,int width,int height,int sizeFlags)
590 {
591 sip_gilstate_t sipGILState;
592 PyObject *sipMeth;
593
594 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
595
596 if (!sipMeth)
597 {
598 ::wxSplitterWindow::DoSetSize(x,y,width,height,sizeFlags);
599 return;
600 }
601
602 extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
603
604 sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
605 }
606
DoSetClientSize(int width,int height)607 void sipwxSplitterWindow::DoSetClientSize(int width,int height)
608 {
609 sip_gilstate_t sipGILState;
610 PyObject *sipMeth;
611
612 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
613
614 if (!sipMeth)
615 {
616 ::wxSplitterWindow::DoSetClientSize(width,height);
617 return;
618 }
619
620 extern void sipVH__core_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
621
622 sipVH__core_118(sipGILState, 0, sipPySelf, sipMeth, width, height);
623 }
624
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)625 void sipwxSplitterWindow::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
626 {
627 sip_gilstate_t sipGILState;
628 PyObject *sipMeth;
629
630 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
631
632 if (!sipMeth)
633 {
634 ::wxSplitterWindow::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
635 return;
636 }
637
638 extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
639
640 sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
641 }
642
DoGetBorderSize() const643 ::wxSize sipwxSplitterWindow::DoGetBorderSize() const
644 {
645 sip_gilstate_t sipGILState;
646 PyObject *sipMeth;
647
648 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
649
650 if (!sipMeth)
651 return ::wxSplitterWindow::DoGetBorderSize();
652
653 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
654
655 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
656 }
657
DoMoveWindow(int x,int y,int width,int height)658 void sipwxSplitterWindow::DoMoveWindow(int x,int y,int width,int height)
659 {
660 sip_gilstate_t sipGILState;
661 PyObject *sipMeth;
662
663 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
664
665 if (!sipMeth)
666 {
667 ::wxSplitterWindow::DoMoveWindow(x,y,width,height);
668 return;
669 }
670
671 extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
672
673 sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
674 }
675
DoSetWindowVariant(::wxWindowVariant variant)676 void sipwxSplitterWindow::DoSetWindowVariant( ::wxWindowVariant variant)
677 {
678 sip_gilstate_t sipGILState;
679 PyObject *sipMeth;
680
681 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
682
683 if (!sipMeth)
684 {
685 ::wxSplitterWindow::DoSetWindowVariant(variant);
686 return;
687 }
688
689 extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant);
690
691 sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
692 }
693
GetDefaultBorder() const694 ::wxBorder sipwxSplitterWindow::GetDefaultBorder() const
695 {
696 sip_gilstate_t sipGILState;
697 PyObject *sipMeth;
698
699 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
700
701 if (!sipMeth)
702 return ::wxSplitterWindow::GetDefaultBorder();
703
704 extern ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
705
706 return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
707 }
708
GetDefaultBorderForControl() const709 ::wxBorder sipwxSplitterWindow::GetDefaultBorderForControl() const
710 {
711 sip_gilstate_t sipGILState;
712 PyObject *sipMeth;
713
714 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
715
716 if (!sipMeth)
717 return ::wxSplitterWindow::GetDefaultBorderForControl();
718
719 extern ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
720
721 return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
722 }
723
DoFreeze()724 void sipwxSplitterWindow::DoFreeze()
725 {
726 sip_gilstate_t sipGILState;
727 PyObject *sipMeth;
728
729 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
730
731 if (!sipMeth)
732 {
733 ::wxSplitterWindow::DoFreeze();
734 return;
735 }
736
737 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
738
739 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
740 }
741
DoThaw()742 void sipwxSplitterWindow::DoThaw()
743 {
744 sip_gilstate_t sipGILState;
745 PyObject *sipMeth;
746
747 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
748
749 if (!sipMeth)
750 {
751 ::wxSplitterWindow::DoThaw();
752 return;
753 }
754
755 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
756
757 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
758 }
759
DoGetBestSize() const760 ::wxSize sipwxSplitterWindow::DoGetBestSize() const
761 {
762 sip_gilstate_t sipGILState;
763 PyObject *sipMeth;
764
765 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
766
767 if (!sipMeth)
768 return ::wxSplitterWindow::DoGetBestSize();
769
770 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
771
772 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
773 }
774
DoGetBestClientSize() const775 ::wxSize sipwxSplitterWindow::DoGetBestClientSize() const
776 {
777 sip_gilstate_t sipGILState;
778 PyObject *sipMeth;
779
780 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
781
782 if (!sipMeth)
783 return ::wxSplitterWindow::DoGetBestClientSize();
784
785 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
786
787 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
788 }
789
sipProtect_SendDestroyEvent()790 void sipwxSplitterWindow::sipProtect_SendDestroyEvent()
791 {
792 ::wxWindow::SendDestroyEvent();
793 }
794
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)795 bool sipwxSplitterWindow::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
796 {
797 return (sipSelfWasArg ? ::wxSplitterWindow::ProcessEvent(event) : ProcessEvent(event));
798 }
799
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)800 void sipwxSplitterWindow::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
801 {
802 (sipSelfWasArg ? ::wxSplitterWindow::DoEnable(enable) : DoEnable(enable));
803 }
804
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const805 void sipwxSplitterWindow::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
806 {
807 (sipSelfWasArg ? ::wxSplitterWindow::DoGetPosition(x,y) : DoGetPosition(x,y));
808 }
809
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const810 void sipwxSplitterWindow::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
811 {
812 (sipSelfWasArg ? ::wxSplitterWindow::DoGetSize(width,height) : DoGetSize(width,height));
813 }
814
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const815 void sipwxSplitterWindow::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
816 {
817 (sipSelfWasArg ? ::wxSplitterWindow::DoGetClientSize(width,height) : DoGetClientSize(width,height));
818 }
819
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const820 ::wxSize sipwxSplitterWindow::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
821 {
822 return (sipSelfWasArg ? ::wxSplitterWindow::DoGetBestSize() : DoGetBestSize());
823 }
824
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const825 ::wxSize sipwxSplitterWindow::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
826 {
827 return (sipSelfWasArg ? ::wxSplitterWindow::DoGetBestClientSize() : DoGetBestClientSize());
828 }
829
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)830 void sipwxSplitterWindow::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
831 {
832 (sipSelfWasArg ? ::wxSplitterWindow::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
833 }
834
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)835 void sipwxSplitterWindow::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
836 {
837 (sipSelfWasArg ? ::wxSplitterWindow::DoSetClientSize(width,height) : DoSetClientSize(width,height));
838 }
839
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)840 void sipwxSplitterWindow::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
841 {
842 (sipSelfWasArg ? ::wxSplitterWindow::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
843 }
844
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const845 ::wxSize sipwxSplitterWindow::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
846 {
847 return (sipSelfWasArg ? ::wxSplitterWindow::DoGetBorderSize() : DoGetBorderSize());
848 }
849
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)850 void sipwxSplitterWindow::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
851 {
852 (sipSelfWasArg ? ::wxSplitterWindow::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
853 }
854
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)855 void sipwxSplitterWindow::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
856 {
857 (sipSelfWasArg ? ::wxSplitterWindow::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
858 }
859
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const860 ::wxBorder sipwxSplitterWindow::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
861 {
862 return (sipSelfWasArg ? ::wxSplitterWindow::GetDefaultBorder() : GetDefaultBorder());
863 }
864
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const865 ::wxBorder sipwxSplitterWindow::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
866 {
867 return (sipSelfWasArg ? ::wxSplitterWindow::GetDefaultBorderForControl() : GetDefaultBorderForControl());
868 }
869
sipProtectVirt_DoFreeze(bool sipSelfWasArg)870 void sipwxSplitterWindow::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
871 {
872 (sipSelfWasArg ? ::wxSplitterWindow::DoFreeze() : DoFreeze());
873 }
874
sipProtectVirt_DoThaw(bool sipSelfWasArg)875 void sipwxSplitterWindow::sipProtectVirt_DoThaw(bool sipSelfWasArg)
876 {
877 (sipSelfWasArg ? ::wxSplitterWindow::DoThaw() : DoThaw());
878 }
879
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)880 bool sipwxSplitterWindow::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
881 {
882 return (sipSelfWasArg ? ::wxSplitterWindow::HasTransparentBackground() : HasTransparentBackground());
883 }
884
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)885 bool sipwxSplitterWindow::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
886 {
887 return (sipSelfWasArg ? ::wxSplitterWindow::TryBefore(event) : TryBefore(event));
888 }
889
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)890 bool sipwxSplitterWindow::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
891 {
892 return (sipSelfWasArg ? ::wxSplitterWindow::TryAfter(event) : TryAfter(event));
893 }
894
895
896 PyDoc_STRVAR(doc_wxSplitterWindow_SendDestroyEvent, "SendDestroyEvent()\n"
897 "\n"
898 "Generate wxWindowDestroyEvent for this window.");
899
900 extern "C" {static PyObject *meth_wxSplitterWindow_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxSplitterWindow_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)901 static PyObject *meth_wxSplitterWindow_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
902 {
903 PyObject *sipParseErr = SIP_NULLPTR;
904
905 {
906 sipwxSplitterWindow *sipCpp;
907
908 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
909 {
910 PyErr_Clear();
911
912 Py_BEGIN_ALLOW_THREADS
913 sipCpp->sipProtect_SendDestroyEvent();
914 Py_END_ALLOW_THREADS
915
916 if (PyErr_Occurred())
917 return 0;
918
919 Py_INCREF(Py_None);
920 return Py_None;
921 }
922 }
923
924 /* Raise an exception if the arguments couldn't be parsed. */
925 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SendDestroyEvent, SIP_NULLPTR);
926
927 return SIP_NULLPTR;
928 }
929
930
931 PyDoc_STRVAR(doc_wxSplitterWindow_Create, "Create(parent, id=ID_ANY, point=DefaultPosition, size=DefaultSize, style=SP_3D, name=\"splitter\") -> bool\n"
932 "\n"
933 "Creation function, for two-step construction.");
934
935 extern "C" {static PyObject *meth_wxSplitterWindow_Create(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)936 static PyObject *meth_wxSplitterWindow_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
937 {
938 PyObject *sipParseErr = SIP_NULLPTR;
939
940 {
941 ::wxWindow* parent;
942 ::wxWindowID id = wxID_ANY;
943 const ::wxPoint& pointdef = wxDefaultPosition;
944 const ::wxPoint* point = &pointdef;
945 int pointState = 0;
946 const ::wxSize& sizedef = wxDefaultSize;
947 const ::wxSize* size = &sizedef;
948 int sizeState = 0;
949 long style = wxSP_3D;
950 const ::wxString& namedef = "splitter";
951 const ::wxString* name = &namedef;
952 int nameState = 0;
953 sipWrapper *sipOwner = SIP_NULLPTR;
954 ::wxSplitterWindow *sipCpp;
955
956 static const char *sipKwdList[] = {
957 sipName_parent,
958 sipName_id,
959 sipName_point,
960 sipName_size,
961 sipName_style,
962 sipName_name,
963 };
964
965 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1lJ1", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &point, &pointState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
966 {
967 bool sipRes;
968
969 PyErr_Clear();
970
971 Py_BEGIN_ALLOW_THREADS
972 sipRes = sipCpp->Create(parent,id,*point,*size,style,*name);
973 Py_END_ALLOW_THREADS
974
975 if (sipOwner)
976 sipTransferTo(sipSelf, (PyObject *)sipOwner);
977 else
978 sipTransferBack(sipSelf);
979 sipReleaseType(const_cast< ::wxPoint *>(point),sipType_wxPoint,pointState);
980 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
981 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
982
983 if (PyErr_Occurred())
984 return 0;
985
986 return PyBool_FromLong(sipRes);
987 }
988 }
989
990 /* Raise an exception if the arguments couldn't be parsed. */
991 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_Create, SIP_NULLPTR);
992
993 return SIP_NULLPTR;
994 }
995
996
997 PyDoc_STRVAR(doc_wxSplitterWindow_GetMinimumPaneSize, "GetMinimumPaneSize() -> int\n"
998 "\n"
999 "Returns the current minimum pane size (defaults to zero).");
1000
1001 extern "C" {static PyObject *meth_wxSplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetMinimumPaneSize(PyObject * sipSelf,PyObject * sipArgs)1002 static PyObject *meth_wxSplitterWindow_GetMinimumPaneSize(PyObject *sipSelf, PyObject *sipArgs)
1003 {
1004 PyObject *sipParseErr = SIP_NULLPTR;
1005
1006 {
1007 const ::wxSplitterWindow *sipCpp;
1008
1009 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1010 {
1011 int sipRes;
1012
1013 PyErr_Clear();
1014
1015 Py_BEGIN_ALLOW_THREADS
1016 sipRes = sipCpp->GetMinimumPaneSize();
1017 Py_END_ALLOW_THREADS
1018
1019 if (PyErr_Occurred())
1020 return 0;
1021
1022 return SIPLong_FromLong(sipRes);
1023 }
1024 }
1025
1026 /* Raise an exception if the arguments couldn't be parsed. */
1027 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetMinimumPaneSize, SIP_NULLPTR);
1028
1029 return SIP_NULLPTR;
1030 }
1031
1032
1033 PyDoc_STRVAR(doc_wxSplitterWindow_GetSashGravity, "GetSashGravity() -> double\n"
1034 "\n"
1035 "Returns the current sash gravity.");
1036
1037 extern "C" {static PyObject *meth_wxSplitterWindow_GetSashGravity(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetSashGravity(PyObject * sipSelf,PyObject * sipArgs)1038 static PyObject *meth_wxSplitterWindow_GetSashGravity(PyObject *sipSelf, PyObject *sipArgs)
1039 {
1040 PyObject *sipParseErr = SIP_NULLPTR;
1041
1042 {
1043 const ::wxSplitterWindow *sipCpp;
1044
1045 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1046 {
1047 double sipRes;
1048
1049 PyErr_Clear();
1050
1051 Py_BEGIN_ALLOW_THREADS
1052 sipRes = sipCpp->GetSashGravity();
1053 Py_END_ALLOW_THREADS
1054
1055 if (PyErr_Occurred())
1056 return 0;
1057
1058 return PyFloat_FromDouble(sipRes);
1059 }
1060 }
1061
1062 /* Raise an exception if the arguments couldn't be parsed. */
1063 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetSashGravity, SIP_NULLPTR);
1064
1065 return SIP_NULLPTR;
1066 }
1067
1068
1069 PyDoc_STRVAR(doc_wxSplitterWindow_GetSashPosition, "GetSashPosition() -> int\n"
1070 "\n"
1071 "Returns the current sash position.");
1072
1073 extern "C" {static PyObject *meth_wxSplitterWindow_GetSashPosition(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetSashPosition(PyObject * sipSelf,PyObject * sipArgs)1074 static PyObject *meth_wxSplitterWindow_GetSashPosition(PyObject *sipSelf, PyObject *sipArgs)
1075 {
1076 PyObject *sipParseErr = SIP_NULLPTR;
1077
1078 {
1079 const ::wxSplitterWindow *sipCpp;
1080
1081 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1082 {
1083 int sipRes;
1084
1085 PyErr_Clear();
1086
1087 Py_BEGIN_ALLOW_THREADS
1088 sipRes = sipCpp->GetSashPosition();
1089 Py_END_ALLOW_THREADS
1090
1091 if (PyErr_Occurred())
1092 return 0;
1093
1094 return SIPLong_FromLong(sipRes);
1095 }
1096 }
1097
1098 /* Raise an exception if the arguments couldn't be parsed. */
1099 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetSashPosition, SIP_NULLPTR);
1100
1101 return SIP_NULLPTR;
1102 }
1103
1104
1105 PyDoc_STRVAR(doc_wxSplitterWindow_GetSashSize, "GetSashSize() -> int\n"
1106 "\n"
1107 "Returns the default sash size in pixels or 0 if it is invisible.");
1108
1109 extern "C" {static PyObject *meth_wxSplitterWindow_GetSashSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetSashSize(PyObject * sipSelf,PyObject * sipArgs)1110 static PyObject *meth_wxSplitterWindow_GetSashSize(PyObject *sipSelf, PyObject *sipArgs)
1111 {
1112 PyObject *sipParseErr = SIP_NULLPTR;
1113
1114 {
1115 const ::wxSplitterWindow *sipCpp;
1116
1117 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1118 {
1119 int sipRes;
1120
1121 PyErr_Clear();
1122
1123 Py_BEGIN_ALLOW_THREADS
1124 sipRes = sipCpp->GetSashSize();
1125 Py_END_ALLOW_THREADS
1126
1127 if (PyErr_Occurred())
1128 return 0;
1129
1130 return SIPLong_FromLong(sipRes);
1131 }
1132 }
1133
1134 /* Raise an exception if the arguments couldn't be parsed. */
1135 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetSashSize, SIP_NULLPTR);
1136
1137 return SIP_NULLPTR;
1138 }
1139
1140
1141 PyDoc_STRVAR(doc_wxSplitterWindow_GetDefaultSashSize, "GetDefaultSashSize() -> int\n"
1142 "\n"
1143 "Returns the default sash size in pixels.");
1144
1145 extern "C" {static PyObject *meth_wxSplitterWindow_GetDefaultSashSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetDefaultSashSize(PyObject * sipSelf,PyObject * sipArgs)1146 static PyObject *meth_wxSplitterWindow_GetDefaultSashSize(PyObject *sipSelf, PyObject *sipArgs)
1147 {
1148 PyObject *sipParseErr = SIP_NULLPTR;
1149
1150 {
1151 const ::wxSplitterWindow *sipCpp;
1152
1153 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1154 {
1155 int sipRes;
1156
1157 PyErr_Clear();
1158
1159 Py_BEGIN_ALLOW_THREADS
1160 sipRes = sipCpp->GetDefaultSashSize();
1161 Py_END_ALLOW_THREADS
1162
1163 if (PyErr_Occurred())
1164 return 0;
1165
1166 return SIPLong_FromLong(sipRes);
1167 }
1168 }
1169
1170 /* Raise an exception if the arguments couldn't be parsed. */
1171 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetDefaultSashSize, SIP_NULLPTR);
1172
1173 return SIP_NULLPTR;
1174 }
1175
1176
1177 PyDoc_STRVAR(doc_wxSplitterWindow_GetSplitMode, "GetSplitMode() -> SplitMode\n"
1178 "\n"
1179 "Gets the split mode.");
1180
1181 extern "C" {static PyObject *meth_wxSplitterWindow_GetSplitMode(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetSplitMode(PyObject * sipSelf,PyObject * sipArgs)1182 static PyObject *meth_wxSplitterWindow_GetSplitMode(PyObject *sipSelf, PyObject *sipArgs)
1183 {
1184 PyObject *sipParseErr = SIP_NULLPTR;
1185
1186 {
1187 const ::wxSplitterWindow *sipCpp;
1188
1189 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1190 {
1191 ::wxSplitMode sipRes;
1192
1193 PyErr_Clear();
1194
1195 Py_BEGIN_ALLOW_THREADS
1196 sipRes = sipCpp->GetSplitMode();
1197 Py_END_ALLOW_THREADS
1198
1199 if (PyErr_Occurred())
1200 return 0;
1201
1202 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxSplitMode);
1203 }
1204 }
1205
1206 /* Raise an exception if the arguments couldn't be parsed. */
1207 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetSplitMode, SIP_NULLPTR);
1208
1209 return SIP_NULLPTR;
1210 }
1211
1212
1213 PyDoc_STRVAR(doc_wxSplitterWindow_GetWindow1, "GetWindow1() -> Window\n"
1214 "\n"
1215 "Returns the left/top or only pane.");
1216
1217 extern "C" {static PyObject *meth_wxSplitterWindow_GetWindow1(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetWindow1(PyObject * sipSelf,PyObject * sipArgs)1218 static PyObject *meth_wxSplitterWindow_GetWindow1(PyObject *sipSelf, PyObject *sipArgs)
1219 {
1220 PyObject *sipParseErr = SIP_NULLPTR;
1221
1222 {
1223 const ::wxSplitterWindow *sipCpp;
1224
1225 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1226 {
1227 ::wxWindow*sipRes;
1228
1229 PyErr_Clear();
1230
1231 Py_BEGIN_ALLOW_THREADS
1232 sipRes = sipCpp->GetWindow1();
1233 Py_END_ALLOW_THREADS
1234
1235 if (PyErr_Occurred())
1236 return 0;
1237
1238 return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1239 }
1240 }
1241
1242 /* Raise an exception if the arguments couldn't be parsed. */
1243 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetWindow1, SIP_NULLPTR);
1244
1245 return SIP_NULLPTR;
1246 }
1247
1248
1249 PyDoc_STRVAR(doc_wxSplitterWindow_GetWindow2, "GetWindow2() -> Window\n"
1250 "\n"
1251 "Returns the right/bottom pane.");
1252
1253 extern "C" {static PyObject *meth_wxSplitterWindow_GetWindow2(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetWindow2(PyObject * sipSelf,PyObject * sipArgs)1254 static PyObject *meth_wxSplitterWindow_GetWindow2(PyObject *sipSelf, PyObject *sipArgs)
1255 {
1256 PyObject *sipParseErr = SIP_NULLPTR;
1257
1258 {
1259 const ::wxSplitterWindow *sipCpp;
1260
1261 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1262 {
1263 ::wxWindow*sipRes;
1264
1265 PyErr_Clear();
1266
1267 Py_BEGIN_ALLOW_THREADS
1268 sipRes = sipCpp->GetWindow2();
1269 Py_END_ALLOW_THREADS
1270
1271 if (PyErr_Occurred())
1272 return 0;
1273
1274 return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1275 }
1276 }
1277
1278 /* Raise an exception if the arguments couldn't be parsed. */
1279 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetWindow2, SIP_NULLPTR);
1280
1281 return SIP_NULLPTR;
1282 }
1283
1284
1285 PyDoc_STRVAR(doc_wxSplitterWindow_Initialize, "Initialize(window)\n"
1286 "\n"
1287 "Initializes the splitter window to have one pane.");
1288
1289 extern "C" {static PyObject *meth_wxSplitterWindow_Initialize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_Initialize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1290 static PyObject *meth_wxSplitterWindow_Initialize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1291 {
1292 PyObject *sipParseErr = SIP_NULLPTR;
1293
1294 {
1295 ::wxWindow* window;
1296 ::wxSplitterWindow *sipCpp;
1297
1298 static const char *sipKwdList[] = {
1299 sipName_window,
1300 };
1301
1302 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &window))
1303 {
1304 PyErr_Clear();
1305
1306 Py_BEGIN_ALLOW_THREADS
1307 sipCpp->Initialize(window);
1308 Py_END_ALLOW_THREADS
1309
1310 if (PyErr_Occurred())
1311 return 0;
1312
1313 Py_INCREF(Py_None);
1314 return Py_None;
1315 }
1316 }
1317
1318 /* Raise an exception if the arguments couldn't be parsed. */
1319 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_Initialize, SIP_NULLPTR);
1320
1321 return SIP_NULLPTR;
1322 }
1323
1324
1325 PyDoc_STRVAR(doc_wxSplitterWindow_IsSashInvisible, "IsSashInvisible() -> bool\n"
1326 "\n"
1327 "Returns true if the sash is invisible even when the window is split,\n"
1328 "false otherwise.");
1329
1330 extern "C" {static PyObject *meth_wxSplitterWindow_IsSashInvisible(PyObject *, PyObject *);}
meth_wxSplitterWindow_IsSashInvisible(PyObject * sipSelf,PyObject * sipArgs)1331 static PyObject *meth_wxSplitterWindow_IsSashInvisible(PyObject *sipSelf, PyObject *sipArgs)
1332 {
1333 PyObject *sipParseErr = SIP_NULLPTR;
1334
1335 {
1336 const ::wxSplitterWindow *sipCpp;
1337
1338 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1339 {
1340 bool sipRes;
1341
1342 PyErr_Clear();
1343
1344 Py_BEGIN_ALLOW_THREADS
1345 sipRes = sipCpp->IsSashInvisible();
1346 Py_END_ALLOW_THREADS
1347
1348 if (PyErr_Occurred())
1349 return 0;
1350
1351 return PyBool_FromLong(sipRes);
1352 }
1353 }
1354
1355 /* Raise an exception if the arguments couldn't be parsed. */
1356 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_IsSashInvisible, SIP_NULLPTR);
1357
1358 return SIP_NULLPTR;
1359 }
1360
1361
1362 PyDoc_STRVAR(doc_wxSplitterWindow_IsSplit, "IsSplit() -> bool\n"
1363 "\n"
1364 "Returns true if the window is split, false otherwise.");
1365
1366 extern "C" {static PyObject *meth_wxSplitterWindow_IsSplit(PyObject *, PyObject *);}
meth_wxSplitterWindow_IsSplit(PyObject * sipSelf,PyObject * sipArgs)1367 static PyObject *meth_wxSplitterWindow_IsSplit(PyObject *sipSelf, PyObject *sipArgs)
1368 {
1369 PyObject *sipParseErr = SIP_NULLPTR;
1370
1371 {
1372 const ::wxSplitterWindow *sipCpp;
1373
1374 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1375 {
1376 bool sipRes;
1377
1378 PyErr_Clear();
1379
1380 Py_BEGIN_ALLOW_THREADS
1381 sipRes = sipCpp->IsSplit();
1382 Py_END_ALLOW_THREADS
1383
1384 if (PyErr_Occurred())
1385 return 0;
1386
1387 return PyBool_FromLong(sipRes);
1388 }
1389 }
1390
1391 /* Raise an exception if the arguments couldn't be parsed. */
1392 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_IsSplit, SIP_NULLPTR);
1393
1394 return SIP_NULLPTR;
1395 }
1396
1397
1398 PyDoc_STRVAR(doc_wxSplitterWindow_ReplaceWindow, "ReplaceWindow(winOld, winNew) -> bool\n"
1399 "\n"
1400 "This function replaces one of the windows managed by the\n"
1401 "wxSplitterWindow with another one.");
1402
1403 extern "C" {static PyObject *meth_wxSplitterWindow_ReplaceWindow(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_ReplaceWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1404 static PyObject *meth_wxSplitterWindow_ReplaceWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1405 {
1406 PyObject *sipParseErr = SIP_NULLPTR;
1407
1408 {
1409 ::wxWindow* winOld;
1410 ::wxWindow* winNew;
1411 ::wxSplitterWindow *sipCpp;
1412
1413 static const char *sipKwdList[] = {
1414 sipName_winOld,
1415 sipName_winNew,
1416 };
1417
1418 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &winOld, sipType_wxWindow, &winNew))
1419 {
1420 bool sipRes;
1421
1422 PyErr_Clear();
1423
1424 Py_BEGIN_ALLOW_THREADS
1425 sipRes = sipCpp->ReplaceWindow(winOld,winNew);
1426 Py_END_ALLOW_THREADS
1427
1428 if (PyErr_Occurred())
1429 return 0;
1430
1431 return PyBool_FromLong(sipRes);
1432 }
1433 }
1434
1435 /* Raise an exception if the arguments couldn't be parsed. */
1436 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_ReplaceWindow, SIP_NULLPTR);
1437
1438 return SIP_NULLPTR;
1439 }
1440
1441
1442 PyDoc_STRVAR(doc_wxSplitterWindow_SetMinimumPaneSize, "SetMinimumPaneSize(paneSize)\n"
1443 "\n"
1444 "Sets the minimum pane size.");
1445
1446 extern "C" {static PyObject *meth_wxSplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetMinimumPaneSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1447 static PyObject *meth_wxSplitterWindow_SetMinimumPaneSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1448 {
1449 PyObject *sipParseErr = SIP_NULLPTR;
1450
1451 {
1452 int paneSize;
1453 ::wxSplitterWindow *sipCpp;
1454
1455 static const char *sipKwdList[] = {
1456 sipName_paneSize,
1457 };
1458
1459 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &paneSize))
1460 {
1461 PyErr_Clear();
1462
1463 Py_BEGIN_ALLOW_THREADS
1464 sipCpp->SetMinimumPaneSize(paneSize);
1465 Py_END_ALLOW_THREADS
1466
1467 if (PyErr_Occurred())
1468 return 0;
1469
1470 Py_INCREF(Py_None);
1471 return Py_None;
1472 }
1473 }
1474
1475 /* Raise an exception if the arguments couldn't be parsed. */
1476 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetMinimumPaneSize, SIP_NULLPTR);
1477
1478 return SIP_NULLPTR;
1479 }
1480
1481
1482 PyDoc_STRVAR(doc_wxSplitterWindow_SetSashGravity, "SetSashGravity(gravity)\n"
1483 "\n"
1484 "Sets the sash gravity.");
1485
1486 extern "C" {static PyObject *meth_wxSplitterWindow_SetSashGravity(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetSashGravity(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1487 static PyObject *meth_wxSplitterWindow_SetSashGravity(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1488 {
1489 PyObject *sipParseErr = SIP_NULLPTR;
1490
1491 {
1492 double gravity;
1493 ::wxSplitterWindow *sipCpp;
1494
1495 static const char *sipKwdList[] = {
1496 sipName_gravity,
1497 };
1498
1499 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bd", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &gravity))
1500 {
1501 PyErr_Clear();
1502
1503 Py_BEGIN_ALLOW_THREADS
1504 sipCpp->SetSashGravity(gravity);
1505 Py_END_ALLOW_THREADS
1506
1507 if (PyErr_Occurred())
1508 return 0;
1509
1510 Py_INCREF(Py_None);
1511 return Py_None;
1512 }
1513 }
1514
1515 /* Raise an exception if the arguments couldn't be parsed. */
1516 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetSashGravity, SIP_NULLPTR);
1517
1518 return SIP_NULLPTR;
1519 }
1520
1521
1522 PyDoc_STRVAR(doc_wxSplitterWindow_SetSashPosition, "SetSashPosition(position, redraw=True)\n"
1523 "\n"
1524 "Sets the sash position.");
1525
1526 extern "C" {static PyObject *meth_wxSplitterWindow_SetSashPosition(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetSashPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1527 static PyObject *meth_wxSplitterWindow_SetSashPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1528 {
1529 PyObject *sipParseErr = SIP_NULLPTR;
1530
1531 {
1532 int position;
1533 bool redraw = 1;
1534 ::wxSplitterWindow *sipCpp;
1535
1536 static const char *sipKwdList[] = {
1537 sipName_position,
1538 sipName_redraw,
1539 };
1540
1541 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|b", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &position, &redraw))
1542 {
1543 PyErr_Clear();
1544
1545 Py_BEGIN_ALLOW_THREADS
1546 sipCpp->SetSashPosition(position,redraw);
1547 Py_END_ALLOW_THREADS
1548
1549 if (PyErr_Occurred())
1550 return 0;
1551
1552 Py_INCREF(Py_None);
1553 return Py_None;
1554 }
1555 }
1556
1557 /* Raise an exception if the arguments couldn't be parsed. */
1558 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetSashPosition, SIP_NULLPTR);
1559
1560 return SIP_NULLPTR;
1561 }
1562
1563
1564 PyDoc_STRVAR(doc_wxSplitterWindow_SetSashSize, "SetSashSize(size)\n"
1565 "\n"
1566 "Returns the default sash size in pixels or 0 if it is invisible.");
1567
1568 extern "C" {static PyObject *meth_wxSplitterWindow_SetSashSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetSashSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1569 static PyObject *meth_wxSplitterWindow_SetSashSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1570 {
1571 PyObject *sipParseErr = SIP_NULLPTR;
1572
1573 {
1574 int size;
1575 ::wxSplitterWindow *sipCpp;
1576
1577 static const char *sipKwdList[] = {
1578 sipName_size,
1579 };
1580
1581 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &size))
1582 {
1583 PyErr_Clear();
1584
1585 Py_BEGIN_ALLOW_THREADS
1586 sipCpp->SetSashSize(size);
1587 Py_END_ALLOW_THREADS
1588
1589 if (PyErr_Occurred())
1590 return 0;
1591
1592 Py_INCREF(Py_None);
1593 return Py_None;
1594 }
1595 }
1596
1597 /* Raise an exception if the arguments couldn't be parsed. */
1598 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetSashSize, SIP_NULLPTR);
1599
1600 return SIP_NULLPTR;
1601 }
1602
1603
1604 PyDoc_STRVAR(doc_wxSplitterWindow_SetSplitMode, "SetSplitMode(mode)\n"
1605 "\n"
1606 "Sets the split mode.");
1607
1608 extern "C" {static PyObject *meth_wxSplitterWindow_SetSplitMode(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetSplitMode(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1609 static PyObject *meth_wxSplitterWindow_SetSplitMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1610 {
1611 PyObject *sipParseErr = SIP_NULLPTR;
1612
1613 {
1614 int mode;
1615 ::wxSplitterWindow *sipCpp;
1616
1617 static const char *sipKwdList[] = {
1618 sipName_mode,
1619 };
1620
1621 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &mode))
1622 {
1623 PyErr_Clear();
1624
1625 Py_BEGIN_ALLOW_THREADS
1626 sipCpp->SetSplitMode(mode);
1627 Py_END_ALLOW_THREADS
1628
1629 if (PyErr_Occurred())
1630 return 0;
1631
1632 Py_INCREF(Py_None);
1633 return Py_None;
1634 }
1635 }
1636
1637 /* Raise an exception if the arguments couldn't be parsed. */
1638 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetSplitMode, SIP_NULLPTR);
1639
1640 return SIP_NULLPTR;
1641 }
1642
1643
1644 PyDoc_STRVAR(doc_wxSplitterWindow_SetSashInvisible, "SetSashInvisible(invisible=True)\n"
1645 "\n"
1646 "Sets whether the sash should be invisible, even when the window is\n"
1647 "split.");
1648
1649 extern "C" {static PyObject *meth_wxSplitterWindow_SetSashInvisible(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetSashInvisible(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1650 static PyObject *meth_wxSplitterWindow_SetSashInvisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1651 {
1652 PyObject *sipParseErr = SIP_NULLPTR;
1653
1654 {
1655 bool invisible = 1;
1656 ::wxSplitterWindow *sipCpp;
1657
1658 static const char *sipKwdList[] = {
1659 sipName_invisible,
1660 };
1661
1662 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &invisible))
1663 {
1664 PyErr_Clear();
1665
1666 Py_BEGIN_ALLOW_THREADS
1667 sipCpp->SetSashInvisible(invisible);
1668 Py_END_ALLOW_THREADS
1669
1670 if (PyErr_Occurred())
1671 return 0;
1672
1673 Py_INCREF(Py_None);
1674 return Py_None;
1675 }
1676 }
1677
1678 /* Raise an exception if the arguments couldn't be parsed. */
1679 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetSashInvisible, SIP_NULLPTR);
1680
1681 return SIP_NULLPTR;
1682 }
1683
1684
1685 PyDoc_STRVAR(doc_wxSplitterWindow_SplitHorizontally, "SplitHorizontally(window1, window2, sashPosition=0) -> bool\n"
1686 "\n"
1687 "Initializes the top and bottom panes of the splitter window.");
1688
1689 extern "C" {static PyObject *meth_wxSplitterWindow_SplitHorizontally(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SplitHorizontally(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1690 static PyObject *meth_wxSplitterWindow_SplitHorizontally(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1691 {
1692 PyObject *sipParseErr = SIP_NULLPTR;
1693
1694 {
1695 ::wxWindow* window1;
1696 ::wxWindow* window2;
1697 int sashPosition = 0;
1698 ::wxSplitterWindow *sipCpp;
1699
1700 static const char *sipKwdList[] = {
1701 sipName_window1,
1702 sipName_window2,
1703 sipName_sashPosition,
1704 };
1705
1706 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8|i", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &window1, sipType_wxWindow, &window2, &sashPosition))
1707 {
1708 bool sipRes;
1709
1710 PyErr_Clear();
1711
1712 Py_BEGIN_ALLOW_THREADS
1713 sipRes = sipCpp->SplitHorizontally(window1,window2,sashPosition);
1714 Py_END_ALLOW_THREADS
1715
1716 if (PyErr_Occurred())
1717 return 0;
1718
1719 return PyBool_FromLong(sipRes);
1720 }
1721 }
1722
1723 /* Raise an exception if the arguments couldn't be parsed. */
1724 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SplitHorizontally, SIP_NULLPTR);
1725
1726 return SIP_NULLPTR;
1727 }
1728
1729
1730 PyDoc_STRVAR(doc_wxSplitterWindow_SplitVertically, "SplitVertically(window1, window2, sashPosition=0) -> bool\n"
1731 "\n"
1732 "Initializes the left and right panes of the splitter window.");
1733
1734 extern "C" {static PyObject *meth_wxSplitterWindow_SplitVertically(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SplitVertically(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1735 static PyObject *meth_wxSplitterWindow_SplitVertically(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1736 {
1737 PyObject *sipParseErr = SIP_NULLPTR;
1738
1739 {
1740 ::wxWindow* window1;
1741 ::wxWindow* window2;
1742 int sashPosition = 0;
1743 ::wxSplitterWindow *sipCpp;
1744
1745 static const char *sipKwdList[] = {
1746 sipName_window1,
1747 sipName_window2,
1748 sipName_sashPosition,
1749 };
1750
1751 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8|i", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &window1, sipType_wxWindow, &window2, &sashPosition))
1752 {
1753 bool sipRes;
1754
1755 PyErr_Clear();
1756
1757 Py_BEGIN_ALLOW_THREADS
1758 sipRes = sipCpp->SplitVertically(window1,window2,sashPosition);
1759 Py_END_ALLOW_THREADS
1760
1761 if (PyErr_Occurred())
1762 return 0;
1763
1764 return PyBool_FromLong(sipRes);
1765 }
1766 }
1767
1768 /* Raise an exception if the arguments couldn't be parsed. */
1769 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SplitVertically, SIP_NULLPTR);
1770
1771 return SIP_NULLPTR;
1772 }
1773
1774
1775 PyDoc_STRVAR(doc_wxSplitterWindow_Unsplit, "Unsplit(toRemove=None) -> bool\n"
1776 "\n"
1777 "Unsplits the window.");
1778
1779 extern "C" {static PyObject *meth_wxSplitterWindow_Unsplit(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_Unsplit(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1780 static PyObject *meth_wxSplitterWindow_Unsplit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1781 {
1782 PyObject *sipParseErr = SIP_NULLPTR;
1783
1784 {
1785 ::wxWindow* toRemove = 0;
1786 ::wxSplitterWindow *sipCpp;
1787
1788 static const char *sipKwdList[] = {
1789 sipName_toRemove,
1790 };
1791
1792 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J8", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindow, &toRemove))
1793 {
1794 bool sipRes;
1795
1796 PyErr_Clear();
1797
1798 Py_BEGIN_ALLOW_THREADS
1799 sipRes = sipCpp->Unsplit(toRemove);
1800 Py_END_ALLOW_THREADS
1801
1802 if (PyErr_Occurred())
1803 return 0;
1804
1805 return PyBool_FromLong(sipRes);
1806 }
1807 }
1808
1809 /* Raise an exception if the arguments couldn't be parsed. */
1810 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_Unsplit, SIP_NULLPTR);
1811
1812 return SIP_NULLPTR;
1813 }
1814
1815
1816 PyDoc_STRVAR(doc_wxSplitterWindow_UpdateSize, "UpdateSize()\n"
1817 "\n"
1818 "Causes any pending sizing of the sash and child panes to take place\n"
1819 "immediately.");
1820
1821 extern "C" {static PyObject *meth_wxSplitterWindow_UpdateSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_UpdateSize(PyObject * sipSelf,PyObject * sipArgs)1822 static PyObject *meth_wxSplitterWindow_UpdateSize(PyObject *sipSelf, PyObject *sipArgs)
1823 {
1824 PyObject *sipParseErr = SIP_NULLPTR;
1825
1826 {
1827 ::wxSplitterWindow *sipCpp;
1828
1829 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1830 {
1831 PyErr_Clear();
1832
1833 Py_BEGIN_ALLOW_THREADS
1834 sipCpp->UpdateSize();
1835 Py_END_ALLOW_THREADS
1836
1837 if (PyErr_Occurred())
1838 return 0;
1839
1840 Py_INCREF(Py_None);
1841 return Py_None;
1842 }
1843 }
1844
1845 /* Raise an exception if the arguments couldn't be parsed. */
1846 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_UpdateSize, SIP_NULLPTR);
1847
1848 return SIP_NULLPTR;
1849 }
1850
1851
1852 PyDoc_STRVAR(doc_wxSplitterWindow_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
1853
1854 extern "C" {static PyObject *meth_wxSplitterWindow_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)1855 static PyObject *meth_wxSplitterWindow_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
1856 {
1857 PyObject *sipParseErr = SIP_NULLPTR;
1858 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1859
1860 {
1861 const ::wxSplitterWindow *sipCpp;
1862
1863 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1864 {
1865 ::wxPoint*sipRes;
1866
1867 PyErr_Clear();
1868
1869 Py_BEGIN_ALLOW_THREADS
1870 sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
1871 Py_END_ALLOW_THREADS
1872
1873 if (PyErr_Occurred())
1874 return 0;
1875
1876 return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1877 }
1878 }
1879
1880 /* Raise an exception if the arguments couldn't be parsed. */
1881 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetClientAreaOrigin, doc_wxSplitterWindow_GetClientAreaOrigin);
1882
1883 return SIP_NULLPTR;
1884 }
1885
1886
1887 PyDoc_STRVAR(doc_wxSplitterWindow_Validate, "Validate(self) -> bool");
1888
1889 extern "C" {static PyObject *meth_wxSplitterWindow_Validate(PyObject *, PyObject *);}
meth_wxSplitterWindow_Validate(PyObject * sipSelf,PyObject * sipArgs)1890 static PyObject *meth_wxSplitterWindow_Validate(PyObject *sipSelf, PyObject *sipArgs)
1891 {
1892 PyObject *sipParseErr = SIP_NULLPTR;
1893 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1894
1895 {
1896 ::wxSplitterWindow *sipCpp;
1897
1898 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1899 {
1900 bool sipRes;
1901
1902 PyErr_Clear();
1903
1904 Py_BEGIN_ALLOW_THREADS
1905 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::Validate() : sipCpp->Validate());
1906 Py_END_ALLOW_THREADS
1907
1908 if (PyErr_Occurred())
1909 return 0;
1910
1911 return PyBool_FromLong(sipRes);
1912 }
1913 }
1914
1915 /* Raise an exception if the arguments couldn't be parsed. */
1916 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_Validate, doc_wxSplitterWindow_Validate);
1917
1918 return SIP_NULLPTR;
1919 }
1920
1921
1922 PyDoc_STRVAR(doc_wxSplitterWindow_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
1923
1924 extern "C" {static PyObject *meth_wxSplitterWindow_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxSplitterWindow_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)1925 static PyObject *meth_wxSplitterWindow_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
1926 {
1927 PyObject *sipParseErr = SIP_NULLPTR;
1928 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1929
1930 {
1931 ::wxSplitterWindow *sipCpp;
1932
1933 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1934 {
1935 bool sipRes;
1936
1937 PyErr_Clear();
1938
1939 Py_BEGIN_ALLOW_THREADS
1940 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::TransferDataToWindow() : sipCpp->TransferDataToWindow());
1941 Py_END_ALLOW_THREADS
1942
1943 if (PyErr_Occurred())
1944 return 0;
1945
1946 return PyBool_FromLong(sipRes);
1947 }
1948 }
1949
1950 /* Raise an exception if the arguments couldn't be parsed. */
1951 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_TransferDataToWindow, doc_wxSplitterWindow_TransferDataToWindow);
1952
1953 return SIP_NULLPTR;
1954 }
1955
1956
1957 PyDoc_STRVAR(doc_wxSplitterWindow_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
1958
1959 extern "C" {static PyObject *meth_wxSplitterWindow_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxSplitterWindow_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)1960 static PyObject *meth_wxSplitterWindow_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
1961 {
1962 PyObject *sipParseErr = SIP_NULLPTR;
1963 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1964
1965 {
1966 ::wxSplitterWindow *sipCpp;
1967
1968 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
1969 {
1970 bool sipRes;
1971
1972 PyErr_Clear();
1973
1974 Py_BEGIN_ALLOW_THREADS
1975 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
1976 Py_END_ALLOW_THREADS
1977
1978 if (PyErr_Occurred())
1979 return 0;
1980
1981 return PyBool_FromLong(sipRes);
1982 }
1983 }
1984
1985 /* Raise an exception if the arguments couldn't be parsed. */
1986 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_TransferDataFromWindow, doc_wxSplitterWindow_TransferDataFromWindow);
1987
1988 return SIP_NULLPTR;
1989 }
1990
1991
1992 PyDoc_STRVAR(doc_wxSplitterWindow_InitDialog, "InitDialog(self)");
1993
1994 extern "C" {static PyObject *meth_wxSplitterWindow_InitDialog(PyObject *, PyObject *);}
meth_wxSplitterWindow_InitDialog(PyObject * sipSelf,PyObject * sipArgs)1995 static PyObject *meth_wxSplitterWindow_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
1996 {
1997 PyObject *sipParseErr = SIP_NULLPTR;
1998 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1999
2000 {
2001 ::wxSplitterWindow *sipCpp;
2002
2003 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2004 {
2005 PyErr_Clear();
2006
2007 Py_BEGIN_ALLOW_THREADS
2008 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::InitDialog() : sipCpp->InitDialog());
2009 Py_END_ALLOW_THREADS
2010
2011 if (PyErr_Occurred())
2012 return 0;
2013
2014 Py_INCREF(Py_None);
2015 return Py_None;
2016 }
2017 }
2018
2019 /* Raise an exception if the arguments couldn't be parsed. */
2020 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_InitDialog, doc_wxSplitterWindow_InitDialog);
2021
2022 return SIP_NULLPTR;
2023 }
2024
2025
2026 PyDoc_STRVAR(doc_wxSplitterWindow_AcceptsFocus, "AcceptsFocus(self) -> bool");
2027
2028 extern "C" {static PyObject *meth_wxSplitterWindow_AcceptsFocus(PyObject *, PyObject *);}
meth_wxSplitterWindow_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)2029 static PyObject *meth_wxSplitterWindow_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
2030 {
2031 PyObject *sipParseErr = SIP_NULLPTR;
2032 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2033
2034 {
2035 const ::wxSplitterWindow *sipCpp;
2036
2037 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2038 {
2039 bool sipRes;
2040
2041 PyErr_Clear();
2042
2043 Py_BEGIN_ALLOW_THREADS
2044 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::AcceptsFocus() : sipCpp->AcceptsFocus());
2045 Py_END_ALLOW_THREADS
2046
2047 if (PyErr_Occurred())
2048 return 0;
2049
2050 return PyBool_FromLong(sipRes);
2051 }
2052 }
2053
2054 /* Raise an exception if the arguments couldn't be parsed. */
2055 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_AcceptsFocus, doc_wxSplitterWindow_AcceptsFocus);
2056
2057 return SIP_NULLPTR;
2058 }
2059
2060
2061 PyDoc_STRVAR(doc_wxSplitterWindow_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
2062
2063 extern "C" {static PyObject *meth_wxSplitterWindow_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxSplitterWindow_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)2064 static PyObject *meth_wxSplitterWindow_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
2065 {
2066 PyObject *sipParseErr = SIP_NULLPTR;
2067 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2068
2069 {
2070 const ::wxSplitterWindow *sipCpp;
2071
2072 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2073 {
2074 bool sipRes;
2075
2076 PyErr_Clear();
2077
2078 Py_BEGIN_ALLOW_THREADS
2079 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
2080 Py_END_ALLOW_THREADS
2081
2082 if (PyErr_Occurred())
2083 return 0;
2084
2085 return PyBool_FromLong(sipRes);
2086 }
2087 }
2088
2089 /* Raise an exception if the arguments couldn't be parsed. */
2090 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_AcceptsFocusRecursively, doc_wxSplitterWindow_AcceptsFocusRecursively);
2091
2092 return SIP_NULLPTR;
2093 }
2094
2095
2096 PyDoc_STRVAR(doc_wxSplitterWindow_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
2097
2098 extern "C" {static PyObject *meth_wxSplitterWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxSplitterWindow_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)2099 static PyObject *meth_wxSplitterWindow_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
2100 {
2101 PyObject *sipParseErr = SIP_NULLPTR;
2102 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2103
2104 {
2105 const ::wxSplitterWindow *sipCpp;
2106
2107 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2108 {
2109 bool sipRes;
2110
2111 PyErr_Clear();
2112
2113 Py_BEGIN_ALLOW_THREADS
2114 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
2115 Py_END_ALLOW_THREADS
2116
2117 if (PyErr_Occurred())
2118 return 0;
2119
2120 return PyBool_FromLong(sipRes);
2121 }
2122 }
2123
2124 /* Raise an exception if the arguments couldn't be parsed. */
2125 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_AcceptsFocusFromKeyboard, doc_wxSplitterWindow_AcceptsFocusFromKeyboard);
2126
2127 return SIP_NULLPTR;
2128 }
2129
2130
2131 PyDoc_STRVAR(doc_wxSplitterWindow_AddChild, "AddChild(self, child: WindowBase)");
2132
2133 extern "C" {static PyObject *meth_wxSplitterWindow_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2134 static PyObject *meth_wxSplitterWindow_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2135 {
2136 PyObject *sipParseErr = SIP_NULLPTR;
2137 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2138
2139 {
2140 ::wxWindowBase* child;
2141 ::wxSplitterWindow *sipCpp;
2142
2143 static const char *sipKwdList[] = {
2144 sipName_child,
2145 };
2146
2147 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindowBase, &child))
2148 {
2149 PyErr_Clear();
2150
2151 Py_BEGIN_ALLOW_THREADS
2152 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::AddChild(child) : sipCpp->AddChild(child));
2153 Py_END_ALLOW_THREADS
2154
2155 if (PyErr_Occurred())
2156 return 0;
2157
2158 Py_INCREF(Py_None);
2159 return Py_None;
2160 }
2161 }
2162
2163 /* Raise an exception if the arguments couldn't be parsed. */
2164 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_AddChild, doc_wxSplitterWindow_AddChild);
2165
2166 return SIP_NULLPTR;
2167 }
2168
2169
2170 PyDoc_STRVAR(doc_wxSplitterWindow_RemoveChild, "RemoveChild(self, child: WindowBase)");
2171
2172 extern "C" {static PyObject *meth_wxSplitterWindow_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2173 static PyObject *meth_wxSplitterWindow_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2174 {
2175 PyObject *sipParseErr = SIP_NULLPTR;
2176 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2177
2178 {
2179 ::wxWindowBase* child;
2180 ::wxSplitterWindow *sipCpp;
2181
2182 static const char *sipKwdList[] = {
2183 sipName_child,
2184 };
2185
2186 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindowBase, &child))
2187 {
2188 PyErr_Clear();
2189
2190 Py_BEGIN_ALLOW_THREADS
2191 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::RemoveChild(child) : sipCpp->RemoveChild(child));
2192 Py_END_ALLOW_THREADS
2193
2194 if (PyErr_Occurred())
2195 return 0;
2196
2197 Py_INCREF(Py_None);
2198 return Py_None;
2199 }
2200 }
2201
2202 /* Raise an exception if the arguments couldn't be parsed. */
2203 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_RemoveChild, doc_wxSplitterWindow_RemoveChild);
2204
2205 return SIP_NULLPTR;
2206 }
2207
2208
2209 PyDoc_STRVAR(doc_wxSplitterWindow_InheritAttributes, "InheritAttributes(self)");
2210
2211 extern "C" {static PyObject *meth_wxSplitterWindow_InheritAttributes(PyObject *, PyObject *);}
meth_wxSplitterWindow_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)2212 static PyObject *meth_wxSplitterWindow_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
2213 {
2214 PyObject *sipParseErr = SIP_NULLPTR;
2215 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2216
2217 {
2218 ::wxSplitterWindow *sipCpp;
2219
2220 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2221 {
2222 PyErr_Clear();
2223
2224 Py_BEGIN_ALLOW_THREADS
2225 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::InheritAttributes() : sipCpp->InheritAttributes());
2226 Py_END_ALLOW_THREADS
2227
2228 if (PyErr_Occurred())
2229 return 0;
2230
2231 Py_INCREF(Py_None);
2232 return Py_None;
2233 }
2234 }
2235
2236 /* Raise an exception if the arguments couldn't be parsed. */
2237 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_InheritAttributes, doc_wxSplitterWindow_InheritAttributes);
2238
2239 return SIP_NULLPTR;
2240 }
2241
2242
2243 PyDoc_STRVAR(doc_wxSplitterWindow_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
2244
2245 extern "C" {static PyObject *meth_wxSplitterWindow_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxSplitterWindow_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)2246 static PyObject *meth_wxSplitterWindow_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
2247 {
2248 PyObject *sipParseErr = SIP_NULLPTR;
2249 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2250
2251 {
2252 const ::wxSplitterWindow *sipCpp;
2253
2254 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2255 {
2256 bool sipRes;
2257
2258 PyErr_Clear();
2259
2260 Py_BEGIN_ALLOW_THREADS
2261 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::ShouldInheritColours() : sipCpp->ShouldInheritColours());
2262 Py_END_ALLOW_THREADS
2263
2264 if (PyErr_Occurred())
2265 return 0;
2266
2267 return PyBool_FromLong(sipRes);
2268 }
2269 }
2270
2271 /* Raise an exception if the arguments couldn't be parsed. */
2272 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_ShouldInheritColours, doc_wxSplitterWindow_ShouldInheritColours);
2273
2274 return SIP_NULLPTR;
2275 }
2276
2277
2278 PyDoc_STRVAR(doc_wxSplitterWindow_OnInternalIdle, "OnInternalIdle(self)");
2279
2280 extern "C" {static PyObject *meth_wxSplitterWindow_OnInternalIdle(PyObject *, PyObject *);}
meth_wxSplitterWindow_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)2281 static PyObject *meth_wxSplitterWindow_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
2282 {
2283 PyObject *sipParseErr = SIP_NULLPTR;
2284 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2285
2286 {
2287 ::wxSplitterWindow *sipCpp;
2288
2289 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2290 {
2291 PyErr_Clear();
2292
2293 Py_BEGIN_ALLOW_THREADS
2294 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::OnInternalIdle() : sipCpp->OnInternalIdle());
2295 Py_END_ALLOW_THREADS
2296
2297 if (PyErr_Occurred())
2298 return 0;
2299
2300 Py_INCREF(Py_None);
2301 return Py_None;
2302 }
2303 }
2304
2305 /* Raise an exception if the arguments couldn't be parsed. */
2306 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_OnInternalIdle, doc_wxSplitterWindow_OnInternalIdle);
2307
2308 return SIP_NULLPTR;
2309 }
2310
2311
2312 PyDoc_STRVAR(doc_wxSplitterWindow_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
2313
2314 extern "C" {static PyObject *meth_wxSplitterWindow_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)2315 static PyObject *meth_wxSplitterWindow_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
2316 {
2317 PyObject *sipParseErr = SIP_NULLPTR;
2318 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2319
2320 {
2321 ::wxSplitterWindow *sipCpp;
2322
2323 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2324 {
2325 ::wxWindow*sipRes;
2326
2327 PyErr_Clear();
2328
2329 Py_BEGIN_ALLOW_THREADS
2330 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
2331 Py_END_ALLOW_THREADS
2332
2333 if (PyErr_Occurred())
2334 return 0;
2335
2336 return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
2337 }
2338 }
2339
2340 /* Raise an exception if the arguments couldn't be parsed. */
2341 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetMainWindowOfCompositeControl, doc_wxSplitterWindow_GetMainWindowOfCompositeControl);
2342
2343 return SIP_NULLPTR;
2344 }
2345
2346
2347 PyDoc_STRVAR(doc_wxSplitterWindow_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
2348
2349 extern "C" {static PyObject *meth_wxSplitterWindow_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2350 static PyObject *meth_wxSplitterWindow_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2351 {
2352 PyObject *sipParseErr = SIP_NULLPTR;
2353 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2354
2355 {
2356 int direction;
2357 int size;
2358 int availableOtherDir;
2359 ::wxSplitterWindow *sipCpp;
2360
2361 static const char *sipKwdList[] = {
2362 sipName_direction,
2363 sipName_size,
2364 sipName_availableOtherDir,
2365 };
2366
2367 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &direction, &size, &availableOtherDir))
2368 {
2369 bool sipRes;
2370
2371 PyErr_Clear();
2372
2373 Py_BEGIN_ALLOW_THREADS
2374 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
2375 Py_END_ALLOW_THREADS
2376
2377 if (PyErr_Occurred())
2378 return 0;
2379
2380 return PyBool_FromLong(sipRes);
2381 }
2382 }
2383
2384 /* Raise an exception if the arguments couldn't be parsed. */
2385 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_InformFirstDirection, doc_wxSplitterWindow_InformFirstDirection);
2386
2387 return SIP_NULLPTR;
2388 }
2389
2390
2391 PyDoc_STRVAR(doc_wxSplitterWindow_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
2392
2393 extern "C" {static PyObject *meth_wxSplitterWindow_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2394 static PyObject *meth_wxSplitterWindow_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2395 {
2396 PyObject *sipParseErr = SIP_NULLPTR;
2397 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2398
2399 {
2400 bool canFocus;
2401 ::wxSplitterWindow *sipCpp;
2402
2403 static const char *sipKwdList[] = {
2404 sipName_canFocus,
2405 };
2406
2407 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &canFocus))
2408 {
2409 PyErr_Clear();
2410
2411 Py_BEGIN_ALLOW_THREADS
2412 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
2413 Py_END_ALLOW_THREADS
2414
2415 if (PyErr_Occurred())
2416 return 0;
2417
2418 Py_INCREF(Py_None);
2419 return Py_None;
2420 }
2421 }
2422
2423 /* Raise an exception if the arguments couldn't be parsed. */
2424 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetCanFocus, doc_wxSplitterWindow_SetCanFocus);
2425
2426 return SIP_NULLPTR;
2427 }
2428
2429
2430 PyDoc_STRVAR(doc_wxSplitterWindow_Destroy, "Destroy(self) -> bool");
2431
2432 extern "C" {static PyObject *meth_wxSplitterWindow_Destroy(PyObject *, PyObject *);}
meth_wxSplitterWindow_Destroy(PyObject * sipSelf,PyObject * sipArgs)2433 static PyObject *meth_wxSplitterWindow_Destroy(PyObject *sipSelf, PyObject *sipArgs)
2434 {
2435 PyObject *sipParseErr = SIP_NULLPTR;
2436 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2437
2438 {
2439 ::wxSplitterWindow *sipCpp;
2440
2441 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2442 {
2443 bool sipRes;
2444
2445 PyErr_Clear();
2446
2447 Py_BEGIN_ALLOW_THREADS
2448 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::Destroy() : sipCpp->Destroy());
2449 Py_END_ALLOW_THREADS
2450
2451 if (PyErr_Occurred())
2452 return 0;
2453
2454 return PyBool_FromLong(sipRes);
2455 }
2456 }
2457
2458 /* Raise an exception if the arguments couldn't be parsed. */
2459 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_Destroy, doc_wxSplitterWindow_Destroy);
2460
2461 return SIP_NULLPTR;
2462 }
2463
2464
2465 PyDoc_STRVAR(doc_wxSplitterWindow_SetValidator, "SetValidator(self, validator: Validator)");
2466
2467 extern "C" {static PyObject *meth_wxSplitterWindow_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2468 static PyObject *meth_wxSplitterWindow_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2469 {
2470 PyObject *sipParseErr = SIP_NULLPTR;
2471 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2472
2473 {
2474 const ::wxValidator* validator;
2475 ::wxSplitterWindow *sipCpp;
2476
2477 static const char *sipKwdList[] = {
2478 sipName_validator,
2479 };
2480
2481 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxValidator, &validator))
2482 {
2483 PyErr_Clear();
2484
2485 Py_BEGIN_ALLOW_THREADS
2486 (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::SetValidator(*validator) : sipCpp->SetValidator(*validator));
2487 Py_END_ALLOW_THREADS
2488
2489 if (PyErr_Occurred())
2490 return 0;
2491
2492 Py_INCREF(Py_None);
2493 return Py_None;
2494 }
2495 }
2496
2497 /* Raise an exception if the arguments couldn't be parsed. */
2498 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_SetValidator, doc_wxSplitterWindow_SetValidator);
2499
2500 return SIP_NULLPTR;
2501 }
2502
2503
2504 PyDoc_STRVAR(doc_wxSplitterWindow_GetValidator, "GetValidator(self) -> Validator");
2505
2506 extern "C" {static PyObject *meth_wxSplitterWindow_GetValidator(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetValidator(PyObject * sipSelf,PyObject * sipArgs)2507 static PyObject *meth_wxSplitterWindow_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
2508 {
2509 PyObject *sipParseErr = SIP_NULLPTR;
2510 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2511
2512 {
2513 ::wxSplitterWindow *sipCpp;
2514
2515 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2516 {
2517 ::wxValidator*sipRes;
2518
2519 PyErr_Clear();
2520
2521 Py_BEGIN_ALLOW_THREADS
2522 sipRes = (sipSelfWasArg ? sipCpp-> ::wxSplitterWindow::GetValidator() : sipCpp->GetValidator());
2523 Py_END_ALLOW_THREADS
2524
2525 if (PyErr_Occurred())
2526 return 0;
2527
2528 return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
2529 }
2530 }
2531
2532 /* Raise an exception if the arguments couldn't be parsed. */
2533 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetValidator, doc_wxSplitterWindow_GetValidator);
2534
2535 return SIP_NULLPTR;
2536 }
2537
2538
2539 PyDoc_STRVAR(doc_wxSplitterWindow_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
2540
2541 extern "C" {static PyObject *meth_wxSplitterWindow_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2542 static PyObject *meth_wxSplitterWindow_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2543 {
2544 PyObject *sipParseErr = SIP_NULLPTR;
2545 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2546
2547 {
2548 ::wxEvent* event;
2549 sipwxSplitterWindow *sipCpp;
2550
2551 static const char *sipKwdList[] = {
2552 sipName_event,
2553 };
2554
2555 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxEvent, &event))
2556 {
2557 bool sipRes;
2558
2559 PyErr_Clear();
2560
2561 Py_BEGIN_ALLOW_THREADS
2562 sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
2563 Py_END_ALLOW_THREADS
2564
2565 if (PyErr_Occurred())
2566 return 0;
2567
2568 return PyBool_FromLong(sipRes);
2569 }
2570 }
2571
2572 /* Raise an exception if the arguments couldn't be parsed. */
2573 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_ProcessEvent, doc_wxSplitterWindow_ProcessEvent);
2574
2575 return SIP_NULLPTR;
2576 }
2577
2578
2579 PyDoc_STRVAR(doc_wxSplitterWindow_DoEnable, "DoEnable(self, enable: bool)");
2580
2581 extern "C" {static PyObject *meth_wxSplitterWindow_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2582 static PyObject *meth_wxSplitterWindow_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2583 {
2584 PyObject *sipParseErr = SIP_NULLPTR;
2585 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2586
2587 {
2588 bool enable;
2589 sipwxSplitterWindow *sipCpp;
2590
2591 static const char *sipKwdList[] = {
2592 sipName_enable,
2593 };
2594
2595 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &enable))
2596 {
2597 PyErr_Clear();
2598
2599 Py_BEGIN_ALLOW_THREADS
2600 sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
2601 Py_END_ALLOW_THREADS
2602
2603 if (PyErr_Occurred())
2604 return 0;
2605
2606 Py_INCREF(Py_None);
2607 return Py_None;
2608 }
2609 }
2610
2611 /* Raise an exception if the arguments couldn't be parsed. */
2612 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoEnable, doc_wxSplitterWindow_DoEnable);
2613
2614 return SIP_NULLPTR;
2615 }
2616
2617
2618 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
2619
2620 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2621 static PyObject *meth_wxSplitterWindow_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2622 {
2623 PyObject *sipParseErr = SIP_NULLPTR;
2624 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2625
2626 {
2627 int x;
2628 int y;
2629 const sipwxSplitterWindow *sipCpp;
2630
2631 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2632 {
2633 PyErr_Clear();
2634
2635 Py_BEGIN_ALLOW_THREADS
2636 sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
2637 Py_END_ALLOW_THREADS
2638
2639 if (PyErr_Occurred())
2640 return 0;
2641
2642 return sipBuildResult(0,"(ii)",x,y);
2643 }
2644 }
2645
2646 /* Raise an exception if the arguments couldn't be parsed. */
2647 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetPosition, doc_wxSplitterWindow_DoGetPosition);
2648
2649 return SIP_NULLPTR;
2650 }
2651
2652
2653 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
2654
2655 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2656 static PyObject *meth_wxSplitterWindow_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2657 {
2658 PyObject *sipParseErr = SIP_NULLPTR;
2659 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2660
2661 {
2662 int width;
2663 int height;
2664 const sipwxSplitterWindow *sipCpp;
2665
2666 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2667 {
2668 PyErr_Clear();
2669
2670 Py_BEGIN_ALLOW_THREADS
2671 sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
2672 Py_END_ALLOW_THREADS
2673
2674 if (PyErr_Occurred())
2675 return 0;
2676
2677 return sipBuildResult(0,"(ii)",width,height);
2678 }
2679 }
2680
2681 /* Raise an exception if the arguments couldn't be parsed. */
2682 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetSize, doc_wxSplitterWindow_DoGetSize);
2683
2684 return SIP_NULLPTR;
2685 }
2686
2687
2688 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
2689
2690 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2691 static PyObject *meth_wxSplitterWindow_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2692 {
2693 PyObject *sipParseErr = SIP_NULLPTR;
2694 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2695
2696 {
2697 int width;
2698 int height;
2699 const sipwxSplitterWindow *sipCpp;
2700
2701 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2702 {
2703 PyErr_Clear();
2704
2705 Py_BEGIN_ALLOW_THREADS
2706 sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
2707 Py_END_ALLOW_THREADS
2708
2709 if (PyErr_Occurred())
2710 return 0;
2711
2712 return sipBuildResult(0,"(ii)",width,height);
2713 }
2714 }
2715
2716 /* Raise an exception if the arguments couldn't be parsed. */
2717 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetClientSize, doc_wxSplitterWindow_DoGetClientSize);
2718
2719 return SIP_NULLPTR;
2720 }
2721
2722
2723 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetBestSize, "DoGetBestSize(self) -> Size");
2724
2725 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetBestSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)2726 static PyObject *meth_wxSplitterWindow_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
2727 {
2728 PyObject *sipParseErr = SIP_NULLPTR;
2729 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2730
2731 {
2732 const sipwxSplitterWindow *sipCpp;
2733
2734 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2735 {
2736 ::wxSize*sipRes;
2737
2738 PyErr_Clear();
2739
2740 Py_BEGIN_ALLOW_THREADS
2741 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
2742 Py_END_ALLOW_THREADS
2743
2744 if (PyErr_Occurred())
2745 return 0;
2746
2747 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2748 }
2749 }
2750
2751 /* Raise an exception if the arguments couldn't be parsed. */
2752 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetBestSize, doc_wxSplitterWindow_DoGetBestSize);
2753
2754 return SIP_NULLPTR;
2755 }
2756
2757
2758 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
2759
2760 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)2761 static PyObject *meth_wxSplitterWindow_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
2762 {
2763 PyObject *sipParseErr = SIP_NULLPTR;
2764 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2765
2766 {
2767 const sipwxSplitterWindow *sipCpp;
2768
2769 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2770 {
2771 ::wxSize*sipRes;
2772
2773 PyErr_Clear();
2774
2775 Py_BEGIN_ALLOW_THREADS
2776 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
2777 Py_END_ALLOW_THREADS
2778
2779 if (PyErr_Occurred())
2780 return 0;
2781
2782 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2783 }
2784 }
2785
2786 /* Raise an exception if the arguments couldn't be parsed. */
2787 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetBestClientSize, doc_wxSplitterWindow_DoGetBestClientSize);
2788
2789 return SIP_NULLPTR;
2790 }
2791
2792
2793 PyDoc_STRVAR(doc_wxSplitterWindow_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
2794
2795 extern "C" {static PyObject *meth_wxSplitterWindow_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2796 static PyObject *meth_wxSplitterWindow_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2797 {
2798 PyObject *sipParseErr = SIP_NULLPTR;
2799 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2800
2801 {
2802 int x;
2803 int y;
2804 int width;
2805 int height;
2806 int sizeFlags;
2807 sipwxSplitterWindow *sipCpp;
2808
2809 static const char *sipKwdList[] = {
2810 sipName_x,
2811 sipName_y,
2812 sipName_width,
2813 sipName_height,
2814 sipName_sizeFlags,
2815 };
2816
2817 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &x, &y, &width, &height, &sizeFlags))
2818 {
2819 PyErr_Clear();
2820
2821 Py_BEGIN_ALLOW_THREADS
2822 sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
2823 Py_END_ALLOW_THREADS
2824
2825 if (PyErr_Occurred())
2826 return 0;
2827
2828 Py_INCREF(Py_None);
2829 return Py_None;
2830 }
2831 }
2832
2833 /* Raise an exception if the arguments couldn't be parsed. */
2834 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoSetSize, doc_wxSplitterWindow_DoSetSize);
2835
2836 return SIP_NULLPTR;
2837 }
2838
2839
2840 PyDoc_STRVAR(doc_wxSplitterWindow_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
2841
2842 extern "C" {static PyObject *meth_wxSplitterWindow_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2843 static PyObject *meth_wxSplitterWindow_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2844 {
2845 PyObject *sipParseErr = SIP_NULLPTR;
2846 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2847
2848 {
2849 int width;
2850 int height;
2851 sipwxSplitterWindow *sipCpp;
2852
2853 static const char *sipKwdList[] = {
2854 sipName_width,
2855 sipName_height,
2856 };
2857
2858 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &width, &height))
2859 {
2860 PyErr_Clear();
2861
2862 Py_BEGIN_ALLOW_THREADS
2863 sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
2864 Py_END_ALLOW_THREADS
2865
2866 if (PyErr_Occurred())
2867 return 0;
2868
2869 Py_INCREF(Py_None);
2870 return Py_None;
2871 }
2872 }
2873
2874 /* Raise an exception if the arguments couldn't be parsed. */
2875 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoSetClientSize, doc_wxSplitterWindow_DoSetClientSize);
2876
2877 return SIP_NULLPTR;
2878 }
2879
2880
2881 PyDoc_STRVAR(doc_wxSplitterWindow_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
2882
2883 extern "C" {static PyObject *meth_wxSplitterWindow_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2884 static PyObject *meth_wxSplitterWindow_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2885 {
2886 PyObject *sipParseErr = SIP_NULLPTR;
2887 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2888
2889 {
2890 int minW;
2891 int minH;
2892 int maxW;
2893 int maxH;
2894 int incW;
2895 int incH;
2896 sipwxSplitterWindow *sipCpp;
2897
2898 static const char *sipKwdList[] = {
2899 sipName_minW,
2900 sipName_minH,
2901 sipName_maxW,
2902 sipName_maxH,
2903 sipName_incW,
2904 sipName_incH,
2905 };
2906
2907 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
2908 {
2909 PyErr_Clear();
2910
2911 Py_BEGIN_ALLOW_THREADS
2912 sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
2913 Py_END_ALLOW_THREADS
2914
2915 if (PyErr_Occurred())
2916 return 0;
2917
2918 Py_INCREF(Py_None);
2919 return Py_None;
2920 }
2921 }
2922
2923 /* Raise an exception if the arguments couldn't be parsed. */
2924 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoSetSizeHints, doc_wxSplitterWindow_DoSetSizeHints);
2925
2926 return SIP_NULLPTR;
2927 }
2928
2929
2930 PyDoc_STRVAR(doc_wxSplitterWindow_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
2931
2932 extern "C" {static PyObject *meth_wxSplitterWindow_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxSplitterWindow_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)2933 static PyObject *meth_wxSplitterWindow_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
2934 {
2935 PyObject *sipParseErr = SIP_NULLPTR;
2936 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2937
2938 {
2939 const sipwxSplitterWindow *sipCpp;
2940
2941 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
2942 {
2943 ::wxSize*sipRes;
2944
2945 PyErr_Clear();
2946
2947 Py_BEGIN_ALLOW_THREADS
2948 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
2949 Py_END_ALLOW_THREADS
2950
2951 if (PyErr_Occurred())
2952 return 0;
2953
2954 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2955 }
2956 }
2957
2958 /* Raise an exception if the arguments couldn't be parsed. */
2959 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoGetBorderSize, doc_wxSplitterWindow_DoGetBorderSize);
2960
2961 return SIP_NULLPTR;
2962 }
2963
2964
2965 PyDoc_STRVAR(doc_wxSplitterWindow_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
2966
2967 extern "C" {static PyObject *meth_wxSplitterWindow_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2968 static PyObject *meth_wxSplitterWindow_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2969 {
2970 PyObject *sipParseErr = SIP_NULLPTR;
2971 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2972
2973 {
2974 int x;
2975 int y;
2976 int width;
2977 int height;
2978 sipwxSplitterWindow *sipCpp;
2979
2980 static const char *sipKwdList[] = {
2981 sipName_x,
2982 sipName_y,
2983 sipName_width,
2984 sipName_height,
2985 };
2986
2987 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxSplitterWindow, &sipCpp, &x, &y, &width, &height))
2988 {
2989 PyErr_Clear();
2990
2991 Py_BEGIN_ALLOW_THREADS
2992 sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
2993 Py_END_ALLOW_THREADS
2994
2995 if (PyErr_Occurred())
2996 return 0;
2997
2998 Py_INCREF(Py_None);
2999 return Py_None;
3000 }
3001 }
3002
3003 /* Raise an exception if the arguments couldn't be parsed. */
3004 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoMoveWindow, doc_wxSplitterWindow_DoMoveWindow);
3005
3006 return SIP_NULLPTR;
3007 }
3008
3009
3010 PyDoc_STRVAR(doc_wxSplitterWindow_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
3011
3012 extern "C" {static PyObject *meth_wxSplitterWindow_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3013 static PyObject *meth_wxSplitterWindow_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3014 {
3015 PyObject *sipParseErr = SIP_NULLPTR;
3016 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3017
3018 {
3019 ::wxWindowVariant variant;
3020 sipwxSplitterWindow *sipCpp;
3021
3022 static const char *sipKwdList[] = {
3023 sipName_variant,
3024 };
3025
3026 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxWindowVariant, &variant))
3027 {
3028 PyErr_Clear();
3029
3030 Py_BEGIN_ALLOW_THREADS
3031 sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
3032 Py_END_ALLOW_THREADS
3033
3034 if (PyErr_Occurred())
3035 return 0;
3036
3037 Py_INCREF(Py_None);
3038 return Py_None;
3039 }
3040 }
3041
3042 /* Raise an exception if the arguments couldn't be parsed. */
3043 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoSetWindowVariant, doc_wxSplitterWindow_DoSetWindowVariant);
3044
3045 return SIP_NULLPTR;
3046 }
3047
3048
3049 PyDoc_STRVAR(doc_wxSplitterWindow_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
3050
3051 extern "C" {static PyObject *meth_wxSplitterWindow_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)3052 static PyObject *meth_wxSplitterWindow_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
3053 {
3054 PyObject *sipParseErr = SIP_NULLPTR;
3055 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3056
3057 {
3058 const sipwxSplitterWindow *sipCpp;
3059
3060 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
3061 {
3062 ::wxBorder sipRes;
3063
3064 PyErr_Clear();
3065
3066 Py_BEGIN_ALLOW_THREADS
3067 sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
3068 Py_END_ALLOW_THREADS
3069
3070 if (PyErr_Occurred())
3071 return 0;
3072
3073 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3074 }
3075 }
3076
3077 /* Raise an exception if the arguments couldn't be parsed. */
3078 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetDefaultBorder, doc_wxSplitterWindow_GetDefaultBorder);
3079
3080 return SIP_NULLPTR;
3081 }
3082
3083
3084 PyDoc_STRVAR(doc_wxSplitterWindow_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
3085
3086 extern "C" {static PyObject *meth_wxSplitterWindow_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxSplitterWindow_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)3087 static PyObject *meth_wxSplitterWindow_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
3088 {
3089 PyObject *sipParseErr = SIP_NULLPTR;
3090 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3091
3092 {
3093 const sipwxSplitterWindow *sipCpp;
3094
3095 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
3096 {
3097 ::wxBorder sipRes;
3098
3099 PyErr_Clear();
3100
3101 Py_BEGIN_ALLOW_THREADS
3102 sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
3103 Py_END_ALLOW_THREADS
3104
3105 if (PyErr_Occurred())
3106 return 0;
3107
3108 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3109 }
3110 }
3111
3112 /* Raise an exception if the arguments couldn't be parsed. */
3113 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetDefaultBorderForControl, doc_wxSplitterWindow_GetDefaultBorderForControl);
3114
3115 return SIP_NULLPTR;
3116 }
3117
3118
3119 PyDoc_STRVAR(doc_wxSplitterWindow_DoFreeze, "DoFreeze(self)");
3120
3121 extern "C" {static PyObject *meth_wxSplitterWindow_DoFreeze(PyObject *, PyObject *);}
meth_wxSplitterWindow_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)3122 static PyObject *meth_wxSplitterWindow_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
3123 {
3124 PyObject *sipParseErr = SIP_NULLPTR;
3125 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3126
3127 {
3128 sipwxSplitterWindow *sipCpp;
3129
3130 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
3131 {
3132 PyErr_Clear();
3133
3134 Py_BEGIN_ALLOW_THREADS
3135 sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
3136 Py_END_ALLOW_THREADS
3137
3138 if (PyErr_Occurred())
3139 return 0;
3140
3141 Py_INCREF(Py_None);
3142 return Py_None;
3143 }
3144 }
3145
3146 /* Raise an exception if the arguments couldn't be parsed. */
3147 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoFreeze, doc_wxSplitterWindow_DoFreeze);
3148
3149 return SIP_NULLPTR;
3150 }
3151
3152
3153 PyDoc_STRVAR(doc_wxSplitterWindow_DoThaw, "DoThaw(self)");
3154
3155 extern "C" {static PyObject *meth_wxSplitterWindow_DoThaw(PyObject *, PyObject *);}
meth_wxSplitterWindow_DoThaw(PyObject * sipSelf,PyObject * sipArgs)3156 static PyObject *meth_wxSplitterWindow_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
3157 {
3158 PyObject *sipParseErr = SIP_NULLPTR;
3159 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3160
3161 {
3162 sipwxSplitterWindow *sipCpp;
3163
3164 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
3165 {
3166 PyErr_Clear();
3167
3168 Py_BEGIN_ALLOW_THREADS
3169 sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
3170 Py_END_ALLOW_THREADS
3171
3172 if (PyErr_Occurred())
3173 return 0;
3174
3175 Py_INCREF(Py_None);
3176 return Py_None;
3177 }
3178 }
3179
3180 /* Raise an exception if the arguments couldn't be parsed. */
3181 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_DoThaw, doc_wxSplitterWindow_DoThaw);
3182
3183 return SIP_NULLPTR;
3184 }
3185
3186
3187 PyDoc_STRVAR(doc_wxSplitterWindow_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
3188
3189 extern "C" {static PyObject *meth_wxSplitterWindow_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxSplitterWindow_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)3190 static PyObject *meth_wxSplitterWindow_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
3191 {
3192 PyObject *sipParseErr = SIP_NULLPTR;
3193 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3194
3195 {
3196 sipwxSplitterWindow *sipCpp;
3197
3198 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSplitterWindow, &sipCpp))
3199 {
3200 bool sipRes;
3201
3202 PyErr_Clear();
3203
3204 Py_BEGIN_ALLOW_THREADS
3205 sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
3206 Py_END_ALLOW_THREADS
3207
3208 if (PyErr_Occurred())
3209 return 0;
3210
3211 return PyBool_FromLong(sipRes);
3212 }
3213 }
3214
3215 /* Raise an exception if the arguments couldn't be parsed. */
3216 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_HasTransparentBackground, doc_wxSplitterWindow_HasTransparentBackground);
3217
3218 return SIP_NULLPTR;
3219 }
3220
3221
3222 PyDoc_STRVAR(doc_wxSplitterWindow_TryBefore, "TryBefore(self, event: Event) -> bool");
3223
3224 extern "C" {static PyObject *meth_wxSplitterWindow_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3225 static PyObject *meth_wxSplitterWindow_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3226 {
3227 PyObject *sipParseErr = SIP_NULLPTR;
3228 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3229
3230 {
3231 ::wxEvent* event;
3232 sipwxSplitterWindow *sipCpp;
3233
3234 static const char *sipKwdList[] = {
3235 sipName_event,
3236 };
3237
3238 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxEvent, &event))
3239 {
3240 bool sipRes;
3241
3242 PyErr_Clear();
3243
3244 Py_BEGIN_ALLOW_THREADS
3245 sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
3246 Py_END_ALLOW_THREADS
3247
3248 if (PyErr_Occurred())
3249 return 0;
3250
3251 return PyBool_FromLong(sipRes);
3252 }
3253 }
3254
3255 /* Raise an exception if the arguments couldn't be parsed. */
3256 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_TryBefore, doc_wxSplitterWindow_TryBefore);
3257
3258 return SIP_NULLPTR;
3259 }
3260
3261
3262 PyDoc_STRVAR(doc_wxSplitterWindow_TryAfter, "TryAfter(self, event: Event) -> bool");
3263
3264 extern "C" {static PyObject *meth_wxSplitterWindow_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3265 static PyObject *meth_wxSplitterWindow_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3266 {
3267 PyObject *sipParseErr = SIP_NULLPTR;
3268 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3269
3270 {
3271 ::wxEvent* event;
3272 sipwxSplitterWindow *sipCpp;
3273
3274 static const char *sipKwdList[] = {
3275 sipName_event,
3276 };
3277
3278 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxSplitterWindow, &sipCpp, sipType_wxEvent, &event))
3279 {
3280 bool sipRes;
3281
3282 PyErr_Clear();
3283
3284 Py_BEGIN_ALLOW_THREADS
3285 sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
3286 Py_END_ALLOW_THREADS
3287
3288 if (PyErr_Occurred())
3289 return 0;
3290
3291 return PyBool_FromLong(sipRes);
3292 }
3293 }
3294
3295 /* Raise an exception if the arguments couldn't be parsed. */
3296 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_TryAfter, doc_wxSplitterWindow_TryAfter);
3297
3298 return SIP_NULLPTR;
3299 }
3300
3301
3302 PyDoc_STRVAR(doc_wxSplitterWindow_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
3303
3304 extern "C" {static PyObject *meth_wxSplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxSplitterWindow_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)3305 static PyObject *meth_wxSplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
3306 {
3307 PyObject *sipParseErr = SIP_NULLPTR;
3308
3309 {
3310 ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
3311
3312 static const char *sipKwdList[] = {
3313 sipName_variant,
3314 };
3315
3316 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
3317 {
3318 ::wxVisualAttributes*sipRes;
3319
3320 if (!wxPyCheckForApp()) return NULL;
3321
3322 PyErr_Clear();
3323
3324 Py_BEGIN_ALLOW_THREADS
3325 sipRes = new ::wxVisualAttributes( ::wxSplitterWindow::GetClassDefaultAttributes(variant));
3326 Py_END_ALLOW_THREADS
3327
3328 if (PyErr_Occurred())
3329 return 0;
3330
3331 return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
3332 }
3333 }
3334
3335 /* Raise an exception if the arguments couldn't be parsed. */
3336 sipNoMethod(sipParseErr, sipName_SplitterWindow, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
3337
3338 return SIP_NULLPTR;
3339 }
3340
3341
3342 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
3343 extern "C" {static void *cast_wxSplitterWindow(void *, const sipTypeDef *);}
cast_wxSplitterWindow(void * sipCppV,const sipTypeDef * targetType)3344 static void *cast_wxSplitterWindow(void *sipCppV, const sipTypeDef *targetType)
3345 {
3346 ::wxSplitterWindow *sipCpp = reinterpret_cast< ::wxSplitterWindow *>(sipCppV);
3347
3348 if (targetType == sipType_wxWindow)
3349 return static_cast< ::wxWindow *>(sipCpp);
3350
3351 if (targetType == sipType_wxWindowBase)
3352 return static_cast< ::wxWindowBase *>(sipCpp);
3353
3354 if (targetType == sipType_wxEvtHandler)
3355 return static_cast< ::wxEvtHandler *>(sipCpp);
3356
3357 if (targetType == sipType_wxObject)
3358 return static_cast< ::wxObject *>(sipCpp);
3359
3360 if (targetType == sipType_wxTrackable)
3361 return static_cast< ::wxTrackable *>(sipCpp);
3362
3363 return sipCppV;
3364 }
3365
3366
3367 /* Call the instance's destructor. */
3368 extern "C" {static void release_wxSplitterWindow(void *, int);}
release_wxSplitterWindow(void * sipCppV,int sipState)3369 static void release_wxSplitterWindow(void *sipCppV, int sipState)
3370 {
3371 Py_BEGIN_ALLOW_THREADS
3372
3373 if (sipState & SIP_DERIVED_CLASS)
3374 delete reinterpret_cast<sipwxSplitterWindow *>(sipCppV);
3375 else
3376 delete reinterpret_cast< ::wxSplitterWindow *>(sipCppV);
3377
3378 Py_END_ALLOW_THREADS
3379 }
3380
3381
3382 extern "C" {static void dealloc_wxSplitterWindow(sipSimpleWrapper *);}
dealloc_wxSplitterWindow(sipSimpleWrapper * sipSelf)3383 static void dealloc_wxSplitterWindow(sipSimpleWrapper *sipSelf)
3384 {
3385 if (sipIsDerivedClass(sipSelf))
3386 reinterpret_cast<sipwxSplitterWindow *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
3387
3388 if (sipIsOwnedByPython(sipSelf))
3389 {
3390 release_wxSplitterWindow(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
3391 }
3392 }
3393
3394
3395 extern "C" {static void *init_type_wxSplitterWindow(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxSplitterWindow(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)3396 static void *init_type_wxSplitterWindow(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
3397 {
3398 sipwxSplitterWindow *sipCpp = SIP_NULLPTR;
3399
3400 {
3401 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
3402 {
3403
3404 if (!wxPyCheckForApp()) return NULL;
3405
3406 PyErr_Clear();
3407
3408 Py_BEGIN_ALLOW_THREADS
3409 sipCpp = new sipwxSplitterWindow();
3410 Py_END_ALLOW_THREADS
3411
3412 if (PyErr_Occurred())
3413 {
3414 delete sipCpp;
3415 return SIP_NULLPTR;
3416 }
3417
3418 sipCpp->sipPySelf = sipSelf;
3419
3420 return sipCpp;
3421 }
3422 }
3423
3424 {
3425 ::wxWindow* parent;
3426 ::wxWindowID id = wxID_ANY;
3427 const ::wxPoint& posdef = wxDefaultPosition;
3428 const ::wxPoint* pos = &posdef;
3429 int posState = 0;
3430 const ::wxSize& sizedef = wxDefaultSize;
3431 const ::wxSize* size = &sizedef;
3432 int sizeState = 0;
3433 long style = wxSP_3D;
3434 const ::wxString& namedef = "splitterWindow";
3435 const ::wxString* name = &namedef;
3436 int nameState = 0;
3437
3438 static const char *sipKwdList[] = {
3439 sipName_parent,
3440 sipName_id,
3441 sipName_pos,
3442 sipName_size,
3443 sipName_style,
3444 sipName_name,
3445 };
3446
3447 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1lJ1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
3448 {
3449
3450 if (!wxPyCheckForApp()) return NULL;
3451
3452 PyErr_Clear();
3453
3454 Py_BEGIN_ALLOW_THREADS
3455 sipCpp = new sipwxSplitterWindow(parent,id,*pos,*size,style,*name);
3456 Py_END_ALLOW_THREADS
3457 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
3458 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
3459 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
3460
3461 if (PyErr_Occurred())
3462 {
3463 delete sipCpp;
3464 return SIP_NULLPTR;
3465 }
3466
3467 sipCpp->sipPySelf = sipSelf;
3468
3469 return sipCpp;
3470 }
3471 }
3472
3473 return SIP_NULLPTR;
3474 }
3475
3476
3477 /* Define this type's super-types. */
3478 static sipEncodedTypeDef supers_wxSplitterWindow[] = {{570, 255, 1}};
3479
3480
3481 static PyMethodDef methods_wxSplitterWindow[] = {
3482 {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxSplitterWindow_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_AcceptsFocus)},
3483 {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxSplitterWindow_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_AcceptsFocusFromKeyboard)},
3484 {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxSplitterWindow_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_AcceptsFocusRecursively)},
3485 {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxSplitterWindow_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_AddChild)},
3486 {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxSplitterWindow_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_Create)},
3487 {SIP_MLNAME_CAST(sipName_Destroy), meth_wxSplitterWindow_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_Destroy)},
3488 {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoEnable)},
3489 {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxSplitterWindow_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoFreeze)},
3490 {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxSplitterWindow_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetBestClientSize)},
3491 {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxSplitterWindow_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetBestSize)},
3492 {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxSplitterWindow_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetBorderSize)},
3493 {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetClientSize)},
3494 {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetPosition)},
3495 {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoGetSize)},
3496 {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoMoveWindow)},
3497 {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoSetClientSize)},
3498 {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoSetSize)},
3499 {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoSetSizeHints)},
3500 {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxSplitterWindow_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoSetWindowVariant)},
3501 {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxSplitterWindow_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_DoThaw)},
3502 {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxSplitterWindow_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetClassDefaultAttributes)},
3503 {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxSplitterWindow_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetClientAreaOrigin)},
3504 {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxSplitterWindow_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetDefaultBorder)},
3505 {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxSplitterWindow_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetDefaultBorderForControl)},
3506 {SIP_MLNAME_CAST(sipName_GetDefaultSashSize), meth_wxSplitterWindow_GetDefaultSashSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetDefaultSashSize)},
3507 {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxSplitterWindow_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetMainWindowOfCompositeControl)},
3508 {SIP_MLNAME_CAST(sipName_GetMinimumPaneSize), meth_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetMinimumPaneSize)},
3509 {SIP_MLNAME_CAST(sipName_GetSashGravity), meth_wxSplitterWindow_GetSashGravity, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetSashGravity)},
3510 {SIP_MLNAME_CAST(sipName_GetSashPosition), meth_wxSplitterWindow_GetSashPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetSashPosition)},
3511 {SIP_MLNAME_CAST(sipName_GetSashSize), meth_wxSplitterWindow_GetSashSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetSashSize)},
3512 {SIP_MLNAME_CAST(sipName_GetSplitMode), meth_wxSplitterWindow_GetSplitMode, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetSplitMode)},
3513 {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxSplitterWindow_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetValidator)},
3514 {SIP_MLNAME_CAST(sipName_GetWindow1), meth_wxSplitterWindow_GetWindow1, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetWindow1)},
3515 {SIP_MLNAME_CAST(sipName_GetWindow2), meth_wxSplitterWindow_GetWindow2, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_GetWindow2)},
3516 {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxSplitterWindow_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_HasTransparentBackground)},
3517 {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxSplitterWindow_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_InformFirstDirection)},
3518 {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxSplitterWindow_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_InheritAttributes)},
3519 {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxSplitterWindow_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_InitDialog)},
3520 {SIP_MLNAME_CAST(sipName_Initialize), SIP_MLMETH_CAST(meth_wxSplitterWindow_Initialize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_Initialize)},
3521 {SIP_MLNAME_CAST(sipName_IsSashInvisible), meth_wxSplitterWindow_IsSashInvisible, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_IsSashInvisible)},
3522 {SIP_MLNAME_CAST(sipName_IsSplit), meth_wxSplitterWindow_IsSplit, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_IsSplit)},
3523 {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxSplitterWindow_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_OnInternalIdle)},
3524 {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxSplitterWindow_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_ProcessEvent)},
3525 {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxSplitterWindow_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_RemoveChild)},
3526 {SIP_MLNAME_CAST(sipName_ReplaceWindow), SIP_MLMETH_CAST(meth_wxSplitterWindow_ReplaceWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_ReplaceWindow)},
3527 {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxSplitterWindow_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
3528 {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetCanFocus)},
3529 {SIP_MLNAME_CAST(sipName_SetMinimumPaneSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetMinimumPaneSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetMinimumPaneSize)},
3530 {SIP_MLNAME_CAST(sipName_SetSashGravity), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetSashGravity), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetSashGravity)},
3531 {SIP_MLNAME_CAST(sipName_SetSashInvisible), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetSashInvisible), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetSashInvisible)},
3532 {SIP_MLNAME_CAST(sipName_SetSashPosition), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetSashPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetSashPosition)},
3533 {SIP_MLNAME_CAST(sipName_SetSashSize), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetSashSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetSashSize)},
3534 {SIP_MLNAME_CAST(sipName_SetSplitMode), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetSplitMode), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetSplitMode)},
3535 {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxSplitterWindow_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SetValidator)},
3536 {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxSplitterWindow_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_ShouldInheritColours)},
3537 {SIP_MLNAME_CAST(sipName_SplitHorizontally), SIP_MLMETH_CAST(meth_wxSplitterWindow_SplitHorizontally), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SplitHorizontally)},
3538 {SIP_MLNAME_CAST(sipName_SplitVertically), SIP_MLMETH_CAST(meth_wxSplitterWindow_SplitVertically), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_SplitVertically)},
3539 {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxSplitterWindow_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_TransferDataFromWindow)},
3540 {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxSplitterWindow_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_TransferDataToWindow)},
3541 {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxSplitterWindow_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_TryAfter)},
3542 {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxSplitterWindow_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_TryBefore)},
3543 {SIP_MLNAME_CAST(sipName_Unsplit), SIP_MLMETH_CAST(meth_wxSplitterWindow_Unsplit), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSplitterWindow_Unsplit)},
3544 {SIP_MLNAME_CAST(sipName_UpdateSize), meth_wxSplitterWindow_UpdateSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_UpdateSize)},
3545 {SIP_MLNAME_CAST(sipName_Validate), meth_wxSplitterWindow_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSplitterWindow_Validate)}
3546 };
3547
3548 sipVariableDef variables_wxSplitterWindow[] = {
3549 {PropertyVariable, sipName_SashInvisible, &methods_wxSplitterWindow[39], &methods_wxSplitterWindow[49], SIP_NULLPTR, SIP_NULLPTR},
3550 {PropertyVariable, sipName_Window2, &methods_wxSplitterWindow[33], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3551 {PropertyVariable, sipName_Window1, &methods_wxSplitterWindow[32], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3552 {PropertyVariable, sipName_SplitMode, &methods_wxSplitterWindow[30], &methods_wxSplitterWindow[52], SIP_NULLPTR, SIP_NULLPTR},
3553 {PropertyVariable, sipName_SashSize, &methods_wxSplitterWindow[29], &methods_wxSplitterWindow[51], SIP_NULLPTR, SIP_NULLPTR},
3554 {PropertyVariable, sipName_SashPosition, &methods_wxSplitterWindow[28], &methods_wxSplitterWindow[50], SIP_NULLPTR, SIP_NULLPTR},
3555 {PropertyVariable, sipName_SashGravity, &methods_wxSplitterWindow[27], &methods_wxSplitterWindow[48], SIP_NULLPTR, SIP_NULLPTR},
3556 {PropertyVariable, sipName_MinimumPaneSize, &methods_wxSplitterWindow[26], &methods_wxSplitterWindow[47], SIP_NULLPTR, SIP_NULLPTR},
3557 {PropertyVariable, sipName_DefaultSashSize, &methods_wxSplitterWindow[24], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3558 };
3559
3560 PyDoc_STRVAR(doc_wxSplitterWindow, "SplitterWindow()\n"
3561 "SplitterWindow(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=SP_3D, name=\"splitterWindow\")\n"
3562 "\n"
3563 "This class manages up to two subwindows.");
3564
3565
3566 sipClassTypeDef sipTypeDef__core_wxSplitterWindow = {
3567 {
3568 -1,
3569 SIP_NULLPTR,
3570 SIP_NULLPTR,
3571 SIP_TYPE_SCC|SIP_TYPE_CLASS,
3572 sipNameNr_wxSplitterWindow,
3573 {SIP_NULLPTR},
3574 SIP_NULLPTR
3575 },
3576 {
3577 sipNameNr_SplitterWindow,
3578 {0, 0, 1},
3579 64, methods_wxSplitterWindow,
3580 0, SIP_NULLPTR,
3581 9, variables_wxSplitterWindow,
3582 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3583 },
3584 doc_wxSplitterWindow,
3585 -1,
3586 -1,
3587 supers_wxSplitterWindow,
3588 SIP_NULLPTR,
3589 init_type_wxSplitterWindow,
3590 SIP_NULLPTR,
3591 SIP_NULLPTR,
3592 #if PY_MAJOR_VERSION >= 3
3593 SIP_NULLPTR,
3594 SIP_NULLPTR,
3595 #else
3596 SIP_NULLPTR,
3597 SIP_NULLPTR,
3598 SIP_NULLPTR,
3599 SIP_NULLPTR,
3600 #endif
3601 dealloc_wxSplitterWindow,
3602 SIP_NULLPTR,
3603 SIP_NULLPTR,
3604 SIP_NULLPTR,
3605 release_wxSplitterWindow,
3606 cast_wxSplitterWindow,
3607 SIP_NULLPTR,
3608 SIP_NULLPTR,
3609 SIP_NULLPTR,
3610 SIP_NULLPTR,
3611 SIP_NULLPTR,
3612 SIP_NULLPTR
3613 };
3614