// 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
// ----------
{
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);