void MainApp::goOffline() { gcTrace(""); int res = wxID_NO; { gcMessageDialog msgBox(nullptr, Managers::GetString(L"#MF_OFFLINE"), Managers::GetString(L"#MF_OFFLINE_TITLE"), wxYES_NO | wxICON_QUESTION); AutoScopeMemberVar<gcMessageDialog> asv(m_pOfflineDialog, &msgBox); res = msgBox.ShowModal(); } if (res == wxID_YES) offlineMode(); }
bool operator!=(const rgba_s& a, const rgba_s& b) { return asv(u128)a != asv(u128)b; }