From 5ea1bca99fe4ba2342d747721b855766594ace7a Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Tue, 8 Aug 2023 22:55:55 +0200 Subject: [PATCH] Fix argument direction in windows.cfg, missing Qt macros (#5302) --- cfg/qt.cfg | 3 +++ cfg/windows.cfg | 18 +++++++++--------- test/cfg/windows.cpp | 4 ++++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/cfg/qt.cfg b/cfg/qt.cfg index ee0d314ce..cae153acf 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -5097,6 +5097,9 @@ + + + diff --git a/cfg/windows.cfg b/cfg/windows.cfg index b4d4d0039..48c1e9f2f 100644 --- a/cfg/windows.cfg +++ b/cfg/windows.cfg @@ -2960,7 +2960,7 @@ HFONT CreateFont( - + @@ -2985,7 +2985,7 @@ HFONT CreateFont( - + @@ -3023,7 +3023,7 @@ HFONT CreateFont( _In_ LPARAM lParam); --> false - + @@ -3044,7 +3044,7 @@ HFONT CreateFont( _In_ LPARAM lParam); --> false - + @@ -3306,7 +3306,7 @@ HFONT CreateFont( false - + @@ -3315,10 +3315,10 @@ HFONT CreateFont( false - + - + @@ -3327,7 +3327,7 @@ HFONT CreateFont( false - + @@ -3339,7 +3339,7 @@ HFONT CreateFont( false - + diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp index e09e9f073..55eb21ecd 100644 --- a/test/cfg/windows.cpp +++ b/test/cfg/windows.cpp @@ -1113,4 +1113,8 @@ void invalidPrintfArgType_StructMember(double d) { // #9672 my_struct_t my_struct; // cppcheck-suppress invalidPrintfArgType_sint my_struct.st.Format("%d", d); +} + +BOOL MyEnableWindow(HWND hWnd, BOOL bEnable) { + return EnableWindow(hWnd, bEnable); } \ No newline at end of file