Lots of changes for wxPython to start using many of the new featues in

wxWindows 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-24 00:28:34 +00:00
parent e4a7bbfc1e
commit 3ef86e32dd
61 changed files with 5696 additions and 1666 deletions

View File

@@ -170,6 +170,41 @@ class wxIcon(wxIconPtr):
class wxIconLocationPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self, delfunc=gdic.delete_wxIconLocation):
if self.thisown == 1:
try:
delfunc(self)
except:
pass
def IsOk(self, *_args, **_kwargs):
val = gdic.wxIconLocation_IsOk(self, *_args, **_kwargs)
return val
def SetFileName(self, *_args, **_kwargs):
val = gdic.wxIconLocation_SetFileName(self, *_args, **_kwargs)
return val
def GetFileName(self, *_args, **_kwargs):
val = gdic.wxIconLocation_GetFileName(self, *_args, **_kwargs)
return val
def SetIndex(self, *_args, **_kwargs):
val = gdic.wxIconLocation_SetIndex(self, *_args, **_kwargs)
return val
def GetIndex(self, *_args, **_kwargs):
val = gdic.wxIconLocation_GetIndex(self, *_args, **_kwargs)
return val
def __repr__(self):
return "<%s.%s instance; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxIconLocation(wxIconLocationPtr):
def __init__(self,*_args,**_kwargs):
self.this = gdic.new_wxIconLocation(*_args,**_kwargs)
self.thisown = 1
class wxIconBundlePtr :
def __init__(self,this):
self.this = this
@@ -1034,6 +1069,20 @@ class wxWindowDC(wxWindowDCPtr):
class wxMirrorDCPtr(wxDCPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __repr__(self):
return "<%s.%s instance; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxMirrorDC(wxMirrorDCPtr):
def __init__(self,*_args,**_kwargs):
self.this = gdic.new_wxMirrorDC(*_args,**_kwargs)
self.thisown = 1
class wxPalettePtr(wxGDIObjectPtr):
def __init__(self,this):
self.this = this
@@ -1304,6 +1353,11 @@ def wxIconFromBitmap(*_args, **_kwargs):
if val: val = wxIconPtr(val); val.thisown = 1
return val
def wxIconFromLocation(*_args, **_kwargs):
val = gdic.wxIconFromLocation(*_args,**_kwargs)
if val: val = wxIconPtr(val); val.thisown = 1
return val
def wxStockCursor(*_args, **_kwargs):
val = gdic.wxStockCursor(*_args,**_kwargs)
if val: val = wxCursorPtr(val); val.thisown = 1