44 |
|
////@end XPM images |
45 |
|
|
46 |
|
bool busy = false; |
47 |
+ |
int updateStatus; |
48 |
+ |
bool installerJustUpdated = false; |
49 |
|
vector<string> globalInstalledMods; |
50 |
|
vector<ModPackage> globalPackages; |
51 |
|
// Variable declarations |
356 |
|
Handle = (HWND)GetHWND(); |
357 |
|
::CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_ITaskbarList, (void **)&pTaskbarList); |
358 |
|
#endif |
359 |
+ |
|
360 |
+ |
updateStatus = GetUpdateStatus(¤tAE, &updateAE, &installerJustUpdated); |
361 |
|
|
362 |
|
globalPackages = getPackages(); |
363 |
|
globalInstalledMods = getInstallString(); |
364 |
< |
for (unsigned int i = 0; i < globalPackages.size(); i++) { |
364 |
> |
for (unsigned int i = 0; i < globalPackages.size(); i++) |
365 |
> |
{ |
366 |
|
Mods_CheckboxList->Append(globalPackages[i].name.c_str()); |
367 |
< |
if( binary_search(globalInstalledMods.begin(), globalInstalledMods.end(), globalPackages[i].modStringName ) ) Mods_CheckboxList->Check(i); |
367 |
> |
if (binary_search(globalInstalledMods.begin(), globalInstalledMods.end(), globalPackages[i].modStringName)) Mods_CheckboxList->Check(i); |
368 |
|
} |
369 |
|
|
370 |
|
TheStatusBar = &StatusArea; |