Ignore:
Timestamp:
Oct 21, 2015 8:35:00 AM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
85130cb
Parents:
2d88fc4
Message:

clean up wx id handling in fitting perspective

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/fitpanel.py

    rac7be54 r6f16e25  
    3636        """ 
    3737        """ 
    38         nb.__init__(self, parent, -1, 
     38        nb.__init__(self, parent, wx.ID_ANY, 
    3939                    style=wx.aui.AUI_NB_WINDOWLIST_BUTTON | 
    4040                    wx.aui.AUI_NB_DEFAULT_STYLE | 
     
    324324        if caption == "Const & Simul Fit": 
    325325            self.sim_page = SimultaneousFitPage(self, page_finder=page_finder, 
    326                                                  id= -1, batch_on=False) 
     326                                                 id= wx.ID_ANY, batch_on=False) 
    327327            self.sim_page.window_caption = caption 
    328328            self.sim_page.window_name = caption 
Note: See TracChangeset for help on using the changeset viewer.