mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
The DefWindowProc is not called anymore on WM_SETTINGCHANGE since it can cause crashes.
This commit is contained in:
@ -241,6 +241,7 @@
|
||||
RuntimeTypeInfo="true"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderFile=".\x32/Release/Library.pch"
|
||||
AssemblerOutput="2"
|
||||
AssemblerListingLocation=".\x32/Release/"
|
||||
ObjectFile=".\x32/Release/"
|
||||
ProgramDataBaseFileName=".\x32/Release/"
|
||||
|
@ -2519,7 +2519,9 @@ LRESULT CMeterWindow::OnSettingChange(WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
m_Monitors.count = 0;
|
||||
Refresh(false);
|
||||
return DefWindowProc(m_Window, m_Message, wParam, lParam);
|
||||
|
||||
// Commented: Calling DefWindowProc seems to cause crash sometimes
|
||||
return 0; // DefWindowProc(m_Window, m_Message, wParam, lParam);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user