Skip to content

Commit

Permalink
Merged revision(s) 22160 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] Tempo Swing Dialog: Call into correct base class message table. 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/branches/OpenMPT-1.31@22161 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 11, 2024
1 parent 713bdf0 commit fc31a8c
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 @@ -353,7 +353,7 @@ void CTempoSwingDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)


// Scrollable container for the sliders
BEGIN_MESSAGE_MAP(CTempoSwingDlg::SliderContainer, CDialog)
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 fc31a8c

Please sign in to comment.