mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Fix a few issues with the size of the logger pane.
Also some other general clean up issues. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7401 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -33,7 +33,6 @@ BEGIN_EVENT_TABLE(CLogWindow, wxPanel)
|
||||
EVT_CHOICE(IDM_FONT, CLogWindow::OnFontChange)
|
||||
EVT_CHECKBOX(IDM_WRAPLINE, CLogWindow::OnWrapLineCheck)
|
||||
EVT_TIMER(IDTM_UPDATELOG, CLogWindow::OnLogTimer)
|
||||
EVT_SIZE(CLogWindow::OnSize)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
CLogWindow::CLogWindow(CFrame *parent, wxWindowID id, const wxPoint& pos,
|
||||
@ -172,18 +171,6 @@ void CLogWindow::OnClose(wxCloseEvent& event)
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void CLogWindow::OnSize(wxSizeEvent& event)
|
||||
{
|
||||
if (!Parent->g_pCodeWindow &&
|
||||
Parent->m_Mgr->GetPane(wxT("Pane 1")).IsShown())
|
||||
{
|
||||
x = Parent->m_Mgr->GetPane(wxT("Pane 1")).rect.GetWidth();
|
||||
y = Parent->m_Mgr->GetPane(wxT("Pane 1")).rect.GetHeight();
|
||||
winpos = Parent->m_Mgr->GetPane(wxT("Pane 1")).dock_direction;
|
||||
}
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void CLogWindow::SaveSettings()
|
||||
{
|
||||
IniFile ini;
|
||||
|
Reference in New Issue
Block a user