//------------------------------------------------------------- void testApp::update(){ if (SlideshowTimer.isTimerFinished() && SlideShowOn && (SlideShowCounter<=SlideShowPhotos)){ AdvanceSlideShow(); SlideshowTimer.reset(); SlideshowTimer.startTimer(); SlideShowCounter++; } }
void CSlideShowPanel::OnSlideShowTimer(wxTimerEvent& WXUNUSED(event)) { AdvanceSlideShow(true, false); }