equal
deleted
inserted
replaced
288 |
288 |
289 /*virtual*/ void BaseWindow::CreateWidgets() |
289 /*virtual*/ void BaseWindow::CreateWidgets() |
290 { |
290 { |
291 /* only old windows are allowed to use this fake 'CreateWidgets()' method << new gui must have its own */ |
291 /* only old windows are allowed to use this fake 'CreateWidgets()' method << new gui must have its own */ |
292 assert(widget != NULL); |
292 assert(widget != NULL); |
|
293 } |
|
294 |
|
295 /*virtual*/ void BaseWindow::OnPaint(gui::EvtPaint &ev) |
|
296 { |
|
297 ClipDrawContext ctx(0, 0, Width(), Height()); |
|
298 super::OnPaint(ev); |
293 } |
299 } |
294 |
300 |
295 /** |
301 /** |
296 * Open a new window. If there is no space for a new window, close an open |
302 * Open a new window. If there is no space for a new window, close an open |
297 * window. Try to avoid stickied windows, but if there is no else, close one of |
303 * window. Try to avoid stickied windows, but if there is no else, close one of |