From 79649b31d62996e1da166ebfdfbda39ee7ddbc6f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 27 Dec 2002 03:57:40 +0000 Subject: [PATCH] added imports for missing items git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/tools/XRCed/panel.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython/wxPython/tools/XRCed/panel.py b/wxPython/wxPython/tools/XRCed/panel.py index c28bcd6f7e..36f391e1d7 100644 --- a/wxPython/wxPython/tools/XRCed/panel.py +++ b/wxPython/wxPython/tools/XRCed/panel.py @@ -6,6 +6,8 @@ from xxx import * # xxx imports globals and params from undo import * +from wxPython.html import wxHtmlWindow + # Properties panel containing notebook class Panel(wxNotebook): @@ -67,9 +69,10 @@ class Panel(wxNotebook): else: # nothing selected # If first time, show some help if g.conf.panic: + import xrced html = wxHtmlWindow(self.page1, -1, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER) - html.SetPage(helpText) + html.SetPage(xrced.helpText) sizer.Add(html, 1, wxEXPAND) g.conf.panic = false else: