X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..8a31648287be0ef976f133de2786b137f1e98340:/samples/splash/splash.cpp?ds=sidebyside diff --git a/samples/splash/splash.cpp b/samples/splash/splash.cpp index de0654b1dc..93fbb7f708 100644 --- a/samples/splash/splash.cpp +++ b/samples/splash/splash.cpp @@ -137,7 +137,7 @@ bool MyApp::OnInit() bitmap = wxBitmap(mobile_xpm); bool ok = frame->m_isPda - ? bitmap.Ok() + ? bitmap.IsOk() : bitmap.LoadFile(wxT("splash.png"), wxBITMAP_TYPE_PNG); if (ok) @@ -218,7 +218,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) if (m_isPda) bitmap = wxBitmap(mobile_xpm); bool ok = m_isPda - ? bitmap.Ok() + ? bitmap.IsOk() : bitmap.LoadFile(wxT("splash.png"), wxBITMAP_TYPE_PNG); if (ok)