From: Robin Dunn Date: Mon, 29 Dec 2003 23:50:56 +0000 (+0000) Subject: Compatibility modules for a couple that have gone AWOL in the new namespace X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0546c3ea73ecfab583e54290bcd8a9d55c8ae96?ds=sidebyside Compatibility modules for a couple that have gone AWOL in the new namespace git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wxPython/help.py b/wxPython/wxPython/help.py new file mode 100644 index 0000000000..2d93a940ce --- /dev/null +++ b/wxPython/wxPython/help.py @@ -0,0 +1,29 @@ +# The contents of the old wxPython.help module have been moved into +# the wx.core module in the new scheme. This module will help with +# backwards compatibility by making those symbols visible in +# wxPython.help again. + + +import wxPython.wx + +EVT_HELP = wxPython.wx.EVT_HELP +EVT_HELP_RANGE = wxPython.wx.EVT_HELP_RANGE +EVT_DETAILED_HELP = wxPython.wx.EVT_DETAILED_HELP +EVT_DETAILED_HELP_RANGE = wxPython.wx.EVT_DETAILED_HELP_RANGE +wxHelpEventPtr = wxPython.wx.wxHelpEventPtr +wxHelpEvent = wxPython.wx.wxHelpEvent +wxContextHelpPtr = wxPython.wx.wxContextHelpPtr +wxContextHelp = wxPython.wx.wxContextHelp +wxContextHelpButtonPtr = wxPython.wx.wxContextHelpButtonPtr +wxContextHelpButton = wxPython.wx.wxContextHelpButton +wxHelpProviderPtr = wxPython.wx.wxHelpProviderPtr +wxHelpProvider = wxPython.wx.wxHelpProvider +wxSimpleHelpProviderPtr = wxPython.wx.wxSimpleHelpProviderPtr +wxSimpleHelpProvider = wxPython.wx.wxSimpleHelpProvider +wxHelpProvider_Set = wxPython.wx.wxHelpProvider_Set +wxHelpProvider_Get = wxPython.wx.wxHelpProvider_Get +wxFRAME_EX_CONTEXTHELP = wxPython.wx.wxFRAME_EX_CONTEXTHELP +wxDIALOG_EX_CONTEXTHELP = wxPython.wx.wxDIALOG_EX_CONTEXTHELP +wxID_CONTEXT_HELP = wxPython.wx.wxID_CONTEXT_HELP +wxEVT_HELP = wxPython.wx.wxEVT_HELP +wxEVT_DETAILED_HELP = wxPython.wx.wxEVT_DETAILED_HELP diff --git a/wxPython/wxPython/htmlhelp.py b/wxPython/wxPython/htmlhelp.py new file mode 100644 index 0000000000..06fa791ad5 --- /dev/null +++ b/wxPython/wxPython/htmlhelp.py @@ -0,0 +1,30 @@ +# The contents of the old wxPython.htmlhelp module have been moved +# into the wx.html module in the new scheme. This module will help +# with backwards compatibility by making those symbols visible in +# wxPython.htmlhelp again. + + +import wxPython.wx +import wxPython.html + +wxHtmlBookRecordPtr = wxPython.html.wxHtmlBookRecordPtr +wxHtmlBookRecord = wxPython.html.wxHtmlBookRecord +wxHtmlContentsItemPtr = wxPython.html.wxHtmlContentsItemPtr +wxHtmlContentsItem = wxPython.html.wxHtmlContentsItem +wxHtmlSearchStatusPtr = wxPython.html.wxHtmlSearchStatusPtr +wxHtmlSearchStatus = wxPython.html.wxHtmlSearchStatus +wxHtmlHelpDataPtr = wxPython.html.wxHtmlHelpDataPtr +wxHtmlHelpData = wxPython.html.wxHtmlHelpData +wxHtmlHelpFramePtr = wxPython.html.wxHtmlHelpFramePtr +wxHtmlHelpFrame = wxPython.html.wxHtmlHelpFrame +wxHtmlHelpControllerPtr = wxPython.html.wxHtmlHelpControllerPtr +wxHtmlHelpController = wxPython.html.wxHtmlHelpController +wxHF_TOOLBAR = wxPython.html.wxHF_TOOLBAR +wxHF_FLATTOOLBAR = wxPython.html.wxHF_FLATTOOLBAR +wxHF_CONTENTS = wxPython.html.wxHF_CONTENTS +wxHF_INDEX = wxPython.html.wxHF_INDEX +wxHF_SEARCH = wxPython.html.wxHF_SEARCH +wxHF_BOOKMARKS = wxPython.html.wxHF_BOOKMARKS +wxHF_OPENFILES = wxPython.html.wxHF_OPENFILES +wxHF_PRINT = wxPython.html.wxHF_PRINT +wxHF_DEFAULTSTYLE = wxPython.html.wxHF_DEFAULTSTYLE