]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
added missing joystick source file for wxMotif
[wxWidgets.git] / include / wx / textctrl.h
index 9ed802bd3553d0dc5adb735a076c00c6f2cf32d3..25c0c09dfafa8d3a33fef39a118adefea36031cd 100644 (file)
@@ -157,6 +157,8 @@ public:
     // If the return values from and to are the same, there is no selection.
     virtual void GetSelection(long* from, long* to) const = 0;
 
+    virtual wxString GetStringSelection() const;
+
     // operations
     // ----------
 
@@ -337,7 +339,7 @@ class WXDLLEXPORT wxStreamToTextRedirector
 {
 public:
     wxStreamToTextRedirector(wxTextCtrl *text, wxSTD ostream *ostr = NULL)
-        : m_ostr(ostr ? *ostr : wxSTD::cout)
+        : m_ostr(ostr ? *ostr : wxSTD cout)
     {
         m_sbufOld = m_ostr.rdbuf();
         m_ostr.rdbuf(text);