Changeset 947 for trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
- Timestamp:
- 09/26/01 12:22:51 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r749 r947 34 34 }; 35 35 36 MMonteCarlo::MMonteCarlo(const TGWindow *main, const TGWindow *p, 37 const UInt_t w, const UInt_t h)38 : MBrowser(p, main, w, h)36 MMonteCarlo::MMonteCarlo(const TGWindow *main, const TGWindow *p, 37 const UInt_t w, const UInt_t h) 38 : MBrowser(main, p, w, h) 39 39 { 40 TGTextButton *action = new TGTextButton(fTop1, "ACTION", M_BUTTON_ACTION); 41 fList->Add(action); 42 action->Associate(this); 40 43 41 fButAction = new TGTextButton(fTop1, "ACTION", M_BUTTON_ACTION ); 42 fButAction->Associate(this) ; 43 fTop1->AddFrame (fButAction, new TGLayoutHints(kLHintsTop | kLHintsLeft, 10, 10, 5, 5) ); 44 TGLayoutHints *laybut = new TGLayoutHints(kLHintsTop|kLHintsLeft, 10, 10, 5, 5); 45 fList->Add(laybut); 46 47 fTop1->AddFrame(action, laybut); 44 48 45 49 MapSubwindows(); … … 52 56 MapWindow(); 53 57 } 54 55 MMonteCarlo::~MMonteCarlo()56 {57 delete fButAction;58 }59 58 60 59 // ======================================================================
Note:
See TracChangeset
for help on using the changeset viewer.