Examples: Tweak comments. (#1704, #1708).

This commit is contained in:
omar 2018-04-02 17:31:51 +02:00
parent ca39070ca0
commit 664ab85f76
4 changed files with 4 additions and 4 deletions

View File

@ -275,7 +275,7 @@ static bool ImGui_ImplWin32_UpdateMouseCursor()
return true;
}
// MingW (which is stuck in the past) doesn't have this Vista-era define..
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
#ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E
#endif

View File

@ -282,7 +282,7 @@ static bool ImGui_ImplWin32_UpdateMouseCursor()
return true;
}
// MingW (which is stuck in the past) doesn't have this Vista-era define..
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
#ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E
#endif

View File

@ -253,7 +253,7 @@ static bool ImGui_ImplWin32_UpdateMouseCursor()
return true;
}
// MingW (which is stuck in the past) doesn't have this Vista-era define..
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
#ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E
#endif

View File

@ -215,7 +215,7 @@ static bool ImGui_ImplWin32_UpdateMouseCursor()
return true;
}
// MingW (which is stuck in the past) doesn't have this Vista-era define..
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
#ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E
#endif