X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4649b5eded522cdc6d76aae074f98a2c162fd648:/wxPython/src/msw/htmlhelp.py?ds=sidebyside diff --git a/wxPython/src/msw/htmlhelp.py b/wxPython/src/msw/htmlhelp.py index a3634b13aa..912a0dca35 100644 --- a/wxPython/src/msw/htmlhelp.py +++ b/wxPython/src/msw/htmlhelp.py @@ -13,6 +13,8 @@ from clip_dnd import * from events import * +from streams import * + from mdi import * from frames import * @@ -34,54 +36,10 @@ from image import * from printfw import * from sizers 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 - - +from filesys import * +from utils import * class wxHtmlBookRecordPtr : def __init__(self,this): self.this = this @@ -341,16 +299,12 @@ class wxHtmlHelpController(wxHtmlHelpControllerPtr): #-------------- VARIABLE WRAPPERS ------------------ -wxID_HTML_PANEL = htmlhelpc.wxID_HTML_PANEL -wxID_HTML_BACK = htmlhelpc.wxID_HTML_BACK -wxID_HTML_FORWARD = htmlhelpc.wxID_HTML_FORWARD -wxID_HTML_TREECTRL = htmlhelpc.wxID_HTML_TREECTRL -wxID_HTML_INDEXPAGE = htmlhelpc.wxID_HTML_INDEXPAGE -wxID_HTML_INDEXLIST = htmlhelpc.wxID_HTML_INDEXLIST -wxID_HTML_NOTEBOOK = htmlhelpc.wxID_HTML_NOTEBOOK -wxID_HTML_SEARCHPAGE = htmlhelpc.wxID_HTML_SEARCHPAGE -wxID_HTML_SEARCHTEXT = htmlhelpc.wxID_HTML_SEARCHTEXT -wxID_HTML_SEARCHLIST = htmlhelpc.wxID_HTML_SEARCHLIST -wxID_HTML_SEARCHBUTTON = htmlhelpc.wxID_HTML_SEARCHBUTTON -wxID_HTML_SEARCHCHOICE = htmlhelpc.wxID_HTML_SEARCHCHOICE -wxID_HTML_HELPFRAME = htmlhelpc.wxID_HTML_HELPFRAME +wxHF_TOOLBAR = htmlhelpc.wxHF_TOOLBAR +wxHF_FLATTOOLBAR = htmlhelpc.wxHF_FLATTOOLBAR +wxHF_CONTENTS = htmlhelpc.wxHF_CONTENTS +wxHF_INDEX = htmlhelpc.wxHF_INDEX +wxHF_SEARCH = htmlhelpc.wxHF_SEARCH +wxHF_BOOKMARKS = htmlhelpc.wxHF_BOOKMARKS +wxHF_OPENFILES = htmlhelpc.wxHF_OPENFILES +wxHF_PRINT = htmlhelpc.wxHF_PRINT +wxHF_DEFAULTSTYLE = htmlhelpc.wxHF_DEFAULTSTYLE