SWIGged updates for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-12-20 03:12:39 +00:00
parent cf57a49688
commit 940c78efaa

View File

@@ -4,6 +4,7 @@ import gdic
from misc import *
from fonts import *
import wx
class wxGDIObjectPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
@@ -317,9 +318,9 @@ class wxColourPtr(wxObjectPtr):
def __repr__(self):
return "<C wxColour instance at %s>" % (self.this,)
asTuple = Get
def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple())
def __nonzero__(self): return self.asTuple() != (0,0,0)
def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple())
def __nonzero__(self): return self.Ok()
class wxColour(wxColourPtr):
def __init__(self,*_args,**_kwargs):