Revision af5e21e3 gr-wxgui/src/python/histosink_gl.py

b/gr-wxgui/src/python/histosink_gl.py
31 31
##################################################
32 32
# histo sink block (wrapper for old wxgui)
33 33
##################################################
34
class histo_sink_f(gr.hier_block2):
34
class histo_sink_f(gr.hier_block2, common.wxgui_hb):
35 35
	"""
36 36
	A histogram block and a gui window.
37 37
	"""
......
56 56
		histo = gr.histo_sink_f(msgq)
57 57
		histo.set_num_bins(num_bins)
58 58
		histo.set_frame_size(frame_size)
59
		#connect
60
		self.connect(self, histo)
61 59
		#controller
62 60
		self.controller = pubsub()
63 61
		self.controller.subscribe(NUM_BINS_KEY, histo.set_num_bins)
......
79 77
			msg_key=MSG_KEY,
80 78
		)
81 79
		common.register_access_methods(self, self.win)
80
		#connect
81
		self.wxgui_connect(self, histo)
82 82

83 83
# ----------------------------------------------------------------
84 84
# Standalone test app

Also available in: Unified diff