X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eb2940f7f226b068007928465096e2b9bec67d0..dff873d1aaeaab36167f66bb0c993735d954d733:/include/wx/html/htmlwin.h diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 6b155c693b..df896b6f5e 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -136,11 +136,11 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow static void AddFilter(wxHtmlFilter *filter); // Adds input filter - virtual void OnLinkClicked(const wxString& link); + virtual void OnLinkClicked(const wxHtmlLinkInfo& link); // called when users clicked on hypertext link. Default behavior is to // call LoadPage(loc) - static void CleanUpStatics(); + static void CleanUpStatics(); // cleans static variables wxHtmlWinParser *GetParser() const { return m_Parser; } @@ -163,7 +163,7 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow void OnIdle(wxIdleEvent& event); void OnKeyDown(wxKeyEvent& event); - virtual wxHtmlFilter *GetDefaultFilter() {return new wxHtmlFilterPlainText;} + virtual wxHtmlFilter *GetDefaultFilter() {return new wxHtmlFilterPlainText;} // returns new filter (will be stored into m_DefaultFilter variable) @@ -200,7 +200,7 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow bool m_tmpMouseMoved; // a flag indicated if mouse moved // (if TRUE we will try to change cursor in last call to OnIdle) - wxString m_tmpLastLink; + wxHtmlLinkInfo *m_tmpLastLink; // contains last link name int m_tmpCanDrawLocks; // if >0 contents of the window is not redrawn