commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8046 - gnuradio/branches/developers/michaelld/wxgui/g


From: michaelld
Subject: [Commit-gnuradio] r8046 - gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python
Date: Wed, 19 Mar 2008 09:46:45 -0600 (MDT)

Author: michaelld
Date: 2008-03-19 09:46:45 -0600 (Wed, 19 Mar 2008)
New Revision: 8046

Modified:
   
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/waterfallsink2.py
Log:
Removed redundant wx.EVT_CLOSE declaration.



Modified: 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/waterfallsink2.py
===================================================================
--- 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/waterfallsink2.py
  2008-03-19 14:32:13 UTC (rev 8045)
+++ 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/waterfallsink2.py
  2008-03-19 15:46:45 UTC (rev 8046)
@@ -147,13 +147,10 @@
         dc1.Clear()
 
         self.pens = self.make_pens()
+        self.build_popup_menu()
 
-        wx.EVT_PAINT( self, self.OnPaint )
+        wx.EVT_PAINT (self, self.OnPaint)
         wx.EVT_CLOSE (self, self.on_close_window)
-        
-        self.build_popup_menu()
-        
-        wx.EVT_CLOSE (self, self.on_close_window)
         self.Bind(wx.EVT_RIGHT_UP, self.on_right_click)
 
         self.data_event = gr_window_data_event (self, self.set_data)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]