suspend logging while in wx.DataFormat.GetId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,10 +114,14 @@ constants.", "");
|
|||||||
"Returns the platform-specific number identifying the format.", "");
|
"Returns the platform-specific number identifying the format.", "");
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
%Rename(_GetId, wxString , GetId() const);
|
||||||
wxString , GetId() const,
|
%pythoncode {
|
||||||
"Returns the name of a custom format (this function will fail for a
|
def GetId(self):
|
||||||
standard format).", "");
|
"""Returns the name of a custom format (this function will fail for a
|
||||||
|
standard format)."""
|
||||||
|
nolog = wx.LogNull()
|
||||||
|
return self._GetId()
|
||||||
|
}
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
void , SetId(const wxString& format),
|
void , SetId(const wxString& format),
|
||||||
|
Reference in New Issue
Block a user