From: Robin Dunn Date: Wed, 14 Jan 2004 01:53:19 +0000 (+0000) Subject: Fixed preprocessor warnings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8dfc6457b2cec960cd2bca7923cad1bdc4e8f576 Fixed preprocessor warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_listbox.i b/wxPython/src/_listbox.i index ebef42f095..234eaddc2a 100644 --- a/wxPython/src/_listbox.i +++ b/wxPython/src/_listbox.i @@ -137,7 +137,7 @@ public: bool IsChecked(int index); void Check(int index, int check = True); -#if !defined(__WXMAC__) && !defined(__WXX11__) +#if defined(__WXMSW__) || defined(__WXGTK__) int GetItemHeight(); #endif diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index 1b5dabacc1..a0a755e0de 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -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,