+ // do not scale on already small screens
+ if (!m_isPda)
+ image.Rescale( bitmap.GetWidth()/2, bitmap.GetHeight()/2 );
+
+ bitmap = wxBitmap(image);
+ wxSplashScreen *splash = new wxSplashScreen(bitmap,
+ wxSPLASH_CENTRE_ON_PARENT | wxSPLASH_NO_TIMEOUT,
+ 0, this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
+ wxSIMPLE_BORDER|wxSTAY_ON_TOP);
+
+ wxWindow *win = splash->GetSplashWindow();
+#if wxUSE_MEDIACTRL
+ wxMediaCtrl *media = new wxMediaCtrl( win, wxID_EXIT, wxT("press.mpg"), wxPoint(2,2));
+ media->Play();
+#else
+ wxStaticText *text = new wxStaticText( win,
+ wxID_EXIT,
+ wxT("click somewhere\non this image"),
+ wxPoint(m_isPda ? 0 : 13,
+ m_isPda ? 0 : 11)
+ );
+ text->SetBackgroundColour(*wxWHITE);
+ text->SetForegroundColour(*wxBLACK);
+ wxFont font = text->GetFont();
+ font.SetPointSize(2*font.GetPointSize()/3);
+ text->SetFont(font);
+#endif
+ }