Remove outdated and unnecessary comment about MSVC linking pragma
This commit is contained in:
@@ -167,23 +167,8 @@ inline T wxWGLProcCast(PROC proc)
|
|||||||
// libraries
|
// libraries
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
/*
|
// For MSVC we can link in the required library explicitly, for the other
|
||||||
The following two compiler directives are specific to the Microsoft Visual
|
// compilers (e.g. MinGW) this needs to be done at makefiles level.
|
||||||
C++ family of compilers
|
|
||||||
|
|
||||||
Fundementally what they do is instruct the linker to use these two libraries
|
|
||||||
for the resolution of symbols. In essence, this is the equivalent of adding
|
|
||||||
these two libraries to either the Makefile or project file.
|
|
||||||
|
|
||||||
This is NOT a recommended technique, and certainly is unlikely to be used
|
|
||||||
anywhere else in wxWidgets given it is so specific to not only wxMSW, but
|
|
||||||
also the VC compiler. However, in the case of opengl support, it's an
|
|
||||||
applicable technique as opengl is optional in setup.h This code (wrapped by
|
|
||||||
wxUSE_GLCANVAS), now allows opengl support to be added purely by modifying
|
|
||||||
setup.h rather than by having to modify either the project or DSP fle.
|
|
||||||
|
|
||||||
See MSDN for further information on the exact usage of these commands.
|
|
||||||
*/
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# pragma comment( lib, "opengl32" )
|
# pragma comment( lib, "opengl32" )
|
||||||
# pragma comment( lib, "glu32" )
|
# pragma comment( lib, "glu32" )
|
||||||
|
Reference in New Issue
Block a user