// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation
-#endif
-
#include "wx/wxprec.h"
#include "wx/defs.h"
#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)
if ( s )
{
- bool readImg = true;
-
#if wxUSE_GIF && wxUSE_TIMER
+ bool readImg = true;
if ( (input->GetLocation().Matches(wxT("*.gif")) ||
input->GetLocation().Matches(wxT("*.GIF"))) && m_window )
{
void wxHtmlImageCell::Draw(wxDC& dc, int x, int y,
- int WXUNUSED(view_y1), int view_y2,
+ int WXUNUSED(view_y1), int WXUNUSED(view_y2),
wxHtmlRenderingInfo& WXUNUSED(info))
{
- if (y+m_PosY+m_Height > view_y2) return;
-
if ( m_showFrame )
{
dc.SetBrush(*wxTRANSPARENT_BRUSH);
wxHtmlLinkInfo *wxHtmlImageCell::GetLink( int x, int y ) const
{
- if (m_mapName.IsEmpty())
+ if (m_mapName.empty())
return wxHtmlCell::GetLink( x, y );
if (!m_imageMap)
{