/* * Interface wrapper code. * * Generated by SIP 4.19.16 * * Copyright: (c) 2018 by Total Control Software * License: wxWindows License */ #include "sipAPI_adv.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class sipwxTimePickerCtrl : public ::wxTimePickerCtrl { public: sipwxTimePickerCtrl(); sipwxTimePickerCtrl( ::wxWindow*, ::wxWindowID,const ::wxDateTime&,const ::wxPoint&,const ::wxSize&,long,const ::wxValidator&,const ::wxString&); virtual ~sipwxTimePickerCtrl(); /* * There is a public method for every protected method visible from * this class. */ void sipProtect_SendDestroyEvent(); bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&); void sipProtectVirt_DoEnable(bool,bool); void sipProtectVirt_DoGetPosition(bool,int*,int*) const; void sipProtectVirt_DoGetSize(bool,int*,int*) const; void sipProtectVirt_DoGetClientSize(bool,int*,int*) const; ::wxSize sipProtectVirt_DoGetBestSize(bool) const; ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const; void sipProtectVirt_DoSetSize(bool,int,int,int,int,int); void sipProtectVirt_DoSetClientSize(bool,int,int); void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int); ::wxSize sipProtectVirt_DoGetBorderSize(bool) const; void sipProtectVirt_DoMoveWindow(bool,int,int,int,int); void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant); ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const; ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const; void sipProtectVirt_DoFreeze(bool); void sipProtectVirt_DoThaw(bool); bool sipProtectVirt_HasTransparentBackground(bool); bool sipProtectVirt_TryBefore(bool, ::wxEvent&); bool sipProtectVirt_TryAfter(bool, ::wxEvent&); /* * There is a protected method for every virtual method visible from * this class. */ protected: ::wxSize DoGetBestClientSize() const SIP_OVERRIDE; ::wxSize DoGetBestSize() const SIP_OVERRIDE; void DoThaw() SIP_OVERRIDE; void DoFreeze() SIP_OVERRIDE; ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE; ::wxBorder GetDefaultBorder() const SIP_OVERRIDE; void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE; void DoMoveWindow(int,int,int,int) SIP_OVERRIDE; ::wxSize DoGetBorderSize() const SIP_OVERRIDE; void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE; void DoSetClientSize(int,int) SIP_OVERRIDE; void DoSetSize(int,int,int,int,int) SIP_OVERRIDE; void DoGetClientSize(int*,int*) const SIP_OVERRIDE; void DoGetSize(int*,int*) const SIP_OVERRIDE; void DoGetPosition(int*,int*) const SIP_OVERRIDE; void DoEnable(bool) SIP_OVERRIDE; ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE; void OnInternalIdle() SIP_OVERRIDE; void InitDialog() SIP_OVERRIDE; void InheritAttributes() SIP_OVERRIDE; bool Destroy() SIP_OVERRIDE; bool Validate() SIP_OVERRIDE; bool TransferDataToWindow() SIP_OVERRIDE; bool TransferDataFromWindow() SIP_OVERRIDE; void SetValidator(const ::wxValidator&) SIP_OVERRIDE; ::wxValidator* GetValidator() SIP_OVERRIDE; bool ShouldInheritColours() const SIP_OVERRIDE; bool HasTransparentBackground() SIP_OVERRIDE; ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE; bool InformFirstDirection(int,int,int) SIP_OVERRIDE; void SetCanFocus(bool) SIP_OVERRIDE; bool AcceptsFocusRecursively() const SIP_OVERRIDE; bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE; bool AcceptsFocus() const SIP_OVERRIDE; bool TryAfter( ::wxEvent&) SIP_OVERRIDE; bool TryBefore( ::wxEvent&) SIP_OVERRIDE; bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE; void AddChild( ::wxWindowBase*) SIP_OVERRIDE; void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE; public: sipSimpleWrapper *sipPySelf; private: sipwxTimePickerCtrl(const sipwxTimePickerCtrl &); sipwxTimePickerCtrl &operator = (const sipwxTimePickerCtrl &); char sipPyMethods[39]; }; sipwxTimePickerCtrl::sipwxTimePickerCtrl(): ::wxTimePickerCtrl(), sipPySelf(SIP_NULLPTR) { memset(sipPyMethods, 0, sizeof (sipPyMethods)); } 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) { memset(sipPyMethods, 0, sizeof (sipPyMethods)); } sipwxTimePickerCtrl::~sipwxTimePickerCtrl() { sipInstanceDestroyedEx(&sipPySelf); } ::wxSize sipwxTimePickerCtrl::DoGetBestClientSize() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize); if (!sipMeth) return ::wxTimePickerCtrl::DoGetBestClientSize(); extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth); } ::wxSize sipwxTimePickerCtrl::DoGetBestSize() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize); if (!sipMeth) return ::wxTimePickerCtrl::DoGetBestSize(); extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::DoThaw() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_DoThaw); if (!sipMeth) { ::wxTimePickerCtrl::DoThaw(); return; } extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::DoFreeze() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_DoFreeze); if (!sipMeth) { ::wxTimePickerCtrl::DoFreeze(); return; } extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth); } ::wxBorder sipwxTimePickerCtrl::GetDefaultBorderForControl() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[4]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl); if (!sipMeth) return ::wxTimePickerCtrl::GetDefaultBorderForControl(); extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth); } ::wxBorder sipwxTimePickerCtrl::GetDefaultBorder() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder); if (!sipMeth) return ::wxTimePickerCtrl::GetDefaultBorder(); extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::DoSetWindowVariant( ::wxWindowVariant variant) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant); if (!sipMeth) { ::wxTimePickerCtrl::DoSetWindowVariant(variant); return; } extern void sipVH__adv_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant); sipVH__adv_25(sipGILState, 0, sipPySelf, sipMeth, variant); } void sipwxTimePickerCtrl::DoMoveWindow(int x,int y,int width,int height) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow); if (!sipMeth) { ::wxTimePickerCtrl::DoMoveWindow(x,y,width,height); return; } extern void sipVH__adv_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int); sipVH__adv_24(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height); } ::wxSize sipwxTimePickerCtrl::DoGetBorderSize() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize); if (!sipMeth) return ::wxTimePickerCtrl::DoGetBorderSize(); extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints); if (!sipMeth) { ::wxTimePickerCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH); return; } extern void sipVH__adv_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int); sipVH__adv_22(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH); } void sipwxTimePickerCtrl::DoSetClientSize(int width,int height) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize); if (!sipMeth) { ::wxTimePickerCtrl::DoSetClientSize(width,height); return; } extern void sipVH__adv_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int); sipVH__adv_21(sipGILState, 0, sipPySelf, sipMeth, width, height); } void sipwxTimePickerCtrl::DoSetSize(int x,int y,int width,int height,int sizeFlags) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_DoSetSize); if (!sipMeth) { ::wxTimePickerCtrl::DoSetSize(x,y,width,height,sizeFlags); return; } extern void sipVH__adv_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int); sipVH__adv_20(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags); } void sipwxTimePickerCtrl::DoGetClientSize(int*width,int*height) const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize); if (!sipMeth) { ::wxTimePickerCtrl::DoGetClientSize(width,height); return; } extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*); sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height); } void sipwxTimePickerCtrl::DoGetSize(int*width,int*height) const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize); if (!sipMeth) { ::wxTimePickerCtrl::DoGetSize(width,height); return; } extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*); sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height); } void sipwxTimePickerCtrl::DoGetPosition(int*x,int*y) const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition); if (!sipMeth) { ::wxTimePickerCtrl::DoGetPosition(x,y); return; } extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*); sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, x, y); } void sipwxTimePickerCtrl::DoEnable(bool enable) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_DoEnable); if (!sipMeth) { ::wxTimePickerCtrl::DoEnable(enable); return; } extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool); sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, enable); } ::wxWindow* sipwxTimePickerCtrl::GetMainWindowOfCompositeControl() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl); if (!sipMeth) return ::wxTimePickerCtrl::GetMainWindowOfCompositeControl(); extern ::wxWindow* sipVH__adv_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_7(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::OnInternalIdle() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle); if (!sipMeth) { ::wxTimePickerCtrl::OnInternalIdle(); return; } extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::InitDialog() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_InitDialog); if (!sipMeth) { ::wxTimePickerCtrl::InitDialog(); return; } extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::InheritAttributes() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes); if (!sipMeth) { ::wxTimePickerCtrl::InheritAttributes(); return; } extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::Destroy() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_Destroy); if (!sipMeth) return ::wxTimePickerCtrl::Destroy(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::Validate() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_Validate); if (!sipMeth) return ::wxTimePickerCtrl::Validate(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::TransferDataToWindow() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow); if (!sipMeth) return ::wxTimePickerCtrl::TransferDataToWindow(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::TransferDataFromWindow() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow); if (!sipMeth) return ::wxTimePickerCtrl::TransferDataFromWindow(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } void sipwxTimePickerCtrl::SetValidator(const ::wxValidator& validator) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_SetValidator); if (!sipMeth) { ::wxTimePickerCtrl::SetValidator(validator); return; } extern void sipVH__adv_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&); sipVH__adv_18(sipGILState, 0, sipPySelf, sipMeth, validator); } ::wxValidator* sipwxTimePickerCtrl::GetValidator() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_GetValidator); if (!sipMeth) return ::wxTimePickerCtrl::GetValidator(); extern ::wxValidator* sipVH__adv_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_17(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::ShouldInheritColours() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours); if (!sipMeth) return ::wxTimePickerCtrl::ShouldInheritColours(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::HasTransparentBackground() { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground); if (!sipMeth) return ::wxTimePickerCtrl::HasTransparentBackground(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } ::wxPoint sipwxTimePickerCtrl::GetClientAreaOrigin() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin); if (!sipMeth) return ::wxTimePickerCtrl::GetClientAreaOrigin(); extern ::wxPoint sipVH__adv_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_16(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::InformFirstDirection(int direction,int size,int availableOtherDir) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection); if (!sipMeth) return ::wxTimePickerCtrl::InformFirstDirection(direction,size,availableOtherDir); extern bool sipVH__adv_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int); return sipVH__adv_15(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir); } void sipwxTimePickerCtrl::SetCanFocus(bool canFocus) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus); if (!sipMeth) { ::wxTimePickerCtrl::SetCanFocus(canFocus); return; } extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool); sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, canFocus); } bool sipwxTimePickerCtrl::AcceptsFocusRecursively() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively); if (!sipMeth) return ::wxTimePickerCtrl::AcceptsFocusRecursively(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::AcceptsFocusFromKeyboard() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[32]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard); if (!sipMeth) return ::wxTimePickerCtrl::AcceptsFocusFromKeyboard(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::AcceptsFocus() const { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,const_cast(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus); if (!sipMeth) return ::wxTimePickerCtrl::AcceptsFocus(); extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *); return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth); } bool sipwxTimePickerCtrl::TryAfter( ::wxEvent& event) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_TryAfter); if (!sipMeth) return ::wxTimePickerCtrl::TryAfter(event); extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&); return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event); } bool sipwxTimePickerCtrl::TryBefore( ::wxEvent& event) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_TryBefore); if (!sipMeth) return ::wxTimePickerCtrl::TryBefore(event); extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&); return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event); } bool sipwxTimePickerCtrl::ProcessEvent( ::wxEvent& event) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent); if (!sipMeth) return ::wxTimePickerCtrl::ProcessEvent(event); extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&); return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event); } void sipwxTimePickerCtrl::AddChild( ::wxWindowBase*child) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_AddChild); if (!sipMeth) { ::wxTimePickerCtrl::AddChild(child); return; } extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*); sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child); } void sipwxTimePickerCtrl::RemoveChild( ::wxWindowBase*child) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_RemoveChild); if (!sipMeth) { ::wxTimePickerCtrl::RemoveChild(child); return; } extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*); sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child); } void sipwxTimePickerCtrl::sipProtect_SendDestroyEvent() { ::wxWindow::SendDestroyEvent(); } bool sipwxTimePickerCtrl::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event) { return (sipSelfWasArg ? ::wxTimePickerCtrl::ProcessEvent(event) : ProcessEvent(event)); } void sipwxTimePickerCtrl::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoEnable(enable) : DoEnable(enable)); } void sipwxTimePickerCtrl::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const { (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetPosition(x,y) : DoGetPosition(x,y)); } void sipwxTimePickerCtrl::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const { (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetSize(width,height) : DoGetSize(width,height)); } void sipwxTimePickerCtrl::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const { (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetClientSize(width,height) : DoGetClientSize(width,height)); } ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const { return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBestSize() : DoGetBestSize()); } ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const { return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBestClientSize() : DoGetBestClientSize()); } void sipwxTimePickerCtrl::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags)); } void sipwxTimePickerCtrl::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetClientSize(width,height) : DoSetClientSize(width,height)); } void sipwxTimePickerCtrl::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH)); } ::wxSize sipwxTimePickerCtrl::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const { return (sipSelfWasArg ? ::wxTimePickerCtrl::DoGetBorderSize() : DoGetBorderSize()); } void sipwxTimePickerCtrl::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height)); } void sipwxTimePickerCtrl::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoSetWindowVariant(variant) : DoSetWindowVariant(variant)); } ::wxBorder sipwxTimePickerCtrl::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const { return (sipSelfWasArg ? ::wxTimePickerCtrl::GetDefaultBorder() : GetDefaultBorder()); } ::wxBorder sipwxTimePickerCtrl::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const { return (sipSelfWasArg ? ::wxTimePickerCtrl::GetDefaultBorderForControl() : GetDefaultBorderForControl()); } void sipwxTimePickerCtrl::sipProtectVirt_DoFreeze(bool sipSelfWasArg) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoFreeze() : DoFreeze()); } void sipwxTimePickerCtrl::sipProtectVirt_DoThaw(bool sipSelfWasArg) { (sipSelfWasArg ? ::wxTimePickerCtrl::DoThaw() : DoThaw()); } bool sipwxTimePickerCtrl::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg) { return (sipSelfWasArg ? ::wxTimePickerCtrl::HasTransparentBackground() : HasTransparentBackground()); } bool sipwxTimePickerCtrl::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event) { return (sipSelfWasArg ? ::wxTimePickerCtrl::TryBefore(event) : TryBefore(event)); } bool sipwxTimePickerCtrl::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event) { return (sipSelfWasArg ? ::wxTimePickerCtrl::TryAfter(event) : TryAfter(event)); } PyDoc_STRVAR(doc_wxTimePickerCtrl_SendDestroyEvent, "SendDestroyEvent()\n" "\n" "Generate wxWindowDestroyEvent for this window."); extern "C" {static PyObject *meth_wxTimePickerCtrl_SendDestroyEvent(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; { sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtect_SendDestroyEvent(); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SendDestroyEvent, SIP_NULLPTR); return SIP_NULLPTR; } 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" "\n" "Create the control window."); extern "C" {static PyObject *meth_wxTimePickerCtrl_Create(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; { ::wxWindow* parent; ::wxWindowID id = wxID_ANY; const ::wxDateTime& dtdef = wxDefaultDateTime; const ::wxDateTime* dt = &dtdef; int dtState = 0; const ::wxPoint& posdef = wxDefaultPosition; const ::wxPoint* pos = &posdef; int posState = 0; const ::wxSize& sizedef = wxDefaultSize; const ::wxSize* size = &sizedef; int sizeState = 0; long style = wxDP_DEFAULT|wxDP_SHOWCENTURY; const ::wxValidator& validatordef = wxDefaultValidator; const ::wxValidator* validator = &validatordef; const ::wxString& namedef = "timectrl"; const ::wxString* name = &namedef; int nameState = 0; sipWrapper *sipOwner = SIP_NULLPTR; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_parent, sipName_id, sipName_dt, sipName_pos, sipName_size, sipName_style, sipName_validator, sipName_name, }; 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)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->Create(parent,id,*dt,*pos,*size,style,*validator,*name); Py_END_ALLOW_THREADS if (sipOwner) sipTransferTo(sipSelf, (PyObject *)sipOwner); else sipTransferBack(sipSelf); sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState); sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState); sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState); sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState); if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Create, SIP_NULLPTR); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetTime, "GetTime() -> (hour, min, sec)\n" "\n" "Returns the currently entered time as hours, minutes and seconds."); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetTime(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; { int hour; int min; int sec; const ::wxTimePickerCtrl *sipCpp; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->GetTime(&hour,&min,&sec); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipBuildResult(0,"(iii)",hour,min,sec); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetTime, SIP_NULLPTR); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetValue, "GetValue() -> wx.DateTime\n" "\n" "Returns the currently entered time."); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetValue(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetValue(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxDateTime*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxDateTime(sipCpp->GetValue()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxDateTime,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetValue, SIP_NULLPTR); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_SetTime, "SetTime(hour, min, sec) -> bool\n" "\n" "Changes the current time of the control."); extern "C" {static PyObject *meth_wxTimePickerCtrl_SetTime(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_SetTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; { int hour; int min; int sec; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_hour, sipName_min, sipName_sec, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &hour, &min, &sec)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->SetTime(hour,min,sec); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetTime, SIP_NULLPTR); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_SetValue, "SetValue(dt)\n" "\n" "Changes the current value of the control."); extern "C" {static PyObject *meth_wxTimePickerCtrl_SetValue(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_SetValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; { const ::wxDateTime* dt; int dtState = 0; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_dt, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxDateTime, &dt, &dtState)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->SetValue(*dt); Py_END_ALLOW_THREADS sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState); if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetValue, SIP_NULLPTR); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetClientAreaOrigin(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxPoint*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin())); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetClientAreaOrigin, doc_wxTimePickerCtrl_GetClientAreaOrigin); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_Validate, "Validate(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_Validate(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_Validate(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::Validate() : sipCpp->Validate()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Validate, doc_wxTimePickerCtrl_Validate); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_TransferDataToWindow, "TransferDataToWindow(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_TransferDataToWindow(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::TransferDataToWindow() : sipCpp->TransferDataToWindow()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TransferDataToWindow, doc_wxTimePickerCtrl_TransferDataToWindow); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_TransferDataFromWindow(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::TransferDataFromWindow() : sipCpp->TransferDataFromWindow()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TransferDataFromWindow, doc_wxTimePickerCtrl_TransferDataFromWindow); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_InitDialog, "InitDialog(self)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_InitDialog(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_InitDialog(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InitDialog() : sipCpp->InitDialog()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InitDialog, doc_wxTimePickerCtrl_InitDialog); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocus, "AcceptsFocus(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocus(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocus() : sipCpp->AcceptsFocus()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocus, doc_wxTimePickerCtrl_AcceptsFocus); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocusRecursively(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocusRecursively, doc_wxTimePickerCtrl_AcceptsFocusRecursively); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AcceptsFocusFromKeyboard, doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_AddChild, "AddChild(self, child: WindowBase)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_AddChild(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxWindowBase* child; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_child, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowBase, &child)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::AddChild(child) : sipCpp->AddChild(child)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_AddChild, doc_wxTimePickerCtrl_AddChild); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_RemoveChild, "RemoveChild(self, child: WindowBase)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_RemoveChild(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxWindowBase* child; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_child, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowBase, &child)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::RemoveChild(child) : sipCpp->RemoveChild(child)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_RemoveChild, doc_wxTimePickerCtrl_RemoveChild); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_InheritAttributes, "InheritAttributes(self)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_InheritAttributes(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InheritAttributes() : sipCpp->InheritAttributes()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InheritAttributes, doc_wxTimePickerCtrl_InheritAttributes); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_ShouldInheritColours, "ShouldInheritColours(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_ShouldInheritColours(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::ShouldInheritColours() : sipCpp->ShouldInheritColours()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_ShouldInheritColours, doc_wxTimePickerCtrl_ShouldInheritColours); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_OnInternalIdle, "OnInternalIdle(self)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_OnInternalIdle(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::OnInternalIdle() : sipCpp->OnInternalIdle()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_OnInternalIdle, doc_wxTimePickerCtrl_OnInternalIdle); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxWindow*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetMainWindowOfCompositeControl, doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_InformFirstDirection(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int direction; int size; int availableOtherDir; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_direction, sipName_size, sipName_availableOtherDir, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &direction, &size, &availableOtherDir)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_InformFirstDirection, doc_wxTimePickerCtrl_InformFirstDirection); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_SetCanFocus, "SetCanFocus(self, canFocus: bool)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_SetCanFocus(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { bool canFocus; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_canFocus, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &canFocus)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetCanFocus, doc_wxTimePickerCtrl_SetCanFocus); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_Destroy, "Destroy(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_Destroy(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_Destroy(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::Destroy() : sipCpp->Destroy()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_Destroy, doc_wxTimePickerCtrl_Destroy); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_SetValidator, "SetValidator(self, validator: Validator)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_SetValidator(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const ::wxValidator* validator; ::wxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_validator, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxValidator, &validator)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::SetValidator(*validator) : sipCpp->SetValidator(*validator)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_SetValidator, doc_wxTimePickerCtrl_SetValidator); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetValidator, "GetValidator(self) -> Validator"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetValidator(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetValidator(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxValidator*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = (sipSelfWasArg ? sipCpp-> ::wxTimePickerCtrl::GetValidator() : sipCpp->GetValidator()); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetValidator, doc_wxTimePickerCtrl_GetValidator); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_ProcessEvent, "ProcessEvent(self, event: Event) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_ProcessEvent(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxEvent* event; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_event, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_ProcessEvent, doc_wxTimePickerCtrl_ProcessEvent); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoEnable, "DoEnable(self, enable: bool)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoEnable(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { bool enable; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_enable, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &enable)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoEnable, doc_wxTimePickerCtrl_DoEnable); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetPosition(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int x; int y; const sipwxTimePickerCtrl *sipCpp; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipBuildResult(0,"(ii)",x,y); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetPosition, doc_wxTimePickerCtrl_DoGetPosition); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetSize, "DoGetSize(self) -> Tuple[int, int]"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetSize(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int width; int height; const sipwxTimePickerCtrl *sipCpp; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipBuildResult(0,"(ii)",width,height); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetSize, doc_wxTimePickerCtrl_DoGetSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetClientSize(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int width; int height; const sipwxTimePickerCtrl *sipCpp; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipBuildResult(0,"(ii)",width,height); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetClientSize, doc_wxTimePickerCtrl_DoGetClientSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBestSize, "DoGetBestSize(self) -> Size"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBestSize(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxSize*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBestSize, doc_wxTimePickerCtrl_DoGetBestSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBestClientSize(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxSize*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBestClientSize, doc_wxTimePickerCtrl_DoGetBestClientSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetSize(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int x; int y; int width; int height; int sizeFlags; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_x, sipName_y, sipName_width, sipName_height, sipName_sizeFlags, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &x, &y, &width, &height, &sizeFlags)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetSize, doc_wxTimePickerCtrl_DoSetSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetClientSize(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int width; int height; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_width, sipName_height, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &width, &height)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetClientSize, doc_wxTimePickerCtrl_DoSetClientSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetSizeHints(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int minW; int minH; int maxW; int maxH; int incW; int incH; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_minW, sipName_minH, sipName_maxW, sipName_maxH, sipName_incW, sipName_incH, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetSizeHints, doc_wxTimePickerCtrl_DoSetSizeHints); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoGetBorderSize, "DoGetBorderSize(self) -> Size"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoGetBorderSize(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxSize*sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoGetBorderSize, doc_wxTimePickerCtrl_DoGetBorderSize); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoMoveWindow(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { int x; int y; int width; int height; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_x, sipName_y, sipName_width, sipName_height, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, &x, &y, &width, &height)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoMoveWindow, doc_wxTimePickerCtrl_DoMoveWindow); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxWindowVariant variant; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_variant, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxWindowVariant, &variant)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoSetWindowVariant, doc_wxTimePickerCtrl_DoSetWindowVariant); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetDefaultBorder, "GetDefaultBorder(self) -> Border"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetDefaultBorder(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxBorder sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromEnum(static_cast(sipRes), sipType_wxBorder); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetDefaultBorder, doc_wxTimePickerCtrl_GetDefaultBorder); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetDefaultBorderForControl(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { const sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { ::wxBorder sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromEnum(static_cast(sipRes), sipType_wxBorder); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetDefaultBorderForControl, doc_wxTimePickerCtrl_GetDefaultBorderForControl); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoFreeze, "DoFreeze(self)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoFreeze(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoFreeze(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoFreeze, doc_wxTimePickerCtrl_DoFreeze); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_DoThaw, "DoThaw(self)"); extern "C" {static PyObject *meth_wxTimePickerCtrl_DoThaw(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_DoThaw(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_DoThaw, doc_wxTimePickerCtrl_DoThaw); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_HasTransparentBackground, "HasTransparentBackground(self) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_HasTransparentBackground(PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { sipwxTimePickerCtrl *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_HasTransparentBackground, doc_wxTimePickerCtrl_HasTransparentBackground); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_TryBefore, "TryBefore(self, event: Event) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_TryBefore(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxEvent* event; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_event, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TryBefore, doc_wxTimePickerCtrl_TryBefore); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_TryAfter, "TryAfter(self, event: Event) -> bool"); extern "C" {static PyObject *meth_wxTimePickerCtrl_TryAfter(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf)); { ::wxEvent* event; sipwxTimePickerCtrl *sipCpp; static const char *sipKwdList[] = { sipName_event, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxTimePickerCtrl, &sipCpp, sipType_wxEvent, &event)) { bool sipRes; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return PyBool_FromLong(sipRes); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_TryAfter, doc_wxTimePickerCtrl_TryAfter); return SIP_NULLPTR; } PyDoc_STRVAR(doc_wxTimePickerCtrl_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes"); extern "C" {static PyObject *meth_wxTimePickerCtrl_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);} static PyObject *meth_wxTimePickerCtrl_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds) { PyObject *sipParseErr = SIP_NULLPTR; { ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL; static const char *sipKwdList[] = { sipName_variant, }; if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant)) { ::wxVisualAttributes*sipRes; if (!wxPyCheckForApp()) return NULL; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipRes = new ::wxVisualAttributes( ::wxTimePickerCtrl::GetClassDefaultAttributes(variant)); Py_END_ALLOW_THREADS if (PyErr_Occurred()) return 0; return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_TimePickerCtrl, sipName_GetClassDefaultAttributes, SIP_NULLPTR); return SIP_NULLPTR; } /* Cast a pointer to a type somewhere in its inheritance hierarchy. */ extern "C" {static void *cast_wxTimePickerCtrl(void *, const sipTypeDef *);} static void *cast_wxTimePickerCtrl(void *sipCppV, const sipTypeDef *targetType) { ::wxTimePickerCtrl *sipCpp = reinterpret_cast< ::wxTimePickerCtrl *>(sipCppV); if (targetType == sipType_wxControl) return static_cast< ::wxControl *>(sipCpp); if (targetType == sipType_wxWindow) return static_cast< ::wxWindow *>(sipCpp); if (targetType == sipType_wxWindowBase) return static_cast< ::wxWindowBase *>(sipCpp); if (targetType == sipType_wxEvtHandler) return static_cast< ::wxEvtHandler *>(sipCpp); if (targetType == sipType_wxObject) return static_cast< ::wxObject *>(sipCpp); if (targetType == sipType_wxTrackable) return static_cast< ::wxTrackable *>(sipCpp); return sipCppV; } /* Call the instance's destructor. */ extern "C" {static void release_wxTimePickerCtrl(void *, int);} static void release_wxTimePickerCtrl(void *sipCppV, int sipState) { Py_BEGIN_ALLOW_THREADS if (sipState & SIP_DERIVED_CLASS) delete reinterpret_cast(sipCppV); else delete reinterpret_cast< ::wxTimePickerCtrl *>(sipCppV); Py_END_ALLOW_THREADS } extern "C" {static void dealloc_wxTimePickerCtrl(sipSimpleWrapper *);} static void dealloc_wxTimePickerCtrl(sipSimpleWrapper *sipSelf) { if (sipIsDerivedClass(sipSelf)) reinterpret_cast(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR; if (sipIsOwnedByPython(sipSelf)) { release_wxTimePickerCtrl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf)); } } extern "C" {static void *init_type_wxTimePickerCtrl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} static void *init_type_wxTimePickerCtrl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr) { sipwxTimePickerCtrl *sipCpp = SIP_NULLPTR; { if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "")) { if (!wxPyCheckForApp()) return NULL; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp = new sipwxTimePickerCtrl(); Py_END_ALLOW_THREADS if (PyErr_Occurred()) { delete sipCpp; return SIP_NULLPTR; } sipCpp->sipPySelf = sipSelf; return sipCpp; } } { ::wxWindow* parent; ::wxWindowID id = wxID_ANY; const ::wxDateTime& dtdef = wxDefaultDateTime; const ::wxDateTime* dt = &dtdef; int dtState = 0; const ::wxPoint& posdef = wxDefaultPosition; const ::wxPoint* pos = &posdef; int posState = 0; const ::wxSize& sizedef = wxDefaultSize; const ::wxSize* size = &sizedef; int sizeState = 0; long style = wxTP_DEFAULT; const ::wxValidator& validatordef = wxDefaultValidator; const ::wxValidator* validator = &validatordef; const ::wxString& namedef = "timectrl"; const ::wxString* name = &namedef; int nameState = 0; static const char *sipKwdList[] = { sipName_parent, sipName_id, sipName_dt, sipName_pos, sipName_size, sipName_style, sipName_validator, sipName_name, }; 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)) { if (!wxPyCheckForApp()) return NULL; PyErr_Clear(); Py_BEGIN_ALLOW_THREADS sipCpp = new sipwxTimePickerCtrl(parent,id,*dt,*pos,*size,style,*validator,*name); Py_END_ALLOW_THREADS sipReleaseType(const_cast< ::wxDateTime *>(dt),sipType_wxDateTime,dtState); sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState); sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState); sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState); if (PyErr_Occurred()) { delete sipCpp; return SIP_NULLPTR; } sipCpp->sipPySelf = sipSelf; return sipCpp; } } return SIP_NULLPTR; } /* Define this type's super-types. */ static sipEncodedTypeDef supers_wxTimePickerCtrl[] = {{13, 0, 1}}; static PyMethodDef methods_wxTimePickerCtrl[] = { {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxTimePickerCtrl_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocus)}, {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxTimePickerCtrl_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocusFromKeyboard)}, {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxTimePickerCtrl_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AcceptsFocusRecursively)}, {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_AddChild)}, {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Create)}, {SIP_MLNAME_CAST(sipName_Destroy), meth_wxTimePickerCtrl_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Destroy)}, {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoEnable)}, {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxTimePickerCtrl_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoFreeze)}, {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxTimePickerCtrl_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBestClientSize)}, {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxTimePickerCtrl_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBestSize)}, {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxTimePickerCtrl_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetBorderSize)}, {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetClientSize)}, {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetPosition)}, {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoGetSize)}, {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoMoveWindow)}, {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetClientSize)}, {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetSize)}, {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetSizeHints)}, {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoSetWindowVariant)}, {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxTimePickerCtrl_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_DoThaw)}, {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetClassDefaultAttributes)}, {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxTimePickerCtrl_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetClientAreaOrigin)}, {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxTimePickerCtrl_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetDefaultBorder)}, {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxTimePickerCtrl_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetDefaultBorderForControl)}, {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxTimePickerCtrl_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetMainWindowOfCompositeControl)}, {SIP_MLNAME_CAST(sipName_GetTime), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_GetTime), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetTime)}, {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxTimePickerCtrl_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetValidator)}, {SIP_MLNAME_CAST(sipName_GetValue), meth_wxTimePickerCtrl_GetValue, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_GetValue)}, {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxTimePickerCtrl_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_HasTransparentBackground)}, {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InformFirstDirection)}, {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxTimePickerCtrl_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InheritAttributes)}, {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxTimePickerCtrl_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_InitDialog)}, {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxTimePickerCtrl_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_OnInternalIdle)}, {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_ProcessEvent)}, {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_RemoveChild)}, {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxTimePickerCtrl_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR}, {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetCanFocus)}, {SIP_MLNAME_CAST(sipName_SetTime), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetTime), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetTime)}, {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetValidator)}, {SIP_MLNAME_CAST(sipName_SetValue), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_SetValue), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_SetValue)}, {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxTimePickerCtrl_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_ShouldInheritColours)}, {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxTimePickerCtrl_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TransferDataFromWindow)}, {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxTimePickerCtrl_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TransferDataToWindow)}, {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TryAfter)}, {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxTimePickerCtrl_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_TryBefore)}, {SIP_MLNAME_CAST(sipName_Validate), meth_wxTimePickerCtrl_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxTimePickerCtrl_Validate)} }; sipVariableDef variables_wxTimePickerCtrl[] = { {PropertyVariable, sipName_Value, &methods_wxTimePickerCtrl[27], &methods_wxTimePickerCtrl[39], SIP_NULLPTR, SIP_NULLPTR}, }; PyDoc_STRVAR(doc_wxTimePickerCtrl, "TimePickerCtrl()\n" "TimePickerCtrl(parent, id=wx.ID_ANY, dt=wx.DefaultDateTime, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TP_DEFAULT, validator=wx.DefaultValidator, name=\"timectrl\")\n" "\n" "This control allows the user to enter time."); sipClassTypeDef sipTypeDef__adv_wxTimePickerCtrl = { { -1, SIP_NULLPTR, SIP_NULLPTR, SIP_TYPE_SCC|SIP_TYPE_CLASS, sipNameNr_wxTimePickerCtrl, {SIP_NULLPTR}, SIP_NULLPTR }, { sipNameNr_TimePickerCtrl, {0, 0, 1}, 46, methods_wxTimePickerCtrl, 0, SIP_NULLPTR, 1, variables_wxTimePickerCtrl, {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}, }, doc_wxTimePickerCtrl, -1, -1, supers_wxTimePickerCtrl, SIP_NULLPTR, init_type_wxTimePickerCtrl, SIP_NULLPTR, SIP_NULLPTR, #if PY_MAJOR_VERSION >= 3 SIP_NULLPTR, SIP_NULLPTR, #else SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, #endif dealloc_wxTimePickerCtrl, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, release_wxTimePickerCtrl, cast_wxTimePickerCtrl, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR };