X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81cfe5e13e9b8a2ec8374af1f7806b05a86d4d4b..4a7ea057cd6bf54d645134615f4c9d247767cef0:/wxPython/src/_tglbtn.i diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index 2cf934ce84..1b5dabacc1 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -22,7 +22,7 @@ MAKE_CONST_WXSTRING2(ToggleButtonNameStr, _T("wxToggleButton")); %{ -#ifdef __WXMAC__ +#if defined(__WXMAC__) || defined(__WXX11__) // implement dummy classes and such for wxMac #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0 @@ -66,7 +66,7 @@ public: const wxString& name = wxPyToggleButtonNameStr); %name(PreToggleButton)wxToggleButton(); -#ifndef __WXMAC__ +#if !defined(__WXMAC__) && !defined(__WXX11__) bool Create(wxWindow *parent, wxWindowID id, const wxString& label,