Changes needed to solve wxPython's OOR problem for the wxOGL shapes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-27 02:56:59 +00:00
parent 220f2d5c4d
commit 2f4e928794
33 changed files with 504 additions and 97 deletions

View File

@@ -401,6 +401,9 @@ class wxFontListPtr(wxObjectPtr):
def RemoveFont(self, *_args, **_kwargs):
val = apply(gdic.wxFontList_RemoveFont,(self,) + _args, _kwargs)
return val
def GetCount(self, *_args, **_kwargs):
val = apply(gdic.wxFontList_GetCount,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxFontList instance at %s>" % (self.this,)
class wxFontList(wxFontListPtr):
@@ -566,6 +569,9 @@ class wxPenListPtr(wxObjectPtr):
def RemovePen(self, *_args, **_kwargs):
val = apply(gdic.wxPenList_RemovePen,(self,) + _args, _kwargs)
return val
def GetCount(self, *_args, **_kwargs):
val = apply(gdic.wxPenList_GetCount,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPenList instance at %s>" % (self.this,)
class wxPenList(wxPenListPtr):
@@ -629,6 +635,9 @@ class wxBrushListPtr(wxObjectPtr):
def RemoveBrush(self, *_args, **_kwargs):
val = apply(gdic.wxBrushList_RemoveBrush,(self,) + _args, _kwargs)
return val
def GetCount(self, *_args, **_kwargs):
val = apply(gdic.wxBrushList_GetCount,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxBrushList instance at %s>" % (self.this,)
class wxBrushList(wxBrushListPtr):