]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_tglbtn.i
wxGTK has SetSelection now
[wxWidgets.git] / wxPython / src / _tglbtn.i
index 1b5dabacc1211a9bde9aa9721b8febc7191ba9e7..a0a755e0de6ea06286f4472de5043daefc669a88 100644 (file)
@@ -66,7 +66,7 @@ public:
                    const wxString& name = wxPyToggleButtonNameStr);
     %name(PreToggleButton)wxToggleButton();
 
-#if !defined(__WXMAC__) && !defined(__WXX11__)
+#if defined(__WXMSW__) || defined(__WXGTK__)
     bool Create(wxWindow *parent,
                    wxWindowID id,
                    const wxString& label,