wxTextCtrl& operator<<(const wxChar c);
// do the window-specific processing after processing the update event
- virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ;
+ virtual void DoUpdateWindowUI(wxUpdateUIEvent& event);
+
+ virtual bool ShouldInheritColours() const { return false; }
protected:
// the name of the last file loaded with LoadFile() which will be used by
class WXDLLEXPORT wxStreamToTextRedirector
{
private:
- void Init()
+ void Init(wxTextCtrl *text)
{
m_sbufOld = m_ostr.rdbuf();
m_ostr.rdbuf(text);
wxStreamToTextRedirector(wxTextCtrl *text)
: m_ostr(wxSTD cout)
{
- Init();
+ Init(text);
}
wxStreamToTextRedirector(wxTextCtrl *text, wxSTD ostream *ostr)
: m_ostr(*ostr)
{
- Init();
+ Init(text);
}
~wxStreamToTextRedirector()