Browse Source

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

omar 7 years ago
parent
commit
664ab85f76

+ 1 - 1
examples/directx10_example/imgui_impl_dx10.cpp

@@ -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

+ 1 - 1
examples/directx11_example/imgui_impl_dx11.cpp

@@ -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

+ 1 - 1
examples/directx12_example/imgui_impl_dx12.cpp

@@ -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

+ 1 - 1
examples/directx9_example/imgui_impl_dx9.cpp

@@ -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