[commit] r2627 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Apr 15 17:36:03 CDT 2016


Author: ksmyth
Date: Fri Apr 15 17:36:03 2016
New Revision: 2627

Log:
Fix debug compile

Modified:
   trunk/GME/Gme/MainFrm.cpp

Modified: trunk/GME/Gme/MainFrm.cpp
==============================================================================
--- trunk/GME/Gme/MainFrm.cpp	Wed Apr 13 14:04:30 2016	(r2626)
+++ trunk/GME/Gme/MainFrm.cpp	Fri Apr 15 17:36:03 2016	(r2627)
@@ -166,7 +166,14 @@
 	theInstance = this;	
 	m_autosaveTimerID = NULL;
 	theApp.m_nAppLook = theApp.GetInt(_T("ApplicationLook"), ID_VIEW_APPLOOK_VS_2005);
+#ifdef new
+#pragma push_macro("new")
+#undef new
 	new ((void*)&m_wndClientArea) CGMEMDIClientAreaWnd();
+#pragma pop_macro("new")
+#else
+	new ((void*)&m_wndClientArea) CGMEMDIClientAreaWnd();
+#endif
 }
 
 CMainFrame::~CMainFrame()


More information about the gme-commit mailing list