SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1605,7 +1605,10 @@ class _DeprecatedNonBool:
|
|||||||
return self.__val
|
return self.__val
|
||||||
def __nonzero__(self):
|
def __nonzero__(self):
|
||||||
return self.__int__()
|
return self.__int__()
|
||||||
|
def __repr__(self):
|
||||||
|
if self.__val: text = "True"
|
||||||
|
else: text = "False"
|
||||||
|
return "_DeprecatedNonBool: %s" % text
|
||||||
|
|
||||||
TRUE = true = _DeprecatedNonBool(True, 'True')
|
TRUE = true = _DeprecatedNonBool(True, 'True')
|
||||||
FALSE = false = _DeprecatedNonBool(False, 'False')
|
FALSE = false = _DeprecatedNonBool(False, 'False')
|
||||||
|
Reference in New Issue
Block a user