X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/889e742216a3a7c3fa28046464c94a4e16618131..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/generic/splash.cpp diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index ee4512b788..da0795d71d 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -171,20 +171,20 @@ static void wxDrawSplashBitmap(wxDC& dc, const wxBitmap& bitmap, int WXUNUSED(x) void wxSplashScreenWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) { wxPaintDC dc(this); - if (m_bitmap.Ok()) + if (m_bitmap.IsOk()) wxDrawSplashBitmap(dc, m_bitmap, 0, 0); } void wxSplashScreenWindow::OnEraseBackground(wxEraseEvent& event) { - if (event.GetDC() && m_bitmap.Ok()) + if (event.GetDC() && m_bitmap.IsOk()) { wxDrawSplashBitmap(* event.GetDC(), m_bitmap, 0, 0); } else { wxClientDC dc(this); - if (m_bitmap.Ok()) + if (m_bitmap.IsOk()) wxDrawSplashBitmap(dc, m_bitmap, 0, 0); } }