diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h
index bb1b83a5c3..4bc6bb4f4d 100644
--- a/include/wx/html/htmlcell.h
+++ b/include/wx/html/htmlcell.h
@@ -59,7 +59,7 @@ public:
void SetToPrivPos(const wxPoint& pos) { m_toPrivPos = pos; }
void ClearPrivPos() { m_toPrivPos = m_fromPrivPos = wxDefaultPosition; }
- const bool IsEmpty() const
+ bool IsEmpty() const
{ return m_fromPos == wxDefaultPosition &&
m_toPos == wxDefaultPosition; }