Changeset 489 for AE/Installer
- Timestamp:
- Jan 25, 2010, 12:58:16 AM (15 years ago)
- Location:
- AE/Installer/trunk/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/installer.cpp
r487 r489 10 10 // TODO: Clear mod info fields when mod is de-selected 11 11 12 #define DEBUG 13 12 //#define DEBUG 13 #ifdef WIN32 14 //#include <windows.h> 15 #define popen _popen 16 #endif 14 17 #include "boost/date_time/gregorian/gregorian.hpp" 15 18 #include "boost/date_time/date_parsing.hpp" … … 1280 1283 { 1281 1284 if (exists((path)strWinGUI)) 1282 rename((path)strWinGUI, (path) strcat(strTrashDir,strWinGUI));1285 rename((path)strWinGUI, (path)(strTrashDir + strWinGUI)); 1283 1286 if (exists(strWinGUILang)) 1284 rename((path)strWinGUILang, (path) strcat(strTrashDir,strWinGUILang));1287 rename((path)strWinGUILang, (path)(strTrashDir + strWinGUILang)); 1285 1288 rename((path)(strPathToEUFNInstall + strWinGUI), (path)strWinGUI); 1286 1289 rename((path)(strPathToEUFNInstall + strWinGUILang), (path)strWinGUILang); … … 1580 1583 globalNeeded = true; 1581 1584 } 1582 1585 #ifndef WIN32 1583 1586 void Sleep(int ms) 1584 1587 { 1585 1588 sleep(ms / 1000); 1586 1589 } 1587 1590 #endif 1588 1591 #ifdef WIN32 1589 1592 -
AE/Installer/trunk/source/main_window.cpp
r487 r489 212 212 itemMenu42->Append(wxID_OPTIONS, _("Show Advanced Options..."), wxEmptyString, wxITEM_CHECK); 213 213 menuBar->Append(itemMenu42, _("Options")); 214 #ifdef WIN32215 itemMenu44->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL);216 menuBar->Append(itemMenu44, _("Help"));217 #else214 //#ifdef WIN32 215 // itemMenu44->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 216 // menuBar->Append(itemMenu44, _("Help")); 217 //#else 218 218 itemMenu37->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 219 #endif219 //#endif 220 220 221 221 itemFrame1->SetMenuBar(menuBar);
Note:
See TracChangeset
for help on using the changeset viewer.