Changeset 336 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_dialog.cc
- Timestamp:
- Feb 20, 2013, 2:55:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_dialog.cc
r301 r336 13 13 bool modal 14 14 ): 15 WDialog(titre )15 WDialog(titre+" ") 16 16 { 17 17 … … 19 19 titleBar()->decorationStyle().setBackgroundColor (WColor(70,180,220)); 20 20 21 WContainerWidget* widgt = new WContainerWidget(contents()); 22 WHBoxLayout* hLayout = new WHBoxLayout(); 23 hLayout->addWidget(wc); 24 widgt->setLayout(hLayout); 21 if (wc != NULL) { 22 WContainerWidget* widgt = new WContainerWidget(contents()); 23 WHBoxLayout* hLayout = new WHBoxLayout(); 24 hLayout->addWidget(wc); 25 widgt->setLayout(hLayout); 26 } 25 27 26 28 setClosable(true); … … 109 111 110 112 113
Note: See TracChangeset
for help on using the changeset viewer.