Ignore:
Timestamp:
Apr 20, 2013 7:14:41 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ba152f1
Parents:
d4895dd
Message:

mdi frames for main applications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpanel.py

    r3b148c3 rae84427  
    7171        self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CHANGED, self.on_page_changing) 
    7272        self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSED, self.on_closed) 
    73  
     73         
    7474    def on_closed(self, event): 
    7575        """ 
     
    161161        if pos != -1: 
    162162            selected_page = self.GetPage(pos) 
    163             wx.PostEvent(self.parent, PanelOnFocusEvent(panel=selected_page)) 
     163            wx.PostEvent(self._manager.parent,  
     164                         PanelOnFocusEvent(panel=selected_page)) 
    164165        self.enable_close_button() 
    165166        
     
    170171        if pos != -1: 
    171172            selected_page = self.GetPage(pos) 
    172             wx.PostEvent(self.parent, PanelOnFocusEvent(panel=selected_page)) 
     173            wx.PostEvent(self._manager.parent,  
     174                         PanelOnFocusEvent(panel=selected_page)) 
    173175         
    174176    def get_data(self): 
Note: See TracChangeset for help on using the changeset viewer.