]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
Add support for wxHELP button to wxMessageDialog.
[wxWidgets.git] / src / html / m_image.cpp
index 423ecf7bf5eef73367e0b1fdf6ba85e6270a17f5..60fee4e25ea099eb14f91a70ccdb1e9a9ab2f099 100644 (file)
@@ -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;