]> git.saurik.com Git - wxWidgets.git/commitdiff
use new syntax for emitting python code
authorRobin Dunn <robin@alldunn.com>
Tue, 20 Jan 2004 23:30:54 +0000 (23:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 20 Jan 2004 23:30:54 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_misc.i

index e7f675a5dbc85cfafb5171e88f6ea7c066e9e83f..a1f6e305f1ca12599e302298407241c876d3e0e9 100644 (file)
@@ -154,7 +154,7 @@ public:
     wxString GetHistoryFile(int i) const;
 
     int GetCount() const;
-    %pragma(python) addtoclass = "GetNoHistoryFiles = GetCount"
+    %pythoncode { GetNoHistoryFiles = GetCount }
 
 };