Ignore:
Timestamp:
Oct 21, 2015 6:35:00 AM (8 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/hint_fitpage.py

    r2f4b430 r6f16e25  
    2727        """ 
    2828        name = "Hint" 
    29         box_description = wx.StaticBox(self, -1, name) 
     29        box_description = wx.StaticBox(self, wx.ID_ANY, name) 
    3030        boxsizer = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    3131        msg = "    How to link data to the control panel: \n \n" 
     
    3333        msg += "    Then Highlight and right click on the data plot. \n" 
    3434        msg += "    Finally, select 'Select data for fitting' in the pop-up menu. \n" 
    35         self.hint_txt = wx.StaticText(self, -1, msg, style=wx.ALIGN_LEFT) 
     35        self.hint_txt = wx.StaticText(self, wx.ID_ANY, msg, style=wx.ALIGN_LEFT) 
    3636        boxsizer.Add(self.hint_txt, wx.ALL | wx.EXPAND, 20) 
    3737        self.vbox = wx.BoxSizer(wx.VERTICAL) 
Note: See TracChangeset for help on using the changeset viewer.