[commit] r1606 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Oct 12 12:45:39 CDT 2011
Author: ksmyth
Date: Wed Oct 12 12:45:39 2011
New Revision: 1606
Log:
Dont CheckInterfaceVersions; it is wasteful
Modified:
trunk/GME/Gme/GMEApp.cpp
Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp Wed Oct 12 12:45:29 2011 (r1605)
+++ trunk/GME/Gme/GMEApp.cpp Wed Oct 12 12:45:39 2011 (r1606)
@@ -285,7 +285,7 @@
setlocale(LC_ALL, "");
}
- if(CheckInterfaceVersions()) return FALSE;
+ //if(CheckInterfaceVersions()) return FALSE;
// Initialize OLE libraries
@@ -939,7 +939,7 @@
ASSERT(succ == TRUE);
// Adding button
- int commandID = (i < plugins.GetSize()) ? ID_FILE_RUNPLUGIN1 + i : ID_FILE_INTERPRET1 + i - plugins.GetSize();
+ INT_PTR commandID = (i < plugins.GetSize()) ? ID_FILE_RUNPLUGIN1 + i : ID_FILE_INTERPRET1 + i - plugins.GetSize();
CMFCToolBarButton toolBarButton(commandID, nIndex, componentName + '\n' + toolTip, TRUE);
componentBar.InsertButton(toolBarButton);
More information about the gme-commit
mailing list