Changeset 4422

Show
Ignore:
Timestamp:
07/18/07 16:06:28 (6 years ago)
Author:
DrewCormier
Message:

don't want to set top window since owd has already set itself as the top window

Location:
WaveDev/trunk/WaveDev/wavedev
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • WaveDev/trunk/WaveDev/wavedev/ComponentFrame.py

    r4241 r4422  
    10111011    application.main = create(None) 
    10121012    application.main.Show() 
    1013     application.SetTopWindow(application.main) 
    10141013     
    10151014    application.main.active_comp = CC.Component("component1") 
     
    10311030    application.main.nodeChoice.Enable(False) 
    10321031     
    1033     #application.main.propList.InsertStringItem(0,"Frequency") 
    1034     #application.main.propList.SetStringItem(0,1,"2400") 
    1035     #application.main.propList.InsertStringItem(1,"Power") 
    1036     #application.main.propList.SetStringItem(1,1,"1000") 
    1037      
    1038     application.MainLoop() 
    1039   
    1040                  
    1041                  
     1032    return application 
     1033     
     1034             
    10421035################################################################################ 
    10431036## If Component Developer is run as a seperate application 
  • WaveDev/trunk/WaveDev/wavedev/MainFrame.py

    r4421 r4422  
    12431243     
    12441244    def OnMenuWaveformAddcompMenu(self, event): 
    1245         ComponentFrame.newComponentFrame() 
    1246         #self.active_comp = ComponentClass.Component() 
    1247         #self.EditComponent()  
    1248         #self.active_wave.components.append(self.active_comp) 
     1245        self.subApp = ComponentFrame.newComponentFrame() 
    12491246 
    12501247    def OnMenuWaveformRemovecompMenu(self, event):