X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/322913cef36b156a4a9722ce6a68845e3219e615..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/src/_misc.i?ds=sidebyside diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index 54a6812e35..a1f6e305f1 100644 --- a/wxPython/src/_misc.i +++ b/wxPython/src/_misc.i @@ -18,6 +18,7 @@ %newgroup +#ifndef __WXX11__ class wxToolTip : public wxObject { public: wxToolTip(const wxString &tip); @@ -30,6 +31,7 @@ public: static void Enable(bool flag); static void SetDelay(long milliseconds); }; +#endif //--------------------------------------------------------------------------- @@ -152,7 +154,7 @@ public: wxString GetHistoryFile(int i) const; int GetCount() const; - %pragma(python) addtoclass = "GetNoHistoryFiles = GetCount" + %pythoncode { GetNoHistoryFiles = GetCount } };