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
This commit is contained in:
@@ -190,6 +190,13 @@ public:
|
|||||||
const wxString& WXUNUSED(url),
|
const wxString& WXUNUSED(url),
|
||||||
wxString *WXUNUSED(redirect)) const
|
wxString *WXUNUSED(redirect)) const
|
||||||
{ return wxHTML_OPEN; }
|
{ 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:
|
protected:
|
||||||
void Init();
|
void Init();
|
||||||
@@ -245,10 +252,6 @@ protected:
|
|||||||
// Convert selection to text:
|
// Convert selection to text:
|
||||||
wxString SelectionToText();
|
wxString SelectionToText();
|
||||||
|
|
||||||
// Helper functions to select parts of page:
|
|
||||||
void SelectWord(const wxPoint& pos);
|
|
||||||
void SelectLine(const wxPoint& pos);
|
|
||||||
|
|
||||||
// Automatic scrolling during selection:
|
// Automatic scrolling during selection:
|
||||||
void StopAutoScrolling();
|
void StopAutoScrolling();
|
||||||
#endif // wxUSE_CLIPBOARD
|
#endif // wxUSE_CLIPBOARD
|
||||||
|
Reference in New Issue
Block a user