void MsgLogWidget::Update() { if (m_curMsgType != NONE) { // has it expired? bool expired = (SDL_GetTicks() - m_msgAge > 5000); if (expired || ((m_curMsgType == NOT_IMPORTANT) && !m_msgQueue.empty())) { ShowNext(); } } else { ShowNext(); } }
bool CWizardPage::OnShow() { EnableNext(); EnablePrev(); ShowNext(); ShowPrev(); return true; }