X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..3f26799e25db9960580c8bf5280cb6ccd5bd167c:/src/html/m_links.cpp diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp index 58876ee6df..462cd36acf 100644 --- a/src/html/m_links.cpp +++ b/src/html/m_links.cpp @@ -11,8 +11,9 @@ #pragma implementation #endif -#include +#include "wx/wxprec.h" +#include "wx/defs.h" #if wxUSE_HTML #ifdef __BORDLANDC__ @@ -20,7 +21,7 @@ #endif #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif @@ -40,7 +41,7 @@ class wxHtmlAnchorCell : public wxHtmlCell wxHtmlAnchorCell(const wxString& name) : wxHtmlCell() {m_AnchorName = name;} virtual const wxHtmlCell* Find(int condition, const void* param) const { - if ((condition == HTML_COND_ISANCHOR) && (m_AnchorName == (*((const wxString*)param)))) + if ((condition == wxHTML_COND_ISANCHOR) && (m_AnchorName == (*((const wxString*)param)))) return this; else return wxHtmlCell::Find(condition, param);