- LoadContactData(vCardObj, htmContactData, SessionID, OldSessionID, MemoryFSListPtr);
- SetTitle(vCardObj->Get(wxT("FN")));
-
- WindowData *WData = new WindowData;
-
- vCardFilename = vCardObj->GetFilename();
+ LoadContactData(vCardObj, htmContactData, SessionID, OldSessionID, MemoryFSListPtr, backgroundColour);
+ ArrayvCardOutData FNList;
+ FNList = vCardObj->GetByPartial(wxT("FN"));
+
+ if (FNList.PropCount > 0){
+ FNList.PropValues[0].Trim();
+ SetTitle(FNList.PropValues[0]);
+ }
+
+ if (StartupMode == false){
+
+ WindowData *WData = new WindowData;