From: Robin Dunn Date: Mon, 23 Feb 2004 21:22:09 +0000 (+0000) Subject: Can do wx.ToggleButton on wxMac now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3badadcfc2500416615de2ae7fb91d66a578483?ds=inline Can do wx.ToggleButton on wxMac now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 18a281b4ad..5e55eadda6 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -53,6 +53,7 @@ different API. Updated the AnalogClockWindow with many enhancements from E. A. Tacão. +wxMac now has wx.ToggleButton! diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index cc36561c4e..16e72a5de4 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -22,8 +22,8 @@ MAKE_CONST_WXSTRING2(ToggleButtonNameStr, _T("wxToggleButton")); %{ -#if defined(__WXMAC__) || defined(__WXX11__) -// implement dummy classes and such for wxMac +#if !wxUSE_TOGGLEBTN +// implement dummy items for platforms that don't have this class #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0