minor additions and bugfixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-10-09 23:13:43 +00:00
parent 06c0fba410
commit bc29c5e0e1
11 changed files with 1371 additions and 1024 deletions

View File

@@ -98,6 +98,34 @@ class wxGIFHandler(wxGIFHandlerPtr):
class wxPNMHandlerPtr(wxImageHandlerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __repr__(self):
return "<C wxPNMHandler instance at %s>" % (self.this,)
class wxPNMHandler(wxPNMHandlerPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(imagec.new_wxPNMHandler,_args,_kwargs)
self.thisown = 1
class wxPCXHandlerPtr(wxImageHandlerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __repr__(self):
return "<C wxPCXHandler instance at %s>" % (self.this,)
class wxPCXHandler(wxPCXHandlerPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(imagec.new_wxPCXHandler,_args,_kwargs)
self.thisown = 1
class wxImagePtr :
def __init__(self,this):
self.this = this
@@ -215,6 +243,8 @@ def wxImageFromBitmap(*_args, **_kwargs):
wxImage_AddHandler = imagec.wxImage_AddHandler
wxInitAllImageHandlers = imagec.wxInitAllImageHandlers
#-------------- VARIABLE WRAPPERS ------------------