mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
740777ec1e
commit
80f99f09d6
|
@ -108,7 +108,9 @@ public:
|
||||||
bool HasWriteLock() const { return m_FreezeWrites; }
|
bool HasWriteLock() const { return m_FreezeWrites; }
|
||||||
void ConcludeIssue( int lines );
|
void ConcludeIssue( int lines );
|
||||||
|
|
||||||
|
#ifdef __WXMSW__
|
||||||
virtual void WriteText(const wxString& text);
|
virtual void WriteText(const wxString& text);
|
||||||
|
#endif
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void OnThumbTrack(wxScrollWinEvent& event);
|
virtual void OnThumbTrack(wxScrollWinEvent& event);
|
||||||
|
|
|
@ -69,11 +69,13 @@ pxLogTextCtrl::pxLogTextCtrl( wxWindow* parent )
|
||||||
Connect( wxEVT_SIZE, wxSizeEventHandler(pxLogTextCtrl::OnResize) );
|
Connect( wxEVT_SIZE, wxSizeEventHandler(pxLogTextCtrl::OnResize) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __WXMSW__
|
||||||
void pxLogTextCtrl::WriteText(const wxString& text)
|
void pxLogTextCtrl::WriteText(const wxString& text)
|
||||||
{
|
{
|
||||||
// Don't need the update message -- saves some overhead.
|
// Don't need the update message -- saves some overhead.
|
||||||
DoWriteText( text, SetValue_SelectionOnly );
|
DoWriteText( text, SetValue_SelectionOnly );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void pxLogTextCtrl::OnResize( wxSizeEvent& evt )
|
void pxLogTextCtrl::OnResize( wxSizeEvent& evt )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue