]> git.saurik.com Git - wxWidgets.git/commitdiff
use static_cast<> in event table macros for type safety (patch 843206)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Feb 2004 23:46:28 +0000 (23:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Feb 2004 23:46:28 +0000 (23:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlwin.h

index 9b651102d7dd68c80be28cd58ca7ddfe813a2fc7..c62febbf6db545eab7dc62711aef4c9a647972e9 100644 (file)
@@ -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