RE: R: Linker error for Win32 app with MSVS2026

Kenneth Porter <[email protected]> Fri, 10 Jul 2026 18:31:43 -0700
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Note that include\msvc\wx\setup.h eliminates the need to list libraries 
in a Visual Studio project by using "#pragma comment" directives. One 
can "compile to preprocessed" to verify that this file is included 
through the regular wx header hierarchy and that the names are properly 
expanded.

I hadn't noticed this directive before but it can be used to list all 
includes as they're compiled:

https://learn.microsoft.com/en-us/cpp/build/reference/showincludes-list-include-files?view=msvc-170


-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/cca418ec-2bc4-4eb2-843e-623af98328b5%40sewingwitch.com.