|
From: Tobias S. <t_s...@us...> - 2005-04-15 20:11:52
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20466/adobe-source/adobe/test/visual/sources/win Modified Files: metrics.cpp Log Message: Fixes to compile with GCC (#include <stdexcept> and some warnings), marks destructor virtual. Index: metrics.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/win/metrics.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** metrics.cpp 10 Apr 2005 01:24:36 -0000 1.5 --- metrics.cpp 15 Apr 2005 20:11:43 -0000 1.6 *************** *** 16,19 **** --- 16,20 ---- #include <sstream> + #include <stdexcept> /****************************************************************************************************/ *************** *** 238,243 **** GetThemeFont_t GetThemeFontPtr; GetThemeSysFont_t GetThemeSysFontPtr; - DrawThemeParentBackground_t DrawThemeParentBackgroundPtr; IsThemeActive_t IsThemeActivePtr; // // We only ever try to load UxTheme.DLL once, this boolean tells us if we were --- 239,244 ---- GetThemeFont_t GetThemeFontPtr; GetThemeSysFont_t GetThemeSysFontPtr; IsThemeActive_t IsThemeActivePtr; + DrawThemeParentBackground_t DrawThemeParentBackgroundPtr; // // We only ever try to load UxTheme.DLL once, this boolean tells us if we were *************** *** 276,280 **** loaded_m = true; } ! ~metrics_uxtheme_t() { if (theme_dll_m) FreeLibrary(theme_dll_m); --- 277,281 ---- loaded_m = true; } ! virtual ~metrics_uxtheme_t() { if (theme_dll_m) FreeLibrary(theme_dll_m); |