mirror of https://github.com/PCSX2/pcsx2.git
parent
5d81fa70ff
commit
a6ba7a19b9
|
@ -34,7 +34,6 @@ END_DECLARE_EVENT_TYPES()
|
|||
|
||||
DEFINE_EVENT_TYPE(pxEvt_LogWrite)
|
||||
DEFINE_EVENT_TYPE(pxEvt_SetTitleText)
|
||||
DEFINE_EVENT_TYPE(pxEvt_DockConsole)
|
||||
DEFINE_EVENT_TYPE(pxEvt_FlushQueue)
|
||||
|
||||
// C++ requires abstract destructors to exist, even though they're abstract.
|
||||
|
@ -476,7 +475,6 @@ ConsoleLogFrame::ConsoleLogFrame( MainEmuFrame *parent, const wxString& title, A
|
|||
Connect( wxEVT_ACTIVATE, wxActivateEventHandler (ConsoleLogFrame::OnActivate) );
|
||||
|
||||
Connect( pxEvt_SetTitleText, wxCommandEventHandler (ConsoleLogFrame::OnSetTitle) );
|
||||
Connect( pxEvt_DockConsole, wxCommandEventHandler (ConsoleLogFrame::OnDockedMove) );
|
||||
Connect( pxEvt_FlushQueue, wxCommandEventHandler (ConsoleLogFrame::OnFlushEvent) );
|
||||
|
||||
Connect( m_timer_FlushUnlocker.GetId(), wxEVT_TIMER, wxTimerEventHandler (ConsoleLogFrame::OnFlushUnlockerTimer) );
|
||||
|
@ -656,11 +654,6 @@ bool ConsoleLogFrame::Newline()
|
|||
return Write( Color_Current, L"\n" );
|
||||
}
|
||||
|
||||
void ConsoleLogFrame::DockedMove()
|
||||
{
|
||||
SetPosition( m_conf.DisplayPosition );
|
||||
}
|
||||
|
||||
// =================================================================================
|
||||
// Section : Event Handlers
|
||||
// * Misc Window Events (Move, Resize,etc)
|
||||
|
@ -668,12 +661,6 @@ void ConsoleLogFrame::DockedMove()
|
|||
// * Logging Events
|
||||
// =================================================================================
|
||||
|
||||
// Special event received from a window we're docked against.
|
||||
void ConsoleLogFrame::OnDockedMove( wxCommandEvent& event )
|
||||
{
|
||||
DockedMove();
|
||||
}
|
||||
|
||||
void ConsoleLogFrame::OnMoveAround( wxMoveEvent& evt )
|
||||
{
|
||||
if( IsBeingDeleted() || !IsVisible() || IsIconized() ) return;
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
#include <array>
|
||||
#include <memory>
|
||||
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
DECLARE_EVENT_TYPE(pxEvt_DockConsole, -1)
|
||||
END_DECLARE_EVENT_TYPES()
|
||||
|
||||
static const bool EnableThreadedLoggingTest = false; //true;
|
||||
|
||||
class LogWriteEvent;
|
||||
|
@ -220,8 +216,6 @@ public:
|
|||
ConsoleLogFrame( MainEmuFrame *pParent, const wxString& szTitle, ConLogConfig& options );
|
||||
virtual ~ConsoleLogFrame();
|
||||
|
||||
virtual void DockedMove();
|
||||
|
||||
// Retrieves the current configuration options settings for this box.
|
||||
// (settings change if the user moves the window or changes the font size)
|
||||
const ConLogConfig& GetConfig() const { return m_conf; }
|
||||
|
@ -248,7 +242,6 @@ protected:
|
|||
virtual void OnCloseWindow(wxCloseEvent& event);
|
||||
|
||||
void OnSetTitle( wxCommandEvent& event );
|
||||
void OnDockedMove( wxCommandEvent& event );
|
||||
void OnFlushUnlockerTimer( wxTimerEvent& evt );
|
||||
void OnFlushEvent( wxCommandEvent& event );
|
||||
|
||||
|
|
Loading…
Reference in New Issue