]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/media.i
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / media.i
index 642663b2ae0bcee12c673be6fad378d847ac8465..d5a210f47adb0bc89894190726657fad60d30e0f 100644 (file)
@@ -183,10 +183,10 @@ public:
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxPyMediaCtrlNameStr);
     
-    %name(PreMediaCtrl) wxMediaCtrl();
+    %RenameCtor(PreMediaCtrl,  wxMediaCtrl());
 
 //     %extend {
-//         %name(MediaCtrlFromURI)
+//         %RenameCtor(MediaCtrlFromURI, 
 //              wxMediaCtrl(wxWindow* parent,
 //                          wxWindowID id=-1,
 //                          const wxString& location=wxPyEmptyString,
@@ -195,7 +195,7 @@ public:
 //                          long style = 0,
 //                          const wxString& szBackend = wxPyEmptyString,
 //                          const wxValidator& validator = wxDefaultValidator,
-//                          const wxString& name = wxPyMediaCtrlNameStr)
+//                          const wxString& name = wxPyMediaCtrlNameStr))
 //         {
 //             return new wxMediaCtrl(parent, id, wxURI(location),
 //                                    pos, size, style, szBackend, validator, name);