mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
Merge pull request #46 from krofna
This commit is contained in:
parent
17b877e448
commit
e7a721a1fb
15 changed files with 60 additions and 18 deletions
|
|
@ -127,8 +127,10 @@ CompilerELF::CompilerELF(wxWindow* parent)
|
|||
" b exit, 0, 0\n"
|
||||
);
|
||||
|
||||
#ifdef _WIN32
|
||||
::SendMessage((HWND)hex_list->GetHWND(), WM_VSCROLL, SB_BOTTOM, 0);
|
||||
::SendMessage((HWND)asm_list->GetHWND(), WM_VSCROLL, SB_BOTTOM, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
CompilerELF::~CompilerELF()
|
||||
|
|
@ -318,6 +320,7 @@ void CompilerELF::OnScroll(wxScrollWinEvent& event)
|
|||
dst = hex_list;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
if(!m_disable_scroll && src && dst && event.GetOrientation() == wxVERTICAL)
|
||||
{
|
||||
s64 kind = -1;
|
||||
|
|
@ -364,6 +367,7 @@ void CompilerELF::OnScroll(wxScrollWinEvent& event)
|
|||
m_disable_scroll = false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue