GUI2/Window: cleaned up some commented-out code
This commit is contained in:
parent
de218da637
commit
77f2c758ca
1 changed files with 0 additions and 14 deletions
|
@ -552,25 +552,11 @@ int window::show(const unsigned auto_close_timeout)
|
|||
* doesn't hurt too much but keep this todo as a reminder.
|
||||
*/
|
||||
suspend_drawing_ = true;
|
||||
|
||||
// restore area
|
||||
// if(restore_) {
|
||||
// SDL_Rect rect = get_rectangle();
|
||||
// sdl_blit(restorer_, 0, video_.getSurface(), &rect);
|
||||
// font::undraw_floating_labels(video_.getSurface());
|
||||
// }
|
||||
throw;
|
||||
}
|
||||
|
||||
suspend_drawing_ = true;
|
||||
|
||||
// restore area
|
||||
//if(restore_) {
|
||||
// SDL_Rect rect = get_rectangle();
|
||||
// sdl_blit(restorer_, 0, video_.getSurface(), &rect);
|
||||
// font::undraw_floating_labels(video_.getSurface());
|
||||
//}
|
||||
|
||||
if(text_box_base* tb = dynamic_cast<text_box_base*>(event_distributor_->keyboard_focus())) {
|
||||
tb->interrupt_composition();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue