Set restore flags on a few dialogs
This commit is contained in:
parent
f828ad0eea
commit
84dc059429
2 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,8 @@ REGISTER_DIALOG(game_save)
|
|||
|
||||
tgame_save::tgame_save(std::string& filename, const std::string& title)
|
||||
{
|
||||
set_restore(true);
|
||||
|
||||
register_text("txtFilename", false, filename, true);
|
||||
register_label("lblTitle", true, title);
|
||||
}
|
||||
|
|
|
@ -64,6 +64,8 @@ struct tmessage_implementation
|
|||
|
||||
void tmessage::pre_show(twindow& window)
|
||||
{
|
||||
set_restore(true);
|
||||
|
||||
// ***** Validate the required buttons ***** ***** ***** *****
|
||||
tmessage_implementation::init_button(window, buttons_[left_1], "left_side");
|
||||
tmessage_implementation::init_button(window, buttons_[cancel], "cancel");
|
||||
|
|
Loading…
Add table
Reference in a new issue