OldSessionID = SessionID;
SessionID = wxString::Format(wxT("%i"), rand() % 32768);
- LoadContactData(vCardObj, htmContactData, SessionID, OldSessionID, MemoryFSListPtr, backgroundColour);
+ wxColour formattedBackgroundColour;
+ if (backgroundColour.IsEmpty())
+ {
+
+ formattedBackgroundColour = wxTransparentColour;
+
+ }
+ else
+ {
+
+ formattedBackgroundColour.Set(backgroundColour);
+
+ }
+
+
+ LoadContactData(vCardObj, htmContactData, SessionID, OldSessionID, MemoryFSListPtr, formattedBackgroundColour);
ArrayvCardOutData FNList;
FNList = vCardObj->GetByPartial(wxT("FN"));