src/window.cpp
branchcpp_gui
changeset 6293 59b7305f9a8b
parent 6289 be3d8bd9fb02
child 6295 a88d8c2cff6e
equal deleted inserted replaced
6292:272c690043e3 6293:59b7305f9a8b
   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