X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f87da7220560e2f1a57e4e291cc75341f0ff1abe..df16c649d21716a3e54eb2598477fa9ed970f278:/wxPython/src/_misc.i diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index e7f675a5db..a1f6e305f1 100644 --- a/wxPython/src/_misc.i +++ b/wxPython/src/_misc.i @@ -154,7 +154,7 @@ public: wxString GetHistoryFile(int i) const; int GetCount() const; - %pragma(python) addtoclass = "GetNoHistoryFiles = GetCount" + %pythoncode { GetNoHistoryFiles = GetCount } };