From 6bf2c048d94e1c673c06c058b23213cd28292520 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Fri, 8 Feb 2008 18:45:33 +0000 Subject: [PATCH] Fixed missed conversion that prevented gr.wxgui from importing correctly. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7610 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-wxgui/src/python/form.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gr-wxgui/src/python/form.py b/gr-wxgui/src/python/form.py index 5ca66183..3e303554 100755 --- a/gr-wxgui/src/python/form.py +++ b/gr-wxgui/src/python/form.py @@ -338,11 +338,11 @@ class form(dict): # ---------------------------------------------------------------- import sys -from gnuradio.wxgui import stdgui +from gnuradio.wxgui import stdgui2 -class demo_app_flow_graph (stdgui.gui_flow_graph): +class demo_app_flow_graph (stdgui2.std_top_block): def __init__(self, frame, panel, vbox, argv): - stdgui.gui_flow_graph.__init__ (self, frame, panel, vbox, argv) + stdgui2.std_top_block.__init__ (self, frame, panel, vbox, argv) self.frame = frame self.panel = panel @@ -384,7 +384,7 @@ class demo_app_flow_graph (stdgui.gui_flow_graph): def main (): - app = stdgui.stdapp (demo_app_flow_graph, "wxgui form demo", nstatus=1) + app = stdgui2.stdapp(demo_app_flow_graph, "wxgui form demo", nstatus=1) app.MainLoop () if __name__ == '__main__': -- 2.47.2