X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b35f81e4105ea250a6fd0533974cf6d1f722276..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/html/m_image.cpp diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index 423ecf7bf5..60fee4e25e 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -417,7 +417,7 @@ wxHtmlImageCell::wxHtmlImageCell(wxHtmlWindowInterface *windowIface, #endif // wxUSE_GIF && wxUSE_TIMER { wxImage image(*s, wxBITMAP_TYPE_ANY); - if ( image.Ok() ) + if ( image.IsOk() ) SetImage(image); } } @@ -446,7 +446,7 @@ wxHtmlImageCell::wxHtmlImageCell(wxHtmlWindowInterface *windowIface, void wxHtmlImageCell::SetImage(const wxImage& img) { #if !defined(__WXMSW__) || wxUSE_WXDIB - if ( img.Ok() ) + if ( img.IsOk() ) { delete m_bitmap;