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/fitting.py

    r7945367 r6f16e25  
    277277        model_list = model_manager.get_model_name_list() 
    278278        plug_dir = models.find_plugins_dir() 
    279         textdial = TextDialog(None, self, -1, 'Easy Sum/Multi(p1, p2) Editor', 
     279        textdial = TextDialog(None, self, wx.ID_ANY, 'Easy Sum/Multi(p1, p2) Editor', 
    280280                              model_list, plug_dir) 
    281281        self.put_icon(textdial) 
     
    760760        _TreeLocation = "user/perspectives/fitting/optimizer.html" 
    761761        _anchor = "#fit-"+algorithm_id 
    762         DocumentationWindow(self.parent, -1, _TreeLocation, _anchor, "Optimizer Help") 
     762        DocumentationWindow(self.parent, wx.ID_ANY, _TreeLocation, _anchor, "Optimizer Help") 
    763763 
    764764 
Note: See TracChangeset for help on using the changeset viewer.