Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getcontactinfo.cpp: Fix issue with using wxTransparentColour
[xestiaab/.git]
/
source
/
common
/
getcontactinfo.cpp
diff --git
a/source/common/getcontactinfo.cpp
b/source/common/getcontactinfo.cpp
index
1b4a5e6
..
a07ec4a
100644
(file)
--- a/
source/common/getcontactinfo.cpp
+++ b/
source/common/getcontactinfo.cpp
@@
-32,7
+32,7
@@
#include "../vcard/vcard34conv.h"
void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID,
#include "../vcard/vcard34conv.h"
void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID,
- wxString OldSID, std::map<wxString, wxString> *MemoryFSList, wx
String
backgroundColour){
+ wxString OldSID, std::map<wxString, wxString> *MemoryFSList, wx
Colour
backgroundColour){
// Load the vCard contact data into the wxHTMLWindow given.
// Load the vCard contact data into the wxHTMLWindow given.
@@
-554,9
+554,9
@@
void LoadContactData(vCard *vCardObj, wxHtmlWindow *HTMLObj, wxString SID,
}
}
- if (
!backgroundColour.IsEmpty()
){
+ if (
backgroundColour != wxTransparentColour
){
PageData.append("<table CELLPADDING=4 style=\"{background-color: ");
PageData.append("<table CELLPADDING=4 style=\"{background-color: ");
- PageData.append(backgroundColour);
+ PageData.append(backgroundColour
.GetAsString(wxC2S_CSS_SYNTAX)
);
PageData.append("; width: 100%;}\"><tr><td>");
} else {
PageData.append("<table CELLPADDING=4 style=\"{width: 100%;}\"><tr><td>");
PageData.append("; width: 100%;}\"><tr><td>");
} else {
PageData.append("<table CELLPADDING=4 style=\"{width: 100%;}\"><tr><td>");
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy