From: <sv...@op...> - 2024-11-11 19:35:46
|
Author: sagamusix Date: Mon Nov 11 20:35:34 2024 New Revision: 22160 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22160 Log: [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. Modified: trunk/OpenMPT/mptrack/TempoSwingDialog.cpp Modified: trunk/OpenMPT/mptrack/TempoSwingDialog.cpp ============================================================================== --- trunk/OpenMPT/mptrack/TempoSwingDialog.cpp Mon Nov 11 20:07:05 2024 (r22159) +++ trunk/OpenMPT/mptrack/TempoSwingDialog.cpp Mon Nov 11 20:35:34 2024 (r22160) @@ -356,7 +356,7 @@ // 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) |