X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c25f90f60ceb17d33900f6a94f7f4ff2a009c584..88f67c2242209b8a752b515fdec30fd6ef858a18:/wxPython/src/_dataobj.i?ds=sidebyside diff --git a/wxPython/src/_dataobj.i b/wxPython/src/_dataobj.i index 996469245c..f787808682 100644 --- a/wxPython/src/_dataobj.i +++ b/wxPython/src/_dataobj.i @@ -114,10 +114,14 @@ constants.", ""); "Returns the platform-specific number identifying the format.", ""); - DocDeclStr( - wxString , GetId() const, - "Returns the name of a custom format (this function will fail for a -standard format).", ""); + %Rename(_GetId, wxString , GetId() const); + %pythoncode { + def GetId(self): + """Returns the name of a custom format (this function will fail for a +standard format).""" + nolog = wx.LogNull() + return self._GetId() + } DocDeclStr( void , SetId(const wxString& format),