void NativeTextfieldWin::OnCopy() { if(textfield_->IsPassword()) { return; } const std::wstring text(GetSelectedText()); if(!text.empty() && ViewDelegate::view_delegate) { ui::ScopedClipboardWriter scw( ViewDelegate::view_delegate->GetClipboard()); scw.WriteText(text); } }
static void wait_prestart(user_choice_manager& man) { gui2::dialogs::synched_choice_wait scw(man); scw.show(resources::screen->video()); }