X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1da887276915d7b83dc7beff43bbe0deea35939..b610b1db09a0b32ab594dc0f7cb0a9d1a945d1c6:/src/html/m_image.cpp diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index a850abcf37..fd4ff24855 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -36,8 +36,8 @@ #include "wx/dynarray.h" #include "wx/log.h" #include "wx/artprov.h" +#include "wx/math.h" -#include #include 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) {