|
From: andrew7 <bd...@us...> - 2007-06-18 00:34:20
|
Update of /cvsroot/smartwin/SmartWin/tests/Canvas In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20272 Modified Files: canvas_all.cpp Log Message: Allow gdi+ only on Microsoft compilers Index: canvas_all.cpp =================================================================== RCS file: /cvsroot/smartwin/SmartWin/tests/Canvas/canvas_all.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- canvas_all.cpp 18 Feb 2007 01:00:10 -0000 1.12 +++ canvas_all.cpp 18 Jun 2007 00:34:17 -0000 1.13 @@ -22,8 +22,11 @@ using namespace SmartWin; #include "encircle.h" -// Remove the comment part below to use GdiPlus and view an Image in addition to the other cool stuff you see... ;) +// Warning: Pre WinXp systems don't have gdi+ +#ifdef _MSC_VER #define UseGdiPlus 1 +#endif + #ifdef UseGdiPlus #include <gdiplus.h> using namespace Gdiplus; |