Let's not override WriteText in Linux for the moment.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2272 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-11-29 03:49:12 +00:00
parent 740777ec1e
commit 80f99f09d6
2 changed files with 4 additions and 0 deletions

View File

@ -108,7 +108,9 @@ public:
bool HasWriteLock() const { return m_FreezeWrites; }
void ConcludeIssue( int lines );
#ifdef __WXMSW__
virtual void WriteText(const wxString& text);
#endif
protected:
virtual void OnThumbTrack(wxScrollWinEvent& event);

View File

@ -69,11 +69,13 @@ pxLogTextCtrl::pxLogTextCtrl( wxWindow* parent )
Connect( wxEVT_SIZE, wxSizeEventHandler(pxLogTextCtrl::OnResize) );
}
#ifdef __WXMSW__
void pxLogTextCtrl::WriteText(const wxString& text)
{
// Don't need the update message -- saves some overhead.
DoWriteText( text, SetValue_SelectionOnly );
}
#endif
void pxLogTextCtrl::OnResize( wxSizeEvent& evt )
{