Skip to content

Commit

Permalink
[Fix] Tempo Swing Dialog: Call into correct base class message table.…
Browse files Browse the repository at this point in the history
… This caused a crash in DPI-aware mode when moving the dialog to a monitor with a different DPI.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22160 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 11, 2024
1 parent d7cafce commit c0a17ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/TempoSwingDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void CTempoSwingDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)


// Scrollable container for the sliders
BEGIN_MESSAGE_MAP(CTempoSwingDlg::SliderContainer, DialogBase)
BEGIN_MESSAGE_MAP(CTempoSwingDlg::SliderContainer, CStatic)
//{{AFX_MSG_MAP(CTempoSwingDlg::SliderContainer)
ON_WM_HSCROLL()
ON_NOTIFY_EX(TTN_NEEDTEXT, 0, &CTempoSwingDlg::SliderContainer::OnToolTipNotify)
Expand Down

0 comments on commit c0a17ca

Please sign in to comment.