]> git.saurik.com Git - wxWidgets.git/commitdiff
Can do wx.ToggleButton on wxMac now
authorRobin Dunn <robin@alldunn.com>
Mon, 23 Feb 2004 21:22:09 +0000 (21:22 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 23 Feb 2004 21:22:09 +0000 (21:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/docs/CHANGES.txt
wxPython/src/_tglbtn.i

index 18a281b4ade876bd09c0f841f8da029748edcd3a..5e55eadda6e9d641f990f5ca4322820073f295d2 100644 (file)
@@ -53,6 +53,7 @@ different API.
 
 Updated the AnalogClockWindow with many enhancements from E. A. Tacão.
 
+wxMac now has wx.ToggleButton!
 
 
 
index cc36561c4e023d89b1dd5c66f1570297548a10a1..16e72a5de49dfd08bf1f2ee6d1e2ae12ef975f53 100644 (file)
@@ -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