Wiki
Show
Ignore:
Timestamp:
12/31/08 04:02:25 (3 years ago)
Author:
Chuck.Esterbrook
Message:

Fix errors regarding overrides and nilable argument types.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/ObjectExplorer-WinForms.cobra

    r1812 r1857  
    8282        _initialEntries.add(value) 
    8383 
    84     def onLoad(e as EventArgs) is override, protected 
     84    def onLoad(e as EventArgs?) is override, protected 
    8585        base.onLoad(e) 
    8686        _populateNav 
    8787        _treeView.focus 
    8888 
    89     def onActivated(e as EventArgs) is override, protected 
     89    def onActivated(e as EventArgs?) is override, protected 
    9090        base.onActivated(e) 
    9191 
     
    607607    var _value as dynamic? 
    608608     
    609     def init(text as String) 
     609    def init(text as String?) 
    610610        .init(text, '', nil) 
    611611 
     
    649649    pro prefix from var 
    650650 
    651     pro text as String is override 
     651    pro text as String? is override 
    652652        get 
    653653            return _label.text to ! 
    654654        set 
    655             _label.text = _prefix + value 
     655            _label.text = _prefix + (value ? '')