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_adv.h"
11
12 #include <wx/timectrl.h>
13
14 #include <wx/window.h>
15 #include <wx/datetime.h>
16 #include <wx/gdicmn.h>
17 #include <wx/gdicmn.h>
18 #include <wx/validate.h>
19 #include <wx/window.h>
20 #include <wx/event.h>
21 #include <wx/dc.h>
22 #include <wx/event.h>
23 #include <wx/event.h>
24 #include <wx/setup.h>
25 #include <wxPython/wxpy_api.h>
26 #include <wx/event.h>
27 #include <wx/cursor.h>
28 #include <wx/caret.h>
29 #include <wx/layout.h>
30 #include <wx/sizer.h>
31 #include <wx/dnd.h>
32 #include <wx/access.h>
33 #include <wx/accel.h>
34 #include <wx/menu.h>
35 #include <wx/tooltip.h>
36 #include <wx/event.h>
37 #include <wx/gdicmn.h>
38 #include <wx/event.h>
39 #include <wx/event.h>
40 #include <wx/palette.h>
41 #include <wx/colour.h>
42 #include <wx/font.h>
43 #include <wx/region.h>
44
45 #include <wx/eventfilter.h>
46 #include <wx/object.h>
47 #include <wx/object.h>
48 #include <wx/object.h>
49
50
51 class sipwxTimePickerCtrl : public ::wxTimePickerCtrl
52 {
53 public:
54 sipwxTimePickerCtrl();
55 sipwxTimePickerCtrl( ::wxWindow*, ::wxWindowID,const ::wxDateTime&,const ::wxPoint&,const ::wxSize&,long,const ::wxValidator&,const ::wxString&);
56 virtual ~sipwxTimePickerCtrl();
57
58 /*
59 * There is a public method for every protected method visible from
60 * this class.
61 */
62 void sipProtect_SendDestroyEvent();
63 bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
64 void sipProtectVirt_DoEnable(bool,bool);
65 void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
66 void sipProtectVirt_DoGetSize(bool,int*,int*) const;
67 void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
68 ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
69 ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
70 void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
71 void sipProtectVirt_DoSetClientSize(bool,int,int);
72 void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
73 ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
74 void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
75 void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
76 ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
77 ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
78 void sipProtectVirt_DoFreeze(bool);
79 void sipProtectVirt_DoThaw(bool);
80 bool sipProtectVirt_HasTransparentBackground(bool);
81 bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
82 bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
83
84 /*
85 * There is a protected method for every virtual method visible from
86 * this class.
87 */
88 protected:
89 ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
90 ::wxSize DoGetBestSize() const SIP_OVERRIDE;
91 void DoThaw() SIP_OVERRIDE;
92 void DoFreeze() SIP_OVERRIDE;
93 ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
94 ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
95 void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
96 void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
97 ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
98 void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
99 void DoSetClientSize(int,int) SIP_OVERRIDE;
100 void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
101 void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
102 void DoGetSize(int*,int*) const SIP_OVERRIDE;
103 void DoGetPosition(int*,int*) const SIP_OVERRIDE;
104 void DoEnable(bool) SIP_OVERRIDE;
105 ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
106 void OnInternalIdle() SIP_OVERRIDE;
107 void InitDialog() SIP_OVERRIDE;
108 void InheritAttributes() SIP_OVERRIDE;
109 bool Destroy() SIP_OVERRIDE;
110 bool Validate() SIP_OVERRIDE;
111 bool TransferDataToWindow() SIP_OVERRIDE;
112 bool TransferDataFromWindow() SIP_OVERRIDE;
113 void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
114 ::wxValidator* GetValidator() SIP_OVERRIDE;
115 bool ShouldInheritColours() const SIP_OVERRIDE;
116 bool HasTransparentBackground() SIP_OVERRIDE;
117 ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
118 bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
119 void SetCanFocus(bool) SIP_OVERRIDE;
120 bool AcceptsFocusRecursively() const SIP_OVERRIDE;
121 bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
122 bool AcceptsFocus() const SIP_OVERRIDE;
123 bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
124 bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
125 bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
126 void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
127 void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
128
129 public:
130 sipSimpleWrapper *sipPySelf;
131
132 private:
133 sipwxTimePickerCtrl(const sipwxTimePickerCtrl &);
134 sipwxTimePickerCtrl &operator = (const sipwxTimePickerCtrl &);
135
136 char sipPyMethods[39];
137 };
138
sipwxTimePickerCtrl()139 sipwxTimePickerCtrl::sipwxTimePickerCtrl(): ::wxTimePickerCtrl(), sipPySelf(SIP_NULLPTR)
140 {
141 memset(sipPyMethods, 0, sizeof (sipPyMethods));
142 }
143
sipwxTimePickerCtrl(::wxWindow * parent,::wxWindowID id,const::wxDateTime & dt,const::wxPoint & pos,const::wxSize & size,long style,const::wxValidator & validator,const::wxString & name)144 sipwxTimePickerCtrl::sipwxTimePickerCtrl( ::wxWindow*parent, ::wxWindowID id,const ::wxDateTime& dt,const ::wxPoint& pos,const ::wxSize& size,long style,const ::wxValidator& validator,const ::wxString& name): ::wxTimePickerCtrl(parent,id,dt,pos,size,style,validator,name), sipPySelf(SIP_NULLPTR)
145 {
146 memset(sipPyMethods, 0, sizeof (sipPyMethods));
147 }
148
~sipwxTimePickerCtrl()149 sipwxTimePickerCtrl::~sipwxTimePickerCtrl()
150 {
151 sipInstanceDestroyedEx(&sipPySelf);
152 }
153
DoGetBestClientSize() const154 ::wxSize sipwxTimePickerCtrl::DoGetBestClientSize() const
155 {
156 sip_gilstate_t sipGILState;
157 PyObject *sipMeth;
158
159 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
160
161 if (!sipMeth)
162 return ::wxTimePickerCtrl::DoGetBestClientSize();
163
164 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
165
166 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
167 }
168
DoGetBestSize() const169 ::wxSize sipwxTimePickerCtrl::DoGetBestSize() const
170 {
171 sip_gilstate_t sipGILState;
172 PyObject *sipMeth;
173
174 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
175
176 if (!sipMeth)
177 return ::wxTimePickerCtrl::DoGetBestSize();
178
179 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
180
181 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
182 }
183
DoThaw()184 void sipwxTimePickerCtrl::DoThaw()
185 {
186 sip_gilstate_t sipGILState;
187 PyObject *sipMeth;
188
189 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
190
191 if (!sipMeth)
192 {
193 ::wxTimePickerCtrl::DoThaw();
194 return;
195 }
196
197 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
198
199 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
200 }
201
DoFreeze()202 void sipwxTimePickerCtrl::DoFreeze()
203 {
204 sip_gilstate_t sipGILState;
205 PyObject *sipMeth;
206
207 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
208
209 if (!sipMeth)
210 {
211 ::wxTimePickerCtrl::DoFreeze();
212 return;
213 }
214
215 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
216
217 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
218 }
219
GetDefaultBorderForControl() const220 ::wxBorder sipwxTimePickerCtrl::GetDefaultBorderForControl() const
221 {
222 sip_gilstate_t sipGILState;
223 PyObject *sipMeth;
224
225 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
226
227 if (!sipMeth)
228 return ::wxTimePickerCtrl::GetDefaultBorderForControl();
229
230 extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
231
232 return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth);
233 }
234
GetDefaultBorder() const235 ::wxBorder sipwxTimePickerCtrl::GetDefaultBorder() const
236 {
237 sip_gilstate_t sipGILState;
238 PyObject *sipMeth;
239
240 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
241
242 if (!sipMeth)
243 return ::wxTimePickerCtrl::GetDefaultBorder();
244
245 extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
246
247 return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth);
248 }
249
DoSetWindowVariant(::wxWindowVariant variant)250 void sipwxTimePickerCtrl::DoSetWindowVariant( ::wxWindowVariant variant)
251 {
252 sip_gilstate_t sipGILState;
253 PyObject *sipMeth;
254
255 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
256
257 if (!sipMeth)
258 {
259 ::wxTimePickerCtrl::DoSetWindowVariant(variant);
260 return;
261 }
262
263 extern void sipVH__adv_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant);
264
265 sipVH__adv_25(sipGILState, 0, sipPySelf, sipMeth, variant);
266 }
267
DoMoveWindow(int x,int y,int width,int height)268 void sipwxTimePickerCtrl::DoMoveWindow(int x,int y,int width,int height)
269 {
270 sip_gilstate_t sipGILState;
271 PyObject *sipMeth;
272
273 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
274
275 if (!sipMeth)
276 {
277 ::wxTimePickerCtrl::DoMoveWindow(x,y,width,height);
278 return;
279 }
280
281 extern void sipVH__adv_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
282
283 sipVH__adv_24(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
284 }
285
DoGetBorderSize() const286 ::wxSize sipwxTimePickerCtrl::DoGetBorderSize() const
287 {
288 sip_gilstate_t sipGILState;
289 PyObject *sipMeth;
290
291 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
292
293 if (!sipMeth)
294 return ::wxTimePickerCtrl::DoGetBorderSize();
295
296 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
297
298 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
299 }
300
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)301 void sipwxTimePickerCtrl::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
302 {
303 sip_gilstate_t sipGILState;
304 PyObject *sipMeth;
305
306 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
307
308 if (!sipMeth)
309 {
310 ::wxTimePickerCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
311 return;
312 }
313
314 extern void sipVH__adv_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
315
316 sipVH__adv_22(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
317 }
318
DoSetClientSize(int width,int height)319 void sipwxTimePickerCtrl::DoSetClientSize(int width,int height)
320 {
321 sip_gilstate_t sipGILState;
322 PyObject *sipMeth;
323
324 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
325
326 if (!sipMeth)
327 {
328 ::wxTimePickerCtrl::DoSetClientSize(width,height);
329 return;
330 }
331
332 extern void sipVH__adv_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
333
334 sipVH__adv_21(sipGILState, 0, sipPySelf, sipMeth, width, height);
335 }
336
DoSetSize(int x,int y,int width,int height,int sizeFlags)337 void sipwxTimePickerCtrl::DoSetSize(int x,int y,int width,int height,int sizeFlags)
338 {
339 sip_gilstate_t sipGILState;
340 PyObject *sipMeth;
341
342 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
343
344 if (!sipMeth)
345 {
346 ::wxTimePickerCtrl::DoSetSize(x,y,width,height,sizeFlags);
347 return;
348 }
349
350 extern void sipVH__adv_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
351
352 sipVH__adv_20(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
353 }
354
DoGetClientSize(int * width,int * height) const355 void sipwxTimePickerCtrl::DoGetClientSize(int*width,int*height) const
356 {
357 sip_gilstate_t sipGILState;
358 PyObject *sipMeth;
359
360 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
361
362 if (!sipMeth)
363 {
364 ::wxTimePickerCtrl::DoGetClientSize(width,height);
365 return;
366 }
367
368 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
369
370 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height);
371 }
372
DoGetSize(int * width,int * height) const373 void sipwxTimePickerCtrl::DoGetSize(int*width,int*height) const
374 {
375 sip_gilstate_t sipGILState;
376 PyObject *sipMeth;
377
378 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
379
380 if (!sipMeth)
381 {
382 ::wxTimePickerCtrl::DoGetSize(width,height);
383 return;
384 }
385
386 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
387
388 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height);
389 }
390
DoGetPosition(int * x,int * y) const391 void sipwxTimePickerCtrl::DoGetPosition(int*x,int*y) const
392 {
393 sip_gilstate_t sipGILState;
394 PyObject *sipMeth;
395
396 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
397
398 if (!sipMeth)
399 {
400 ::wxTimePickerCtrl::DoGetPosition(x,y);
401 return;
402 }
403
404 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
405
406 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, x, y);
407 }
408
DoEnable(bool enable)409 void sipwxTimePickerCtrl::DoEnable(bool enable)
410 {
411 sip_gilstate_t sipGILState;
412 PyObject *sipMeth;
413
414 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
415
416 if (!sipMeth)
417 {
418 ::wxTimePickerCtrl::DoEnable(enable);
419 return;
420 }
421
422 extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
423
424 sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, enable);
425 }
426
GetMainWindowOfCompositeControl()427 ::wxWindow* sipwxTimePickerCtrl::GetMainWindowOfCompositeControl()
428 {
429 sip_gilstate_t sipGILState;
430 PyObject *sipMeth;
431
432 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
433
434 if (!sipMeth)
435 return ::wxTimePickerCtrl::GetMainWindowOfCompositeControl();
436
437 extern ::wxWindow* sipVH__adv_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
438
439 return sipVH__adv_7(sipGILState, 0, sipPySelf, sipMeth);
440 }
441
OnInternalIdle()442 void sipwxTimePickerCtrl::OnInternalIdle()
443 {
444 sip_gilstate_t sipGILState;
445 PyObject *sipMeth;
446
447 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
448
449 if (!sipMeth)
450 {
451 ::wxTimePickerCtrl::OnInternalIdle();
452 return;
453 }
454
455 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
456
457 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
458 }
459
InitDialog()460 void sipwxTimePickerCtrl::InitDialog()
461 {
462 sip_gilstate_t sipGILState;
463 PyObject *sipMeth;
464
465 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
466
467 if (!sipMeth)
468 {
469 ::wxTimePickerCtrl::InitDialog();
470 return;
471 }
472
473 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
474
475 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
476 }
477
InheritAttributes()478 void sipwxTimePickerCtrl::InheritAttributes()
479 {
480 sip_gilstate_t sipGILState;
481 PyObject *sipMeth;
482
483 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
484
485 if (!sipMeth)
486 {
487 ::wxTimePickerCtrl::InheritAttributes();
488 return;
489 }
490
491 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
492
493 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
494 }
495
Destroy()496 bool sipwxTimePickerCtrl::Destroy()
497 {
498 sip_gilstate_t sipGILState;
499 PyObject *sipMeth;
500
501 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_Destroy);
502
503 if (!sipMeth)
504 return ::wxTimePickerCtrl::Destroy();
505
506 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
507
508 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
509 }
510
Validate()511 bool sipwxTimePickerCtrl::Validate()
512 {
513 sip_gilstate_t sipGILState;
514 PyObject *sipMeth;
515
516 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_Validate);
517
518 if (!sipMeth)
519 return ::wxTimePickerCtrl::Validate();
520
521 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
522
523 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
524 }
525
TransferDataToWindow()526 bool sipwxTimePickerCtrl::TransferDataToWindow()
527 {
528 sip_gilstate_t sipGILState;
529 PyObject *sipMeth;
530
531 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
532
533 if (!sipMeth)
534 return ::wxTimePickerCtrl::TransferDataToWindow();
535
536 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
537
538 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
539 }
540
TransferDataFromWindow()541 bool sipwxTimePickerCtrl::TransferDataFromWindow()
542 {
543 sip_gilstate_t sipGILState;
544 PyObject *sipMeth;
545
546 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
547
548 if (!sipMeth)
549 return ::wxTimePickerCtrl::TransferDataFromWindow();
550
551 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
552
553 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
554 }
555
SetValidator(const::wxValidator & validator)556 void sipwxTimePickerCtrl::SetValidator(const ::wxValidator& validator)
557 {
558 sip_gilstate_t sipGILState;
559 PyObject *sipMeth;
560
561 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
562
563 if (!sipMeth)
564 {
565 ::wxTimePickerCtrl::SetValidator(validator);
566 return;
567 }
568
569 extern void sipVH__adv_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&);
570
571 sipVH__adv_18(sipGILState, 0, sipPySelf, sipMeth, validator);
572 }
573
GetValidator()574 ::wxValidator* sipwxTimePickerCtrl::GetValidator()
575 {
576 sip_gilstate_t sipGILState;
577 PyObject *sipMeth;
578
579 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
580
581 if (!sipMeth)
582 return ::wxTimePickerCtrl::GetValidator();
583
584 extern ::wxValidator* sipVH__adv_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
585
586 return sipVH__adv_17(sipGILState, 0, sipPySelf, sipMeth);
587 }
588
ShouldInheritColours() const589 bool sipwxTimePickerCtrl::ShouldInheritColours() const
590 {
591 sip_gilstate_t sipGILState;
592 PyObject *sipMeth;
593
594 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
595
596 if (!sipMeth)
597 return ::wxTimePickerCtrl::ShouldInheritColours();
598
599 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
600
601 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
602 }
603
HasTransparentBackground()604 bool sipwxTimePickerCtrl::HasTransparentBackground()
605 {
606 sip_gilstate_t sipGILState;
607 PyObject *sipMeth;
608
609 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
610
611 if (!sipMeth)
612 return ::wxTimePickerCtrl::HasTransparentBackground();
613
614 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
615
616 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
617 }
618
GetClientAreaOrigin() const619 ::wxPoint sipwxTimePickerCtrl::GetClientAreaOrigin() const
620 {
621 sip_gilstate_t sipGILState;
622 PyObject *sipMeth;
623
624 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
625
626 if (!sipMeth)
627 return ::wxTimePickerCtrl::GetClientAreaOrigin();
628
629 extern ::wxPoint sipVH__adv_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
630
631 return sipVH__adv_16(sipGILState, 0, sipPySelf, sipMeth);
632 }
633
InformFirstDirection(int direction,int size,int availableOtherDir)634 bool sipwxTimePickerCtrl::InformFirstDirection(int direction,int size,int availableOtherDir)
635 {
636 sip_gilstate_t sipGILState;
637 PyObject *sipMeth;
638
639 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
640
641 if (!sipMeth)
642 return ::wxTimePickerCtrl::InformFirstDirection(direction,size,availableOtherDir);
643
644 extern bool sipVH__adv_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
645
646 return sipVH__adv_15(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
647 }
648
SetCanFocus(bool canFocus)649 void sipwxTimePickerCtrl::SetCanFocus(bool canFocus)
650 {
651 sip_gilstate_t sipGILState;
652 PyObject *sipMeth;
653
654 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
655
656 if (!sipMeth)
657 {
658 ::wxTimePickerCtrl::SetCanFocus(canFocus);
659 return;
660 }
661
662 extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
663
664 sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, canFocus);
665 }
666
AcceptsFocusRecursively() const667 bool sipwxTimePickerCtrl::AcceptsFocusRecursively() const
668 {
669 sip_gilstate_t sipGILState;
670 PyObject *sipMeth;
671
672 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
673
674 if (!sipMeth)
675 return ::wxTimePickerCtrl::AcceptsFocusRecursively();
676
677 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
678
679 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
680 }
681
AcceptsFocusFromKeyboard() const682 bool sipwxTimePickerCtrl::AcceptsFocusFromKeyboard() const
683 {
684 sip_gilstate_t sipGILState;
685 PyObject *sipMeth;
686
687 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
688
689 if (!sipMeth)
690 return ::wxTimePickerCtrl::AcceptsFocusFromKeyboard();
691
692 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
693
694 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
695 }
696
AcceptsFocus() const697 bool sipwxTimePickerCtrl::AcceptsFocus() const
698 {
699 sip_gilstate_t sipGILState;
700 PyObject *sipMeth;
701
702 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
703
704 if (!sipMeth)
705 return ::wxTimePickerCtrl::AcceptsFocus();
706
707 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
708
709 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
710 }
711
TryAfter(::wxEvent & event)712 bool sipwxTimePickerCtrl::TryAfter( ::wxEvent& event)
713 {
714 sip_gilstate_t sipGILState;
715 PyObject *sipMeth;
716
717 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
718
719 if (!sipMeth)
720 return ::wxTimePickerCtrl::TryAfter(event);
721
722 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
723
724 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
725 }
726
TryBefore(::wxEvent & event)727 bool sipwxTimePickerCtrl::TryBefore( ::wxEvent& event)
728 {
729 sip_gilstate_t sipGILState;
730 PyObject *sipMeth;
731
732 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
733
734 if (!sipMeth)
735 return ::wxTimePickerCtrl::TryBefore(event);
736
737 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
738
739 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
740 }
741
ProcessEvent(::wxEvent & event)742 bool sipwxTimePickerCtrl::ProcessEvent( ::wxEvent& event)
743 {
744 sip_gilstate_t sipGILState;
745 PyObject *sipMeth;
746
747 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
748
749 if (!sipMeth)
750 return ::wxTimePickerCtrl::ProcessEvent(event);
751
752 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
753
754 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
755 }
756
AddChild(::wxWindowBase * child)757 void sipwxTimePickerCtrl::AddChild( ::wxWindowBase*child)
758 {
759 sip_gilstate_t sipGILState;
760 PyObject *sipMeth;
761
762 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_AddChild);
763
764 if (!sipMeth)
765 {
766 ::wxTimePickerCtrl::AddChild(child);
767 return;
768 }
769
770 extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
771
772 sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child);
773 }
774
RemoveChild(::wxWindowBase * child)775 void sipwxTimePickerCtrl::RemoveChild( ::wxWindowBase*child)
776 {
777 sip_gilstate_t sipGILState;
778 PyObject *sipMeth;
779
780 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
781
782 if (!sipMeth)
783 {
784 ::wxTimePickerCtrl::RemoveChild(child);
785 return;
786 }
787
788 extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
789
790 sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child);
791 }
792
sipProtect_SendDestroyEvent()793 void sipwxTimePickerCtrl::sipProtect_SendDestroyEvent()
794 {
795 ::wxWindow::SendDestroyEvent();
796 }
797
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)798 bool sipwxTimePickerCtrl::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
799 {
800 return (sipSelfWasArg ? ::wxTimePickerCtrl::ProcessEvent(event) : ProcessEvent(event));
801 }
802
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)803 void sipwxTimePickerCtrl::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
804 {
805 (sipSelfWasArg ? ::wxTimePickerCtrl::DoEnable(enable) : DoEnable(enable));
806 }
807
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const808 void sipwxTimePickerCtrl::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
809 {
810 (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetPosition(x,y) : DoGetPosition(x,y));
811 }
812
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const813 void sipwxTimePickerCtrl::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
814 {
815 (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetSize(width,height) : DoGetSize(width,height));
816 }
817
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const818 void sipwxTimePickerCtrl::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
819 {
820 (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetClientSize(width,height) : DoGetClientSize(width,height));
821 }
822
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const823 ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
824 {
825 return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBestSize() : DoGetBestSize());
826 }
827
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const828 ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
829 {
830 return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBestClientSize() : DoGetBestClientSize());
831 }
832
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)833 void sipwxTimePickerCtrl::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
834 {
835 (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
836 }
837
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)838 void sipwxTimePickerCtrl::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
839 {
840 (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetClientSize(width,height) : DoSetClientSize(width,height));
841 }
842
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)843 void sipwxTimePickerCtrl::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
844 {
845 (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
846 }
847
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const848 ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
849 {
850 return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBorderSize() : DoGetBorderSize());
851 }
852
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)853 void sipwxTimePickerCtrl::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
854 {
855 (sipSelfWasArg ? ::wxTimePickerCtrl::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
856 }
857
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)858 void sipwxTimePickerCtrl::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
859 {
860 (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
861 }
862
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const863 ::wxBorder sipwxTimePickerCtrl::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
864 {
865 return (sipSelfWasArg ? ::wxTimePickerCtrl::GetDefaultBorder() : GetDefaultBorder());
866 }
867
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const868 ::wxBorder sipwxTimePickerCtrl::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
869 {
870 return (sipSelfWasArg ? ::wxTimePickerCtrl::GetDefaultBorderForControl() : GetDefaultBorderForControl());
871 }
872
sipProtectVirt_DoFreeze(bool sipSelfWasArg)873 void sipwxTimePickerCtrl::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
874 {
875 (sipSelfWasArg ? ::wxTimePickerCtrl::DoFreeze() : DoFreeze());
876 }
877
sipProtectVirt_DoThaw(bool sipSelfWasArg)878 void sipwxTimePickerCtrl::sipProtectVirt_DoThaw(bool sipSelfWasArg)
879 {
880 (sipSelfWasArg ? ::wxTimePickerCtrl::DoThaw() : DoThaw());
881 }
882
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)883 bool sipwxTimePickerCtrl::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
884 {
885 return (sipSelfWasArg ? ::wxTimePickerCtrl::HasTransparentBackground() : HasTransparentBackground());
886 }
887
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)888 bool sipwxTimePickerCtrl::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
889 {
890 return (sipSelfWasArg ? ::wxTimePickerCtrl::TryBefore(event) : TryBefore(event));
891 }
892
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)893 bool sipwxTimePickerCtrl::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
894 {
895 return (sipSelfWasArg ? ::wxTimePickerCtrl::TryAfter(event) : TryAfter(event));
896 }
897
898
899 PyDoc_STRVAR(doc_wxTimePickerCtrl_SendDestroyEvent, "SendDestroyEvent()\n"
900 "\n"
901 "Generate wxWindowDestroyEvent for this window.");
902
903 extern "C" {static PyObject *meth_wxTimePickerCtrl_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)904 static PyObject *meth_wxTimePickerCtrl_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
905 {
906 PyObject *sipParseErr = SIP_NULLPTR;
907
908 {
909 sipwxTimePickerCtrl *sipCpp;
910
911 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
912 {
913 PyErr_Clear();
914
915 Py_BEGIN_ALLOW_THREADS
916 sipCpp->sipProtect_SendDestroyEvent();
917 Py_END_ALLOW_THREADS
918
919 if (PyErr_Occurred())
920 return 0;
921
922 Py_INCREF(Py_None);
923 return Py_None;
924 }
925 }
926
927 /* Raise an exception if the arguments couldn't be parsed. */
928 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SendDestroyEvent, SIP_NULLPTR);
929
930 return SIP_NULLPTR;
931 }
932
933
934 PyDoc_STRVAR(doc_wxTimePickerCtrl_Create, "Create(parent, id=wx.ID_ANY, dt=wx.DefaultDateTime, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DP_DEFAULT|DP_SHOWCENTURY, validator=wx.DefaultValidator, name=\"timectrl\") -> bool\n"
935 "\n"
936 "Create the control window.");
937
938 extern "C" {static PyObject *meth_wxTimePickerCtrl_Create(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)939 static PyObject *meth_wxTimePickerCtrl_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
940 {
941 PyObject *sipParseErr = SIP_NULLPTR;
942
943 {
944 ::wxWindow* parent;
945 ::wxWindowID id = wxID_ANY;
946 const ::wxDateTime& dtdef = wxDefaultDateTime;
947 const ::wxDateTime* dt = &dtdef;
948 int dtState = 0;
949 const ::wxPoint& posdef = wxDefaultPosition;
950 const ::wxPoint* pos = &posdef;
951 int posState = 0;
952 const ::wxSize& sizedef = wxDefaultSize;
953 const ::wxSize* size = &sizedef;
954 int sizeState = 0;
955 long style = wxDP_DEFAULT|wxDP_SHOWCENTURY;
956 const ::wxValidator& validatordef = wxDefaultValidator;
957 const ::wxValidator* validator = &validatordef;
958 const ::wxString& namedef = "timectrl";
959 const ::wxString* name = &namedef;
960 int nameState = 0;
961 sipWrapper *sipOwner = SIP_NULLPTR;
962 ::wxTimePickerCtrl *sipCpp;
963
964 static const char *sipKwdList[] = {
965 sipName_parent,
966 sipName_id,
967 sipName_dt,
968 sipName_pos,
969 sipName_size,
970 sipName_style,
971 sipName_validator,
972 sipName_name,
973 };
974
975 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1J1lJ9J1", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxDateTime, &dt, &dtState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
976 {
977 bool sipRes;
978
979 PyErr_Clear();
980
981 Py_BEGIN_ALLOW_THREADS
982 sipRes = sipCpp->Create(parent,id,*dt,*pos,*size,style,*validator,*name);
983 Py_END_ALLOW_THREADS
984
985 if (sipOwner)
986 sipTransferTo(sipSelf, (PyObject *)sipOwner);
987 else
988 sipTransferBack(sipSelf);
989 sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState);
990 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
991 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
992 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
993
994 if (PyErr_Occurred())
995 return 0;
996
997 return PyBool_FromLong(sipRes);
998 }
999 }
1000
1001 /* Raise an exception if the arguments couldn't be parsed. */
1002 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Create, SIP_NULLPTR);
1003
1004 return SIP_NULLPTR;
1005 }
1006
1007
1008 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetTime, "GetTime() -> (hour, min, sec)\n"
1009 "\n"
1010 "Returns the currently entered time as hours, minutes and seconds.");
1011
1012 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetTime(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetTime(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1013 static PyObject *meth_wxTimePickerCtrl_GetTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1014 {
1015 PyObject *sipParseErr = SIP_NULLPTR;
1016
1017 {
1018 int hour;
1019 int min;
1020 int sec;
1021 const ::wxTimePickerCtrl *sipCpp;
1022
1023 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1024 {
1025 PyErr_Clear();
1026
1027 Py_BEGIN_ALLOW_THREADS
1028 sipCpp->GetTime(&hour,&min,&sec);
1029 Py_END_ALLOW_THREADS
1030
1031 if (PyErr_Occurred())
1032 return 0;
1033
1034 return sipBuildResult(0,"(iii)",hour,min,sec);
1035 }
1036 }
1037
1038 /* Raise an exception if the arguments couldn't be parsed. */
1039 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetTime, SIP_NULLPTR);
1040
1041 return SIP_NULLPTR;
1042 }
1043
1044
1045 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetValue, "GetValue() -> wx.DateTime\n"
1046 "\n"
1047 "Returns the currently entered time.");
1048
1049 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetValue(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetValue(PyObject * sipSelf,PyObject * sipArgs)1050 static PyObject *meth_wxTimePickerCtrl_GetValue(PyObject *sipSelf, PyObject *sipArgs)
1051 {
1052 PyObject *sipParseErr = SIP_NULLPTR;
1053
1054 {
1055 const ::wxTimePickerCtrl *sipCpp;
1056
1057 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1058 {
1059 ::wxDateTime*sipRes;
1060
1061 PyErr_Clear();
1062
1063 Py_BEGIN_ALLOW_THREADS
1064 sipRes = new ::wxDateTime(sipCpp->GetValue());
1065 Py_END_ALLOW_THREADS
1066
1067 if (PyErr_Occurred())
1068 return 0;
1069
1070 return sipConvertFromNewType(sipRes,sipType_wxDateTime,SIP_NULLPTR);
1071 }
1072 }
1073
1074 /* Raise an exception if the arguments couldn't be parsed. */
1075 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetValue, SIP_NULLPTR);
1076
1077 return SIP_NULLPTR;
1078 }
1079
1080
1081 PyDoc_STRVAR(doc_wxTimePickerCtrl_SetTime, "SetTime(hour, min, sec) -> bool\n"
1082 "\n"
1083 "Changes the current time of the control.");
1084
1085 extern "C" {static PyObject *meth_wxTimePickerCtrl_SetTime(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_SetTime(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1086 static PyObject *meth_wxTimePickerCtrl_SetTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1087 {
1088 PyObject *sipParseErr = SIP_NULLPTR;
1089
1090 {
1091 int hour;
1092 int min;
1093 int sec;
1094 ::wxTimePickerCtrl *sipCpp;
1095
1096 static const char *sipKwdList[] = {
1097 sipName_hour,
1098 sipName_min,
1099 sipName_sec,
1100 };
1101
1102 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &hour, &min, &sec))
1103 {
1104 bool sipRes;
1105
1106 PyErr_Clear();
1107
1108 Py_BEGIN_ALLOW_THREADS
1109 sipRes = sipCpp->SetTime(hour,min,sec);
1110 Py_END_ALLOW_THREADS
1111
1112 if (PyErr_Occurred())
1113 return 0;
1114
1115 return PyBool_FromLong(sipRes);
1116 }
1117 }
1118
1119 /* Raise an exception if the arguments couldn't be parsed. */
1120 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetTime, SIP_NULLPTR);
1121
1122 return SIP_NULLPTR;
1123 }
1124
1125
1126 PyDoc_STRVAR(doc_wxTimePickerCtrl_SetValue, "SetValue(dt)\n"
1127 "\n"
1128 "Changes the current value of the control.");
1129
1130 extern "C" {static PyObject *meth_wxTimePickerCtrl_SetValue(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_SetValue(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1131 static PyObject *meth_wxTimePickerCtrl_SetValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1132 {
1133 PyObject *sipParseErr = SIP_NULLPTR;
1134
1135 {
1136 const ::wxDateTime* dt;
1137 int dtState = 0;
1138 ::wxTimePickerCtrl *sipCpp;
1139
1140 static const char *sipKwdList[] = {
1141 sipName_dt,
1142 };
1143
1144 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxDateTime, &dt, &dtState))
1145 {
1146 PyErr_Clear();
1147
1148 Py_BEGIN_ALLOW_THREADS
1149 sipCpp->SetValue(*dt);
1150 Py_END_ALLOW_THREADS
1151 sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState);
1152
1153 if (PyErr_Occurred())
1154 return 0;
1155
1156 Py_INCREF(Py_None);
1157 return Py_None;
1158 }
1159 }
1160
1161 /* Raise an exception if the arguments couldn't be parsed. */
1162 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetValue, SIP_NULLPTR);
1163
1164 return SIP_NULLPTR;
1165 }
1166
1167
1168 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
1169
1170 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)1171 static PyObject *meth_wxTimePickerCtrl_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
1172 {
1173 PyObject *sipParseErr = SIP_NULLPTR;
1174 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1175
1176 {
1177 const ::wxTimePickerCtrl *sipCpp;
1178
1179 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1180 {
1181 ::wxPoint*sipRes;
1182
1183 PyErr_Clear();
1184
1185 Py_BEGIN_ALLOW_THREADS
1186 sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
1187 Py_END_ALLOW_THREADS
1188
1189 if (PyErr_Occurred())
1190 return 0;
1191
1192 return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1193 }
1194 }
1195
1196 /* Raise an exception if the arguments couldn't be parsed. */
1197 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetClientAreaOrigin, doc_wxTimePickerCtrl_GetClientAreaOrigin);
1198
1199 return SIP_NULLPTR;
1200 }
1201
1202
1203 PyDoc_STRVAR(doc_wxTimePickerCtrl_Validate, "Validate(self) -> bool");
1204
1205 extern "C" {static PyObject *meth_wxTimePickerCtrl_Validate(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_Validate(PyObject * sipSelf,PyObject * sipArgs)1206 static PyObject *meth_wxTimePickerCtrl_Validate(PyObject *sipSelf, PyObject *sipArgs)
1207 {
1208 PyObject *sipParseErr = SIP_NULLPTR;
1209 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1210
1211 {
1212 ::wxTimePickerCtrl *sipCpp;
1213
1214 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1215 {
1216 bool sipRes;
1217
1218 PyErr_Clear();
1219
1220 Py_BEGIN_ALLOW_THREADS
1221 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::Validate() : sipCpp->Validate());
1222 Py_END_ALLOW_THREADS
1223
1224 if (PyErr_Occurred())
1225 return 0;
1226
1227 return PyBool_FromLong(sipRes);
1228 }
1229 }
1230
1231 /* Raise an exception if the arguments couldn't be parsed. */
1232 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Validate, doc_wxTimePickerCtrl_Validate);
1233
1234 return SIP_NULLPTR;
1235 }
1236
1237
1238 PyDoc_STRVAR(doc_wxTimePickerCtrl_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
1239
1240 extern "C" {static PyObject *meth_wxTimePickerCtrl_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)1241 static PyObject *meth_wxTimePickerCtrl_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
1242 {
1243 PyObject *sipParseErr = SIP_NULLPTR;
1244 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1245
1246 {
1247 ::wxTimePickerCtrl *sipCpp;
1248
1249 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1250 {
1251 bool sipRes;
1252
1253 PyErr_Clear();
1254
1255 Py_BEGIN_ALLOW_THREADS
1256 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::TransferDataToWindow() : sipCpp->TransferDataToWindow());
1257 Py_END_ALLOW_THREADS
1258
1259 if (PyErr_Occurred())
1260 return 0;
1261
1262 return PyBool_FromLong(sipRes);
1263 }
1264 }
1265
1266 /* Raise an exception if the arguments couldn't be parsed. */
1267 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TransferDataToWindow, doc_wxTimePickerCtrl_TransferDataToWindow);
1268
1269 return SIP_NULLPTR;
1270 }
1271
1272
1273 PyDoc_STRVAR(doc_wxTimePickerCtrl_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
1274
1275 extern "C" {static PyObject *meth_wxTimePickerCtrl_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)1276 static PyObject *meth_wxTimePickerCtrl_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
1277 {
1278 PyObject *sipParseErr = SIP_NULLPTR;
1279 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1280
1281 {
1282 ::wxTimePickerCtrl *sipCpp;
1283
1284 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1285 {
1286 bool sipRes;
1287
1288 PyErr_Clear();
1289
1290 Py_BEGIN_ALLOW_THREADS
1291 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
1292 Py_END_ALLOW_THREADS
1293
1294 if (PyErr_Occurred())
1295 return 0;
1296
1297 return PyBool_FromLong(sipRes);
1298 }
1299 }
1300
1301 /* Raise an exception if the arguments couldn't be parsed. */
1302 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TransferDataFromWindow, doc_wxTimePickerCtrl_TransferDataFromWindow);
1303
1304 return SIP_NULLPTR;
1305 }
1306
1307
1308 PyDoc_STRVAR(doc_wxTimePickerCtrl_InitDialog, "InitDialog(self)");
1309
1310 extern "C" {static PyObject *meth_wxTimePickerCtrl_InitDialog(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_InitDialog(PyObject * sipSelf,PyObject * sipArgs)1311 static PyObject *meth_wxTimePickerCtrl_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
1312 {
1313 PyObject *sipParseErr = SIP_NULLPTR;
1314 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1315
1316 {
1317 ::wxTimePickerCtrl *sipCpp;
1318
1319 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1320 {
1321 PyErr_Clear();
1322
1323 Py_BEGIN_ALLOW_THREADS
1324 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InitDialog() : sipCpp->InitDialog());
1325 Py_END_ALLOW_THREADS
1326
1327 if (PyErr_Occurred())
1328 return 0;
1329
1330 Py_INCREF(Py_None);
1331 return Py_None;
1332 }
1333 }
1334
1335 /* Raise an exception if the arguments couldn't be parsed. */
1336 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InitDialog, doc_wxTimePickerCtrl_InitDialog);
1337
1338 return SIP_NULLPTR;
1339 }
1340
1341
1342 PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocus, "AcceptsFocus(self) -> bool");
1343
1344 extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocus(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)1345 static PyObject *meth_wxTimePickerCtrl_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
1346 {
1347 PyObject *sipParseErr = SIP_NULLPTR;
1348 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1349
1350 {
1351 const ::wxTimePickerCtrl *sipCpp;
1352
1353 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1354 {
1355 bool sipRes;
1356
1357 PyErr_Clear();
1358
1359 Py_BEGIN_ALLOW_THREADS
1360 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocus() : sipCpp->AcceptsFocus());
1361 Py_END_ALLOW_THREADS
1362
1363 if (PyErr_Occurred())
1364 return 0;
1365
1366 return PyBool_FromLong(sipRes);
1367 }
1368 }
1369
1370 /* Raise an exception if the arguments couldn't be parsed. */
1371 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocus, doc_wxTimePickerCtrl_AcceptsFocus);
1372
1373 return SIP_NULLPTR;
1374 }
1375
1376
1377 PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
1378
1379 extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)1380 static PyObject *meth_wxTimePickerCtrl_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
1381 {
1382 PyObject *sipParseErr = SIP_NULLPTR;
1383 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1384
1385 {
1386 const ::wxTimePickerCtrl *sipCpp;
1387
1388 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1389 {
1390 bool sipRes;
1391
1392 PyErr_Clear();
1393
1394 Py_BEGIN_ALLOW_THREADS
1395 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
1396 Py_END_ALLOW_THREADS
1397
1398 if (PyErr_Occurred())
1399 return 0;
1400
1401 return PyBool_FromLong(sipRes);
1402 }
1403 }
1404
1405 /* Raise an exception if the arguments couldn't be parsed. */
1406 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocusRecursively, doc_wxTimePickerCtrl_AcceptsFocusRecursively);
1407
1408 return SIP_NULLPTR;
1409 }
1410
1411
1412 PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
1413
1414 extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)1415 static PyObject *meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
1416 {
1417 PyObject *sipParseErr = SIP_NULLPTR;
1418 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1419
1420 {
1421 const ::wxTimePickerCtrl *sipCpp;
1422
1423 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1424 {
1425 bool sipRes;
1426
1427 PyErr_Clear();
1428
1429 Py_BEGIN_ALLOW_THREADS
1430 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
1431 Py_END_ALLOW_THREADS
1432
1433 if (PyErr_Occurred())
1434 return 0;
1435
1436 return PyBool_FromLong(sipRes);
1437 }
1438 }
1439
1440 /* Raise an exception if the arguments couldn't be parsed. */
1441 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocusFromKeyboard, doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard);
1442
1443 return SIP_NULLPTR;
1444 }
1445
1446
1447 PyDoc_STRVAR(doc_wxTimePickerCtrl_AddChild, "AddChild(self, child: WindowBase)");
1448
1449 extern "C" {static PyObject *meth_wxTimePickerCtrl_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1450 static PyObject *meth_wxTimePickerCtrl_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1451 {
1452 PyObject *sipParseErr = SIP_NULLPTR;
1453 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1454
1455 {
1456 ::wxWindowBase* child;
1457 ::wxTimePickerCtrl *sipCpp;
1458
1459 static const char *sipKwdList[] = {
1460 sipName_child,
1461 };
1462
1463 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowBase, &child))
1464 {
1465 PyErr_Clear();
1466
1467 Py_BEGIN_ALLOW_THREADS
1468 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AddChild(child) : sipCpp->AddChild(child));
1469 Py_END_ALLOW_THREADS
1470
1471 if (PyErr_Occurred())
1472 return 0;
1473
1474 Py_INCREF(Py_None);
1475 return Py_None;
1476 }
1477 }
1478
1479 /* Raise an exception if the arguments couldn't be parsed. */
1480 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AddChild, doc_wxTimePickerCtrl_AddChild);
1481
1482 return SIP_NULLPTR;
1483 }
1484
1485
1486 PyDoc_STRVAR(doc_wxTimePickerCtrl_RemoveChild, "RemoveChild(self, child: WindowBase)");
1487
1488 extern "C" {static PyObject *meth_wxTimePickerCtrl_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1489 static PyObject *meth_wxTimePickerCtrl_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1490 {
1491 PyObject *sipParseErr = SIP_NULLPTR;
1492 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1493
1494 {
1495 ::wxWindowBase* child;
1496 ::wxTimePickerCtrl *sipCpp;
1497
1498 static const char *sipKwdList[] = {
1499 sipName_child,
1500 };
1501
1502 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowBase, &child))
1503 {
1504 PyErr_Clear();
1505
1506 Py_BEGIN_ALLOW_THREADS
1507 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::RemoveChild(child) : sipCpp->RemoveChild(child));
1508 Py_END_ALLOW_THREADS
1509
1510 if (PyErr_Occurred())
1511 return 0;
1512
1513 Py_INCREF(Py_None);
1514 return Py_None;
1515 }
1516 }
1517
1518 /* Raise an exception if the arguments couldn't be parsed. */
1519 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_RemoveChild, doc_wxTimePickerCtrl_RemoveChild);
1520
1521 return SIP_NULLPTR;
1522 }
1523
1524
1525 PyDoc_STRVAR(doc_wxTimePickerCtrl_InheritAttributes, "InheritAttributes(self)");
1526
1527 extern "C" {static PyObject *meth_wxTimePickerCtrl_InheritAttributes(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)1528 static PyObject *meth_wxTimePickerCtrl_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
1529 {
1530 PyObject *sipParseErr = SIP_NULLPTR;
1531 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1532
1533 {
1534 ::wxTimePickerCtrl *sipCpp;
1535
1536 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1537 {
1538 PyErr_Clear();
1539
1540 Py_BEGIN_ALLOW_THREADS
1541 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InheritAttributes() : sipCpp->InheritAttributes());
1542 Py_END_ALLOW_THREADS
1543
1544 if (PyErr_Occurred())
1545 return 0;
1546
1547 Py_INCREF(Py_None);
1548 return Py_None;
1549 }
1550 }
1551
1552 /* Raise an exception if the arguments couldn't be parsed. */
1553 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InheritAttributes, doc_wxTimePickerCtrl_InheritAttributes);
1554
1555 return SIP_NULLPTR;
1556 }
1557
1558
1559 PyDoc_STRVAR(doc_wxTimePickerCtrl_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
1560
1561 extern "C" {static PyObject *meth_wxTimePickerCtrl_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)1562 static PyObject *meth_wxTimePickerCtrl_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
1563 {
1564 PyObject *sipParseErr = SIP_NULLPTR;
1565 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1566
1567 {
1568 const ::wxTimePickerCtrl *sipCpp;
1569
1570 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1571 {
1572 bool sipRes;
1573
1574 PyErr_Clear();
1575
1576 Py_BEGIN_ALLOW_THREADS
1577 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::ShouldInheritColours() : sipCpp->ShouldInheritColours());
1578 Py_END_ALLOW_THREADS
1579
1580 if (PyErr_Occurred())
1581 return 0;
1582
1583 return PyBool_FromLong(sipRes);
1584 }
1585 }
1586
1587 /* Raise an exception if the arguments couldn't be parsed. */
1588 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_ShouldInheritColours, doc_wxTimePickerCtrl_ShouldInheritColours);
1589
1590 return SIP_NULLPTR;
1591 }
1592
1593
1594 PyDoc_STRVAR(doc_wxTimePickerCtrl_OnInternalIdle, "OnInternalIdle(self)");
1595
1596 extern "C" {static PyObject *meth_wxTimePickerCtrl_OnInternalIdle(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)1597 static PyObject *meth_wxTimePickerCtrl_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
1598 {
1599 PyObject *sipParseErr = SIP_NULLPTR;
1600 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1601
1602 {
1603 ::wxTimePickerCtrl *sipCpp;
1604
1605 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1606 {
1607 PyErr_Clear();
1608
1609 Py_BEGIN_ALLOW_THREADS
1610 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::OnInternalIdle() : sipCpp->OnInternalIdle());
1611 Py_END_ALLOW_THREADS
1612
1613 if (PyErr_Occurred())
1614 return 0;
1615
1616 Py_INCREF(Py_None);
1617 return Py_None;
1618 }
1619 }
1620
1621 /* Raise an exception if the arguments couldn't be parsed. */
1622 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_OnInternalIdle, doc_wxTimePickerCtrl_OnInternalIdle);
1623
1624 return SIP_NULLPTR;
1625 }
1626
1627
1628 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
1629
1630 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)1631 static PyObject *meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
1632 {
1633 PyObject *sipParseErr = SIP_NULLPTR;
1634 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1635
1636 {
1637 ::wxTimePickerCtrl *sipCpp;
1638
1639 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1640 {
1641 ::wxWindow*sipRes;
1642
1643 PyErr_Clear();
1644
1645 Py_BEGIN_ALLOW_THREADS
1646 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
1647 Py_END_ALLOW_THREADS
1648
1649 if (PyErr_Occurred())
1650 return 0;
1651
1652 return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1653 }
1654 }
1655
1656 /* Raise an exception if the arguments couldn't be parsed. */
1657 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetMainWindowOfCompositeControl, doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl);
1658
1659 return SIP_NULLPTR;
1660 }
1661
1662
1663 PyDoc_STRVAR(doc_wxTimePickerCtrl_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
1664
1665 extern "C" {static PyObject *meth_wxTimePickerCtrl_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1666 static PyObject *meth_wxTimePickerCtrl_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1667 {
1668 PyObject *sipParseErr = SIP_NULLPTR;
1669 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1670
1671 {
1672 int direction;
1673 int size;
1674 int availableOtherDir;
1675 ::wxTimePickerCtrl *sipCpp;
1676
1677 static const char *sipKwdList[] = {
1678 sipName_direction,
1679 sipName_size,
1680 sipName_availableOtherDir,
1681 };
1682
1683 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &direction, &size, &availableOtherDir))
1684 {
1685 bool sipRes;
1686
1687 PyErr_Clear();
1688
1689 Py_BEGIN_ALLOW_THREADS
1690 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
1691 Py_END_ALLOW_THREADS
1692
1693 if (PyErr_Occurred())
1694 return 0;
1695
1696 return PyBool_FromLong(sipRes);
1697 }
1698 }
1699
1700 /* Raise an exception if the arguments couldn't be parsed. */
1701 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InformFirstDirection, doc_wxTimePickerCtrl_InformFirstDirection);
1702
1703 return SIP_NULLPTR;
1704 }
1705
1706
1707 PyDoc_STRVAR(doc_wxTimePickerCtrl_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
1708
1709 extern "C" {static PyObject *meth_wxTimePickerCtrl_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1710 static PyObject *meth_wxTimePickerCtrl_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1711 {
1712 PyObject *sipParseErr = SIP_NULLPTR;
1713 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1714
1715 {
1716 bool canFocus;
1717 ::wxTimePickerCtrl *sipCpp;
1718
1719 static const char *sipKwdList[] = {
1720 sipName_canFocus,
1721 };
1722
1723 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &canFocus))
1724 {
1725 PyErr_Clear();
1726
1727 Py_BEGIN_ALLOW_THREADS
1728 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
1729 Py_END_ALLOW_THREADS
1730
1731 if (PyErr_Occurred())
1732 return 0;
1733
1734 Py_INCREF(Py_None);
1735 return Py_None;
1736 }
1737 }
1738
1739 /* Raise an exception if the arguments couldn't be parsed. */
1740 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetCanFocus, doc_wxTimePickerCtrl_SetCanFocus);
1741
1742 return SIP_NULLPTR;
1743 }
1744
1745
1746 PyDoc_STRVAR(doc_wxTimePickerCtrl_Destroy, "Destroy(self) -> bool");
1747
1748 extern "C" {static PyObject *meth_wxTimePickerCtrl_Destroy(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_Destroy(PyObject * sipSelf,PyObject * sipArgs)1749 static PyObject *meth_wxTimePickerCtrl_Destroy(PyObject *sipSelf, PyObject *sipArgs)
1750 {
1751 PyObject *sipParseErr = SIP_NULLPTR;
1752 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1753
1754 {
1755 ::wxTimePickerCtrl *sipCpp;
1756
1757 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1758 {
1759 bool sipRes;
1760
1761 PyErr_Clear();
1762
1763 Py_BEGIN_ALLOW_THREADS
1764 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::Destroy() : sipCpp->Destroy());
1765 Py_END_ALLOW_THREADS
1766
1767 if (PyErr_Occurred())
1768 return 0;
1769
1770 return PyBool_FromLong(sipRes);
1771 }
1772 }
1773
1774 /* Raise an exception if the arguments couldn't be parsed. */
1775 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Destroy, doc_wxTimePickerCtrl_Destroy);
1776
1777 return SIP_NULLPTR;
1778 }
1779
1780
1781 PyDoc_STRVAR(doc_wxTimePickerCtrl_SetValidator, "SetValidator(self, validator: Validator)");
1782
1783 extern "C" {static PyObject *meth_wxTimePickerCtrl_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1784 static PyObject *meth_wxTimePickerCtrl_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1785 {
1786 PyObject *sipParseErr = SIP_NULLPTR;
1787 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1788
1789 {
1790 const ::wxValidator* validator;
1791 ::wxTimePickerCtrl *sipCpp;
1792
1793 static const char *sipKwdList[] = {
1794 sipName_validator,
1795 };
1796
1797 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxValidator, &validator))
1798 {
1799 PyErr_Clear();
1800
1801 Py_BEGIN_ALLOW_THREADS
1802 (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::SetValidator(*validator) : sipCpp->SetValidator(*validator));
1803 Py_END_ALLOW_THREADS
1804
1805 if (PyErr_Occurred())
1806 return 0;
1807
1808 Py_INCREF(Py_None);
1809 return Py_None;
1810 }
1811 }
1812
1813 /* Raise an exception if the arguments couldn't be parsed. */
1814 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetValidator, doc_wxTimePickerCtrl_SetValidator);
1815
1816 return SIP_NULLPTR;
1817 }
1818
1819
1820 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetValidator, "GetValidator(self) -> Validator");
1821
1822 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetValidator(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetValidator(PyObject * sipSelf,PyObject * sipArgs)1823 static PyObject *meth_wxTimePickerCtrl_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
1824 {
1825 PyObject *sipParseErr = SIP_NULLPTR;
1826 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1827
1828 {
1829 ::wxTimePickerCtrl *sipCpp;
1830
1831 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1832 {
1833 ::wxValidator*sipRes;
1834
1835 PyErr_Clear();
1836
1837 Py_BEGIN_ALLOW_THREADS
1838 sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetValidator() : sipCpp->GetValidator());
1839 Py_END_ALLOW_THREADS
1840
1841 if (PyErr_Occurred())
1842 return 0;
1843
1844 return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
1845 }
1846 }
1847
1848 /* Raise an exception if the arguments couldn't be parsed. */
1849 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetValidator, doc_wxTimePickerCtrl_GetValidator);
1850
1851 return SIP_NULLPTR;
1852 }
1853
1854
1855 PyDoc_STRVAR(doc_wxTimePickerCtrl_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
1856
1857 extern "C" {static PyObject *meth_wxTimePickerCtrl_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1858 static PyObject *meth_wxTimePickerCtrl_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1859 {
1860 PyObject *sipParseErr = SIP_NULLPTR;
1861 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1862
1863 {
1864 ::wxEvent* event;
1865 sipwxTimePickerCtrl *sipCpp;
1866
1867 static const char *sipKwdList[] = {
1868 sipName_event,
1869 };
1870
1871 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event))
1872 {
1873 bool sipRes;
1874
1875 PyErr_Clear();
1876
1877 Py_BEGIN_ALLOW_THREADS
1878 sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
1879 Py_END_ALLOW_THREADS
1880
1881 if (PyErr_Occurred())
1882 return 0;
1883
1884 return PyBool_FromLong(sipRes);
1885 }
1886 }
1887
1888 /* Raise an exception if the arguments couldn't be parsed. */
1889 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_ProcessEvent, doc_wxTimePickerCtrl_ProcessEvent);
1890
1891 return SIP_NULLPTR;
1892 }
1893
1894
1895 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoEnable, "DoEnable(self, enable: bool)");
1896
1897 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1898 static PyObject *meth_wxTimePickerCtrl_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1899 {
1900 PyObject *sipParseErr = SIP_NULLPTR;
1901 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1902
1903 {
1904 bool enable;
1905 sipwxTimePickerCtrl *sipCpp;
1906
1907 static const char *sipKwdList[] = {
1908 sipName_enable,
1909 };
1910
1911 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &enable))
1912 {
1913 PyErr_Clear();
1914
1915 Py_BEGIN_ALLOW_THREADS
1916 sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
1917 Py_END_ALLOW_THREADS
1918
1919 if (PyErr_Occurred())
1920 return 0;
1921
1922 Py_INCREF(Py_None);
1923 return Py_None;
1924 }
1925 }
1926
1927 /* Raise an exception if the arguments couldn't be parsed. */
1928 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoEnable, doc_wxTimePickerCtrl_DoEnable);
1929
1930 return SIP_NULLPTR;
1931 }
1932
1933
1934 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
1935
1936 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1937 static PyObject *meth_wxTimePickerCtrl_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1938 {
1939 PyObject *sipParseErr = SIP_NULLPTR;
1940 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1941
1942 {
1943 int x;
1944 int y;
1945 const sipwxTimePickerCtrl *sipCpp;
1946
1947 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1948 {
1949 PyErr_Clear();
1950
1951 Py_BEGIN_ALLOW_THREADS
1952 sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
1953 Py_END_ALLOW_THREADS
1954
1955 if (PyErr_Occurred())
1956 return 0;
1957
1958 return sipBuildResult(0,"(ii)",x,y);
1959 }
1960 }
1961
1962 /* Raise an exception if the arguments couldn't be parsed. */
1963 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetPosition, doc_wxTimePickerCtrl_DoGetPosition);
1964
1965 return SIP_NULLPTR;
1966 }
1967
1968
1969 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
1970
1971 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1972 static PyObject *meth_wxTimePickerCtrl_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1973 {
1974 PyObject *sipParseErr = SIP_NULLPTR;
1975 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1976
1977 {
1978 int width;
1979 int height;
1980 const sipwxTimePickerCtrl *sipCpp;
1981
1982 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
1983 {
1984 PyErr_Clear();
1985
1986 Py_BEGIN_ALLOW_THREADS
1987 sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
1988 Py_END_ALLOW_THREADS
1989
1990 if (PyErr_Occurred())
1991 return 0;
1992
1993 return sipBuildResult(0,"(ii)",width,height);
1994 }
1995 }
1996
1997 /* Raise an exception if the arguments couldn't be parsed. */
1998 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetSize, doc_wxTimePickerCtrl_DoGetSize);
1999
2000 return SIP_NULLPTR;
2001 }
2002
2003
2004 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
2005
2006 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2007 static PyObject *meth_wxTimePickerCtrl_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2008 {
2009 PyObject *sipParseErr = SIP_NULLPTR;
2010 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2011
2012 {
2013 int width;
2014 int height;
2015 const sipwxTimePickerCtrl *sipCpp;
2016
2017 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2018 {
2019 PyErr_Clear();
2020
2021 Py_BEGIN_ALLOW_THREADS
2022 sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
2023 Py_END_ALLOW_THREADS
2024
2025 if (PyErr_Occurred())
2026 return 0;
2027
2028 return sipBuildResult(0,"(ii)",width,height);
2029 }
2030 }
2031
2032 /* Raise an exception if the arguments couldn't be parsed. */
2033 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetClientSize, doc_wxTimePickerCtrl_DoGetClientSize);
2034
2035 return SIP_NULLPTR;
2036 }
2037
2038
2039 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBestSize, "DoGetBestSize(self) -> Size");
2040
2041 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBestSize(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)2042 static PyObject *meth_wxTimePickerCtrl_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
2043 {
2044 PyObject *sipParseErr = SIP_NULLPTR;
2045 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2046
2047 {
2048 const sipwxTimePickerCtrl *sipCpp;
2049
2050 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2051 {
2052 ::wxSize*sipRes;
2053
2054 PyErr_Clear();
2055
2056 Py_BEGIN_ALLOW_THREADS
2057 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
2058 Py_END_ALLOW_THREADS
2059
2060 if (PyErr_Occurred())
2061 return 0;
2062
2063 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2064 }
2065 }
2066
2067 /* Raise an exception if the arguments couldn't be parsed. */
2068 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBestSize, doc_wxTimePickerCtrl_DoGetBestSize);
2069
2070 return SIP_NULLPTR;
2071 }
2072
2073
2074 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
2075
2076 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)2077 static PyObject *meth_wxTimePickerCtrl_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
2078 {
2079 PyObject *sipParseErr = SIP_NULLPTR;
2080 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2081
2082 {
2083 const sipwxTimePickerCtrl *sipCpp;
2084
2085 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2086 {
2087 ::wxSize*sipRes;
2088
2089 PyErr_Clear();
2090
2091 Py_BEGIN_ALLOW_THREADS
2092 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
2093 Py_END_ALLOW_THREADS
2094
2095 if (PyErr_Occurred())
2096 return 0;
2097
2098 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2099 }
2100 }
2101
2102 /* Raise an exception if the arguments couldn't be parsed. */
2103 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBestClientSize, doc_wxTimePickerCtrl_DoGetBestClientSize);
2104
2105 return SIP_NULLPTR;
2106 }
2107
2108
2109 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
2110
2111 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2112 static PyObject *meth_wxTimePickerCtrl_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2113 {
2114 PyObject *sipParseErr = SIP_NULLPTR;
2115 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2116
2117 {
2118 int x;
2119 int y;
2120 int width;
2121 int height;
2122 int sizeFlags;
2123 sipwxTimePickerCtrl *sipCpp;
2124
2125 static const char *sipKwdList[] = {
2126 sipName_x,
2127 sipName_y,
2128 sipName_width,
2129 sipName_height,
2130 sipName_sizeFlags,
2131 };
2132
2133 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &x, &y, &width, &height, &sizeFlags))
2134 {
2135 PyErr_Clear();
2136
2137 Py_BEGIN_ALLOW_THREADS
2138 sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
2139 Py_END_ALLOW_THREADS
2140
2141 if (PyErr_Occurred())
2142 return 0;
2143
2144 Py_INCREF(Py_None);
2145 return Py_None;
2146 }
2147 }
2148
2149 /* Raise an exception if the arguments couldn't be parsed. */
2150 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetSize, doc_wxTimePickerCtrl_DoSetSize);
2151
2152 return SIP_NULLPTR;
2153 }
2154
2155
2156 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
2157
2158 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2159 static PyObject *meth_wxTimePickerCtrl_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2160 {
2161 PyObject *sipParseErr = SIP_NULLPTR;
2162 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2163
2164 {
2165 int width;
2166 int height;
2167 sipwxTimePickerCtrl *sipCpp;
2168
2169 static const char *sipKwdList[] = {
2170 sipName_width,
2171 sipName_height,
2172 };
2173
2174 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &width, &height))
2175 {
2176 PyErr_Clear();
2177
2178 Py_BEGIN_ALLOW_THREADS
2179 sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
2180 Py_END_ALLOW_THREADS
2181
2182 if (PyErr_Occurred())
2183 return 0;
2184
2185 Py_INCREF(Py_None);
2186 return Py_None;
2187 }
2188 }
2189
2190 /* Raise an exception if the arguments couldn't be parsed. */
2191 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetClientSize, doc_wxTimePickerCtrl_DoSetClientSize);
2192
2193 return SIP_NULLPTR;
2194 }
2195
2196
2197 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
2198
2199 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2200 static PyObject *meth_wxTimePickerCtrl_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2201 {
2202 PyObject *sipParseErr = SIP_NULLPTR;
2203 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2204
2205 {
2206 int minW;
2207 int minH;
2208 int maxW;
2209 int maxH;
2210 int incW;
2211 int incH;
2212 sipwxTimePickerCtrl *sipCpp;
2213
2214 static const char *sipKwdList[] = {
2215 sipName_minW,
2216 sipName_minH,
2217 sipName_maxW,
2218 sipName_maxH,
2219 sipName_incW,
2220 sipName_incH,
2221 };
2222
2223 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
2224 {
2225 PyErr_Clear();
2226
2227 Py_BEGIN_ALLOW_THREADS
2228 sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
2229 Py_END_ALLOW_THREADS
2230
2231 if (PyErr_Occurred())
2232 return 0;
2233
2234 Py_INCREF(Py_None);
2235 return Py_None;
2236 }
2237 }
2238
2239 /* Raise an exception if the arguments couldn't be parsed. */
2240 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetSizeHints, doc_wxTimePickerCtrl_DoSetSizeHints);
2241
2242 return SIP_NULLPTR;
2243 }
2244
2245
2246 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
2247
2248 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)2249 static PyObject *meth_wxTimePickerCtrl_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
2250 {
2251 PyObject *sipParseErr = SIP_NULLPTR;
2252 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2253
2254 {
2255 const sipwxTimePickerCtrl *sipCpp;
2256
2257 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2258 {
2259 ::wxSize*sipRes;
2260
2261 PyErr_Clear();
2262
2263 Py_BEGIN_ALLOW_THREADS
2264 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
2265 Py_END_ALLOW_THREADS
2266
2267 if (PyErr_Occurred())
2268 return 0;
2269
2270 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2271 }
2272 }
2273
2274 /* Raise an exception if the arguments couldn't be parsed. */
2275 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBorderSize, doc_wxTimePickerCtrl_DoGetBorderSize);
2276
2277 return SIP_NULLPTR;
2278 }
2279
2280
2281 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
2282
2283 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2284 static PyObject *meth_wxTimePickerCtrl_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2285 {
2286 PyObject *sipParseErr = SIP_NULLPTR;
2287 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2288
2289 {
2290 int x;
2291 int y;
2292 int width;
2293 int height;
2294 sipwxTimePickerCtrl *sipCpp;
2295
2296 static const char *sipKwdList[] = {
2297 sipName_x,
2298 sipName_y,
2299 sipName_width,
2300 sipName_height,
2301 };
2302
2303 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &x, &y, &width, &height))
2304 {
2305 PyErr_Clear();
2306
2307 Py_BEGIN_ALLOW_THREADS
2308 sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
2309 Py_END_ALLOW_THREADS
2310
2311 if (PyErr_Occurred())
2312 return 0;
2313
2314 Py_INCREF(Py_None);
2315 return Py_None;
2316 }
2317 }
2318
2319 /* Raise an exception if the arguments couldn't be parsed. */
2320 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoMoveWindow, doc_wxTimePickerCtrl_DoMoveWindow);
2321
2322 return SIP_NULLPTR;
2323 }
2324
2325
2326 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
2327
2328 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2329 static PyObject *meth_wxTimePickerCtrl_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2330 {
2331 PyObject *sipParseErr = SIP_NULLPTR;
2332 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2333
2334 {
2335 ::wxWindowVariant variant;
2336 sipwxTimePickerCtrl *sipCpp;
2337
2338 static const char *sipKwdList[] = {
2339 sipName_variant,
2340 };
2341
2342 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowVariant, &variant))
2343 {
2344 PyErr_Clear();
2345
2346 Py_BEGIN_ALLOW_THREADS
2347 sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
2348 Py_END_ALLOW_THREADS
2349
2350 if (PyErr_Occurred())
2351 return 0;
2352
2353 Py_INCREF(Py_None);
2354 return Py_None;
2355 }
2356 }
2357
2358 /* Raise an exception if the arguments couldn't be parsed. */
2359 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetWindowVariant, doc_wxTimePickerCtrl_DoSetWindowVariant);
2360
2361 return SIP_NULLPTR;
2362 }
2363
2364
2365 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
2366
2367 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)2368 static PyObject *meth_wxTimePickerCtrl_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
2369 {
2370 PyObject *sipParseErr = SIP_NULLPTR;
2371 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2372
2373 {
2374 const sipwxTimePickerCtrl *sipCpp;
2375
2376 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2377 {
2378 ::wxBorder sipRes;
2379
2380 PyErr_Clear();
2381
2382 Py_BEGIN_ALLOW_THREADS
2383 sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
2384 Py_END_ALLOW_THREADS
2385
2386 if (PyErr_Occurred())
2387 return 0;
2388
2389 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2390 }
2391 }
2392
2393 /* Raise an exception if the arguments couldn't be parsed. */
2394 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetDefaultBorder, doc_wxTimePickerCtrl_GetDefaultBorder);
2395
2396 return SIP_NULLPTR;
2397 }
2398
2399
2400 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
2401
2402 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)2403 static PyObject *meth_wxTimePickerCtrl_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
2404 {
2405 PyObject *sipParseErr = SIP_NULLPTR;
2406 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2407
2408 {
2409 const sipwxTimePickerCtrl *sipCpp;
2410
2411 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2412 {
2413 ::wxBorder sipRes;
2414
2415 PyErr_Clear();
2416
2417 Py_BEGIN_ALLOW_THREADS
2418 sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
2419 Py_END_ALLOW_THREADS
2420
2421 if (PyErr_Occurred())
2422 return 0;
2423
2424 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2425 }
2426 }
2427
2428 /* Raise an exception if the arguments couldn't be parsed. */
2429 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetDefaultBorderForControl, doc_wxTimePickerCtrl_GetDefaultBorderForControl);
2430
2431 return SIP_NULLPTR;
2432 }
2433
2434
2435 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoFreeze, "DoFreeze(self)");
2436
2437 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoFreeze(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)2438 static PyObject *meth_wxTimePickerCtrl_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
2439 {
2440 PyObject *sipParseErr = SIP_NULLPTR;
2441 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2442
2443 {
2444 sipwxTimePickerCtrl *sipCpp;
2445
2446 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2447 {
2448 PyErr_Clear();
2449
2450 Py_BEGIN_ALLOW_THREADS
2451 sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
2452 Py_END_ALLOW_THREADS
2453
2454 if (PyErr_Occurred())
2455 return 0;
2456
2457 Py_INCREF(Py_None);
2458 return Py_None;
2459 }
2460 }
2461
2462 /* Raise an exception if the arguments couldn't be parsed. */
2463 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoFreeze, doc_wxTimePickerCtrl_DoFreeze);
2464
2465 return SIP_NULLPTR;
2466 }
2467
2468
2469 PyDoc_STRVAR(doc_wxTimePickerCtrl_DoThaw, "DoThaw(self)");
2470
2471 extern "C" {static PyObject *meth_wxTimePickerCtrl_DoThaw(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_DoThaw(PyObject * sipSelf,PyObject * sipArgs)2472 static PyObject *meth_wxTimePickerCtrl_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
2473 {
2474 PyObject *sipParseErr = SIP_NULLPTR;
2475 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2476
2477 {
2478 sipwxTimePickerCtrl *sipCpp;
2479
2480 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2481 {
2482 PyErr_Clear();
2483
2484 Py_BEGIN_ALLOW_THREADS
2485 sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
2486 Py_END_ALLOW_THREADS
2487
2488 if (PyErr_Occurred())
2489 return 0;
2490
2491 Py_INCREF(Py_None);
2492 return Py_None;
2493 }
2494 }
2495
2496 /* Raise an exception if the arguments couldn't be parsed. */
2497 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoThaw, doc_wxTimePickerCtrl_DoThaw);
2498
2499 return SIP_NULLPTR;
2500 }
2501
2502
2503 PyDoc_STRVAR(doc_wxTimePickerCtrl_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
2504
2505 extern "C" {static PyObject *meth_wxTimePickerCtrl_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxTimePickerCtrl_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)2506 static PyObject *meth_wxTimePickerCtrl_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
2507 {
2508 PyObject *sipParseErr = SIP_NULLPTR;
2509 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2510
2511 {
2512 sipwxTimePickerCtrl *sipCpp;
2513
2514 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp))
2515 {
2516 bool sipRes;
2517
2518 PyErr_Clear();
2519
2520 Py_BEGIN_ALLOW_THREADS
2521 sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
2522 Py_END_ALLOW_THREADS
2523
2524 if (PyErr_Occurred())
2525 return 0;
2526
2527 return PyBool_FromLong(sipRes);
2528 }
2529 }
2530
2531 /* Raise an exception if the arguments couldn't be parsed. */
2532 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_HasTransparentBackground, doc_wxTimePickerCtrl_HasTransparentBackground);
2533
2534 return SIP_NULLPTR;
2535 }
2536
2537
2538 PyDoc_STRVAR(doc_wxTimePickerCtrl_TryBefore, "TryBefore(self, event: Event) -> bool");
2539
2540 extern "C" {static PyObject *meth_wxTimePickerCtrl_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2541 static PyObject *meth_wxTimePickerCtrl_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2542 {
2543 PyObject *sipParseErr = SIP_NULLPTR;
2544 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2545
2546 {
2547 ::wxEvent* event;
2548 sipwxTimePickerCtrl *sipCpp;
2549
2550 static const char *sipKwdList[] = {
2551 sipName_event,
2552 };
2553
2554 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event))
2555 {
2556 bool sipRes;
2557
2558 PyErr_Clear();
2559
2560 Py_BEGIN_ALLOW_THREADS
2561 sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
2562 Py_END_ALLOW_THREADS
2563
2564 if (PyErr_Occurred())
2565 return 0;
2566
2567 return PyBool_FromLong(sipRes);
2568 }
2569 }
2570
2571 /* Raise an exception if the arguments couldn't be parsed. */
2572 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TryBefore, doc_wxTimePickerCtrl_TryBefore);
2573
2574 return SIP_NULLPTR;
2575 }
2576
2577
2578 PyDoc_STRVAR(doc_wxTimePickerCtrl_TryAfter, "TryAfter(self, event: Event) -> bool");
2579
2580 extern "C" {static PyObject *meth_wxTimePickerCtrl_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2581 static PyObject *meth_wxTimePickerCtrl_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2582 {
2583 PyObject *sipParseErr = SIP_NULLPTR;
2584 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2585
2586 {
2587 ::wxEvent* event;
2588 sipwxTimePickerCtrl *sipCpp;
2589
2590 static const char *sipKwdList[] = {
2591 sipName_event,
2592 };
2593
2594 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event))
2595 {
2596 bool sipRes;
2597
2598 PyErr_Clear();
2599
2600 Py_BEGIN_ALLOW_THREADS
2601 sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
2602 Py_END_ALLOW_THREADS
2603
2604 if (PyErr_Occurred())
2605 return 0;
2606
2607 return PyBool_FromLong(sipRes);
2608 }
2609 }
2610
2611 /* Raise an exception if the arguments couldn't be parsed. */
2612 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TryAfter, doc_wxTimePickerCtrl_TryAfter);
2613
2614 return SIP_NULLPTR;
2615 }
2616
2617
2618 PyDoc_STRVAR(doc_wxTimePickerCtrl_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes");
2619
2620 extern "C" {static PyObject *meth_wxTimePickerCtrl_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxTimePickerCtrl_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)2621 static PyObject *meth_wxTimePickerCtrl_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
2622 {
2623 PyObject *sipParseErr = SIP_NULLPTR;
2624
2625 {
2626 ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
2627
2628 static const char *sipKwdList[] = {
2629 sipName_variant,
2630 };
2631
2632 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
2633 {
2634 ::wxVisualAttributes*sipRes;
2635
2636 if (!wxPyCheckForApp()) return NULL;
2637
2638 PyErr_Clear();
2639
2640 Py_BEGIN_ALLOW_THREADS
2641 sipRes = new ::wxVisualAttributes( ::wxTimePickerCtrl::GetClassDefaultAttributes(variant));
2642 Py_END_ALLOW_THREADS
2643
2644 if (PyErr_Occurred())
2645 return 0;
2646
2647 return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
2648 }
2649 }
2650
2651 /* Raise an exception if the arguments couldn't be parsed. */
2652 sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
2653
2654 return SIP_NULLPTR;
2655 }
2656
2657
2658 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
2659 extern "C" {static void *cast_wxTimePickerCtrl(void *, const sipTypeDef *);}
cast_wxTimePickerCtrl(void * sipCppV,const sipTypeDef * targetType)2660 static void *cast_wxTimePickerCtrl(void *sipCppV, const sipTypeDef *targetType)
2661 {
2662 ::wxTimePickerCtrl *sipCpp = reinterpret_cast< ::wxTimePickerCtrl *>(sipCppV);
2663
2664 if (targetType == sipType_wxControl)
2665 return static_cast< ::wxControl *>(sipCpp);
2666
2667 if (targetType == sipType_wxWindow)
2668 return static_cast< ::wxWindow *>(sipCpp);
2669
2670 if (targetType == sipType_wxWindowBase)
2671 return static_cast< ::wxWindowBase *>(sipCpp);
2672
2673 if (targetType == sipType_wxEvtHandler)
2674 return static_cast< ::wxEvtHandler *>(sipCpp);
2675
2676 if (targetType == sipType_wxObject)
2677 return static_cast< ::wxObject *>(sipCpp);
2678
2679 if (targetType == sipType_wxTrackable)
2680 return static_cast< ::wxTrackable *>(sipCpp);
2681
2682 return sipCppV;
2683 }
2684
2685
2686 /* Call the instance's destructor. */
2687 extern "C" {static void release_wxTimePickerCtrl(void *, int);}
release_wxTimePickerCtrl(void * sipCppV,int sipState)2688 static void release_wxTimePickerCtrl(void *sipCppV, int sipState)
2689 {
2690 Py_BEGIN_ALLOW_THREADS
2691
2692 if (sipState & SIP_DERIVED_CLASS)
2693 delete reinterpret_cast<sipwxTimePickerCtrl *>(sipCppV);
2694 else
2695 delete reinterpret_cast< ::wxTimePickerCtrl *>(sipCppV);
2696
2697 Py_END_ALLOW_THREADS
2698 }
2699
2700
2701 extern "C" {static void dealloc_wxTimePickerCtrl(sipSimpleWrapper *);}
dealloc_wxTimePickerCtrl(sipSimpleWrapper * sipSelf)2702 static void dealloc_wxTimePickerCtrl(sipSimpleWrapper *sipSelf)
2703 {
2704 if (sipIsDerivedClass(sipSelf))
2705 reinterpret_cast<sipwxTimePickerCtrl *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
2706
2707 if (sipIsOwnedByPython(sipSelf))
2708 {
2709 release_wxTimePickerCtrl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
2710 }
2711 }
2712
2713
2714 extern "C" {static void *init_type_wxTimePickerCtrl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxTimePickerCtrl(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)2715 static void *init_type_wxTimePickerCtrl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
2716 {
2717 sipwxTimePickerCtrl *sipCpp = SIP_NULLPTR;
2718
2719 {
2720 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
2721 {
2722
2723 if (!wxPyCheckForApp()) return NULL;
2724
2725 PyErr_Clear();
2726
2727 Py_BEGIN_ALLOW_THREADS
2728 sipCpp = new sipwxTimePickerCtrl();
2729 Py_END_ALLOW_THREADS
2730
2731 if (PyErr_Occurred())
2732 {
2733 delete sipCpp;
2734 return SIP_NULLPTR;
2735 }
2736
2737 sipCpp->sipPySelf = sipSelf;
2738
2739 return sipCpp;
2740 }
2741 }
2742
2743 {
2744 ::wxWindow* parent;
2745 ::wxWindowID id = wxID_ANY;
2746 const ::wxDateTime& dtdef = wxDefaultDateTime;
2747 const ::wxDateTime* dt = &dtdef;
2748 int dtState = 0;
2749 const ::wxPoint& posdef = wxDefaultPosition;
2750 const ::wxPoint* pos = &posdef;
2751 int posState = 0;
2752 const ::wxSize& sizedef = wxDefaultSize;
2753 const ::wxSize* size = &sizedef;
2754 int sizeState = 0;
2755 long style = wxTP_DEFAULT;
2756 const ::wxValidator& validatordef = wxDefaultValidator;
2757 const ::wxValidator* validator = &validatordef;
2758 const ::wxString& namedef = "timectrl";
2759 const ::wxString* name = &namedef;
2760 int nameState = 0;
2761
2762 static const char *sipKwdList[] = {
2763 sipName_parent,
2764 sipName_id,
2765 sipName_dt,
2766 sipName_pos,
2767 sipName_size,
2768 sipName_style,
2769 sipName_validator,
2770 sipName_name,
2771 };
2772
2773 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1J1lJ9J1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxDateTime, &dt, &dtState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
2774 {
2775
2776 if (!wxPyCheckForApp()) return NULL;
2777
2778 PyErr_Clear();
2779
2780 Py_BEGIN_ALLOW_THREADS
2781 sipCpp = new sipwxTimePickerCtrl(parent,id,*dt,*pos,*size,style,*validator,*name);
2782 Py_END_ALLOW_THREADS
2783 sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState);
2784 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
2785 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
2786 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
2787
2788 if (PyErr_Occurred())
2789 {
2790 delete sipCpp;
2791 return SIP_NULLPTR;
2792 }
2793
2794 sipCpp->sipPySelf = sipSelf;
2795
2796 return sipCpp;
2797 }
2798 }
2799
2800 return SIP_NULLPTR;
2801 }
2802
2803
2804 /* Define this type's super-types. */
2805 static sipEncodedTypeDef supers_wxTimePickerCtrl[] = {{13, 0, 1}};
2806
2807
2808 static PyMethodDef methods_wxTimePickerCtrl[] = {
2809 {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxTimePickerCtrl_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocus)},
2810 {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard)},
2811 {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxTimePickerCtrl_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocusRecursively)},
2812 {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AddChild)},
2813 {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Create)},
2814 {SIP_MLNAME_CAST(sipName_Destroy), meth_wxTimePickerCtrl_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Destroy)},
2815 {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoEnable)},
2816 {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxTimePickerCtrl_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoFreeze)},
2817 {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxTimePickerCtrl_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBestClientSize)},
2818 {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxTimePickerCtrl_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBestSize)},
2819 {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxTimePickerCtrl_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBorderSize)},
2820 {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetClientSize)},
2821 {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetPosition)},
2822 {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetSize)},
2823 {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoMoveWindow)},
2824 {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetClientSize)},
2825 {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetSize)},
2826 {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetSizeHints)},
2827 {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetWindowVariant)},
2828 {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxTimePickerCtrl_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoThaw)},
2829 {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetClassDefaultAttributes)},
2830 {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxTimePickerCtrl_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetClientAreaOrigin)},
2831 {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxTimePickerCtrl_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetDefaultBorder)},
2832 {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxTimePickerCtrl_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetDefaultBorderForControl)},
2833 {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl)},
2834 {SIP_MLNAME_CAST(sipName_GetTime), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_GetTime), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetTime)},
2835 {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxTimePickerCtrl_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetValidator)},
2836 {SIP_MLNAME_CAST(sipName_GetValue), meth_wxTimePickerCtrl_GetValue, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetValue)},
2837 {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxTimePickerCtrl_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_HasTransparentBackground)},
2838 {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InformFirstDirection)},
2839 {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxTimePickerCtrl_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InheritAttributes)},
2840 {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxTimePickerCtrl_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InitDialog)},
2841 {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxTimePickerCtrl_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_OnInternalIdle)},
2842 {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_ProcessEvent)},
2843 {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_RemoveChild)},
2844 {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxTimePickerCtrl_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
2845 {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetCanFocus)},
2846 {SIP_MLNAME_CAST(sipName_SetTime), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetTime), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetTime)},
2847 {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetValidator)},
2848 {SIP_MLNAME_CAST(sipName_SetValue), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetValue), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetValue)},
2849 {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxTimePickerCtrl_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_ShouldInheritColours)},
2850 {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxTimePickerCtrl_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TransferDataFromWindow)},
2851 {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxTimePickerCtrl_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TransferDataToWindow)},
2852 {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TryAfter)},
2853 {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TryBefore)},
2854 {SIP_MLNAME_CAST(sipName_Validate), meth_wxTimePickerCtrl_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Validate)}
2855 };
2856
2857 sipVariableDef variables_wxTimePickerCtrl[] = {
2858 {PropertyVariable, sipName_Value, &methods_wxTimePickerCtrl[27], &methods_wxTimePickerCtrl[39], SIP_NULLPTR, SIP_NULLPTR},
2859 };
2860
2861 PyDoc_STRVAR(doc_wxTimePickerCtrl, "TimePickerCtrl()\n"
2862 "TimePickerCtrl(parent, id=wx.ID_ANY, dt=wx.DefaultDateTime, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TP_DEFAULT, validator=wx.DefaultValidator, name=\"timectrl\")\n"
2863 "\n"
2864 "This control allows the user to enter time.");
2865
2866
2867 sipClassTypeDef sipTypeDef__adv_wxTimePickerCtrl = {
2868 {
2869 -1,
2870 SIP_NULLPTR,
2871 SIP_NULLPTR,
2872 SIP_TYPE_SCC|SIP_TYPE_CLASS,
2873 sipNameNr_wxTimePickerCtrl,
2874 {SIP_NULLPTR},
2875 SIP_NULLPTR
2876 },
2877 {
2878 sipNameNr_TimePickerCtrl,
2879 {0, 0, 1},
2880 46, methods_wxTimePickerCtrl,
2881 0, SIP_NULLPTR,
2882 1, variables_wxTimePickerCtrl,
2883 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2884 },
2885 doc_wxTimePickerCtrl,
2886 -1,
2887 -1,
2888 supers_wxTimePickerCtrl,
2889 SIP_NULLPTR,
2890 init_type_wxTimePickerCtrl,
2891 SIP_NULLPTR,
2892 SIP_NULLPTR,
2893 #if PY_MAJOR_VERSION >= 3
2894 SIP_NULLPTR,
2895 SIP_NULLPTR,
2896 #else
2897 SIP_NULLPTR,
2898 SIP_NULLPTR,
2899 SIP_NULLPTR,
2900 SIP_NULLPTR,
2901 #endif
2902 dealloc_wxTimePickerCtrl,
2903 SIP_NULLPTR,
2904 SIP_NULLPTR,
2905 SIP_NULLPTR,
2906 release_wxTimePickerCtrl,
2907 cast_wxTimePickerCtrl,
2908 SIP_NULLPTR,
2909 SIP_NULLPTR,
2910 SIP_NULLPTR,
2911 SIP_NULLPTR,
2912 SIP_NULLPTR,
2913 SIP_NULLPTR
2914 };
2915