X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/794c5cb151d633aa13a4f74292713544c6ccf381..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/wxPython/src/msw/htmlhelp.py diff --git a/wxPython/src/msw/htmlhelp.py b/wxPython/src/msw/htmlhelp.py index ebf6df5f8c..7df23d9cd0 100644 --- a/wxPython/src/msw/htmlhelp.py +++ b/wxPython/src/msw/htmlhelp.py @@ -15,6 +15,8 @@ from events import * from streams import * +from utils import * + from mdi import * from frames import * @@ -38,56 +40,6 @@ from printfw import * from sizers import * from filesys import * - -from utils import * -class wxHtmlHelpFrameCfgPtr : - def __init__(self,this): - self.this = this - self.thisown = 0 - def __setattr__(self,name,value): - if name == "x" : - htmlhelpc.wxHtmlHelpFrameCfg_x_set(self,value) - return - if name == "y" : - htmlhelpc.wxHtmlHelpFrameCfg_y_set(self,value) - return - if name == "w" : - htmlhelpc.wxHtmlHelpFrameCfg_w_set(self,value) - return - if name == "h" : - htmlhelpc.wxHtmlHelpFrameCfg_h_set(self,value) - return - if name == "sashpos" : - htmlhelpc.wxHtmlHelpFrameCfg_sashpos_set(self,value) - return - if name == "navig_on" : - htmlhelpc.wxHtmlHelpFrameCfg_navig_on_set(self,value) - return - self.__dict__[name] = value - def __getattr__(self,name): - if name == "x" : - return htmlhelpc.wxHtmlHelpFrameCfg_x_get(self) - if name == "y" : - return htmlhelpc.wxHtmlHelpFrameCfg_y_get(self) - if name == "w" : - return htmlhelpc.wxHtmlHelpFrameCfg_w_get(self) - if name == "h" : - return htmlhelpc.wxHtmlHelpFrameCfg_h_get(self) - if name == "sashpos" : - return htmlhelpc.wxHtmlHelpFrameCfg_sashpos_get(self) - if name == "navig_on" : - return htmlhelpc.wxHtmlHelpFrameCfg_navig_on_get(self) - raise AttributeError,name - def __repr__(self): - return "" % (self.this,) -class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(htmlhelpc.new_wxHtmlHelpFrameCfg,_args,_kwargs) - self.thisown = 1 - - - - class wxHtmlBookRecordPtr : def __init__(self,this): self.this = this @@ -281,6 +233,7 @@ class wxHtmlHelpFrame(wxHtmlHelpFramePtr): def __init__(self,*_args,**_kwargs): self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) @@ -335,6 +288,7 @@ class wxHtmlHelpController(wxHtmlHelpControllerPtr): def __init__(self,*_args,**_kwargs): self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self)