From: Vadim Zeitlin Date: Tue, 10 Feb 2004 23:46:28 +0000 (+0000) Subject: use static_cast<> in event table macros for type safety (patch 843206) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1562206871fd1df4fcb0904cfb4d1298642608c1 use static_cast<> in event table macros for type safety (patch 843206) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 9b651102d7..c62febbf6d 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -190,6 +190,13 @@ public: const wxString& WXUNUSED(url), wxString *WXUNUSED(redirect)) const { return wxHTML_OPEN; } + +#if wxUSE_CLIPBOARD + // Helper functions to select parts of page: + void SelectWord(const wxPoint& pos); + void SelectLine(const wxPoint& pos); + void SelectAll(); +#endif protected: void Init(); @@ -245,10 +252,6 @@ protected: // Convert selection to text: wxString SelectionToText(); - // Helper functions to select parts of page: - void SelectWord(const wxPoint& pos); - void SelectLine(const wxPoint& pos); - // Automatic scrolling during selection: void StopAutoScrolling(); #endif // wxUSE_CLIPBOARD