]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
added possibility to throw different objects and crash directly from the main frame...
[wxWidgets.git] / src / html / m_image.cpp
index a850abcf374482c91b214557f1542d58e3265c35..fd4ff2485563b930d07dcd0c9886412223ab5744 100644 (file)
@@ -36,8 +36,8 @@
 #include "wx/dynarray.h"
 #include "wx/log.h"
 #include "wx/artprov.h"
+#include "wx/math.h"
 
-#include <math.h>
 #include <float.h>
 
 FORCE_LINK_ME(m_image)
@@ -572,7 +572,7 @@ void wxHtmlImageCell::Draw(wxDC& dc, int x, int y,
 
 wxHtmlLinkInfo *wxHtmlImageCell::GetLink( int x, int y ) const
 {
-    if (m_mapName.IsEmpty())
+    if (m_mapName.empty())
         return wxHtmlCell::GetLink( x, y );
     if (!m_imageMap)
     {