Changeset 44148f0 in sasview for calculatorview/perspectives/calculator/sld_panel.py
- Timestamp:
- Nov 2, 2010 9:34:47 AM (14 years ago)
- 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:
- a7a5886
- Parents:
- 96c0234
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/sld_panel.py
rb0ab6cb r44148f0 46 46 CENTER_PANE = True 47 47 48 def __init__(self, parent, base=None ):49 """ 50 """ 51 wx.Panel.__init__(self, parent )48 def __init__(self, parent, base=None, *args, **kwds): 49 """ 50 """ 51 wx.Panel.__init__(self, parent, *args, **kwds) 52 52 #Font size 53 53 self.SetWindowVariant(variant=FONT_VARIANT) … … 415 415 """ 416 416 """ 417 def __init__(self, parent=None, title="SLD Calculator", base=None): 418 """ 419 """ 420 wx.Frame.__init__(self, parent, title, 421 size=(PANEL_SIZE, PANEL_SIZE)) 417 def __init__(self, parent=None, title="SLD Calculator", 418 base=None, size=(PANEL_SIZE, PANEL_SIZE), *args, **kwds): 419 """ 420 """ 421 kwds['title'] = title 422 kwds['size'] = size 423 wx.Frame.__init__(self, parent, *args, **kwds) 422 424 """ 423 425 """ … … 432 434 """ 433 435 """ 434 frame = SldWindow(None, -1,'SLD Calculator')436 frame = SldWindow(None, title='SLD Calculator') 435 437 frame.Show(True) 436 438 self.SetTopWindow(frame)
Note: See TracChangeset
for help on using the changeset viewer.