More lib and demo changes for dropping the wx prefix, from Jeff G.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
#
|
||||
# o got the wxpTag stuff working right.
|
||||
#
|
||||
# 12/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
|
||||
#
|
||||
# o wxScrolledMessageDialog -> ScrolledMessageDialog
|
||||
#
|
||||
|
||||
import os
|
||||
import sys
|
||||
@@ -182,11 +186,11 @@ class TestHtmlPanel(wx.Panel):
|
||||
|
||||
|
||||
def OnViewSource(self, event):
|
||||
import wx.lib.dialogs as dlgs
|
||||
import wx.lib.dialogs
|
||||
|
||||
source = self.html.GetParser().GetSource()
|
||||
|
||||
dlg = dlgs.wxScrolledMessageDialog(self, source, 'HTML Source')
|
||||
dlg = wx.lib.dialogs.ScrolledMessageDialog(self, source, 'HTML Source')
|
||||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
|
||||
|
Reference in New Issue
Block a user