Add IsOk's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -656,9 +656,10 @@ the closest size is found using a binary search.
|
||||
|
||||
// was the font successfully created?
|
||||
DocDeclStr(
|
||||
bool , Ok() const,
|
||||
bool , IsOk() const,
|
||||
"Returns ``True`` if this font was successfully created.", "");
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
%pythoncode { Ok = IsOk }
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() }
|
||||
|
||||
|
||||
// comparison
|
||||
|
Reference in New Issue
Block a user