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:
parent
3edce908b4
commit
978988d41b
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1,2 +1,2 @@
|
||||
#pragma once
|
||||
const int revision_number = 93;
|
||||
const int revision_number = 103;
|
Loading…
Reference in New Issue
Block a user