Various updates, changes for wxTopLevelWindow, fixes for

wxPen.SetDashes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-09-27 02:11:47 +00:00
parent 34a1d7328f
commit ecc08ead91
23 changed files with 1999 additions and 1584 deletions

View File

@@ -512,9 +512,6 @@ class wxPenPtr(wxGDIObjectPtr):
def SetWidth(self, *_args, **_kwargs):
val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs)
return val
def GetDashes(self, *_args, **_kwargs):
val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs)
return val
def SetDashes(self, *_args, **_kwargs):
val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
return val
@@ -535,6 +532,26 @@ class wxPen(wxPenPtr):
class wxPyPenPtr(wxPenPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,gdic=gdic):
if self.thisown == 1 :
gdic.delete_wxPyPen(self)
def SetDashes(self, *_args, **_kwargs):
val = apply(gdic.wxPyPen_SetDashes,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyPen instance at %s>" % (self.this,)
class wxPyPen(wxPyPenPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(gdic.new_wxPyPen,_args,_kwargs)
self.thisown = 1
class wxPenListPtr(wxObjectPtr):
def __init__(self,this):
self.this = this