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
Version 0.18 release
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditor-Logo.cpp
diff --git
a/source/contacteditor/frmContactEditor-Logo.cpp
b/source/contacteditor/frmContactEditor-Logo.cpp
index
cf9e3f4
..
7aa3309
100644
(file)
--- a/
source/contacteditor/frmContactEditor-Logo.cpp
+++ b/
source/contacteditor/frmContactEditor-Logo.cpp
@@
-46,8
+46,7
@@
void frmContactEditor::LoadLogo( wxListEvent& event )
wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size());
wxImage photo;
wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size());
wxImage photo;
- //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size());
-
+
if (pictypeiter->second == wxT("image/jpeg")){
if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
if (pictypeiter->second == wxT("image/jpeg")){
if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
@@
-87,12
+86,9
@@
void frmContactEditor::AddLogo( wxCommandEvent& event )
{
// Bring up the window to add a logo.
{
// Bring up the window to add a logo.
-
- int intResult = 0;
-
+
frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
frameCELogo->SetEditorMode(FALSE);
frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
frameCELogo->SetEditorMode(FALSE);
- intResult = GetLastInt(&ContactEditorData.LogosList);
frameCELogo->SetupPointers(&ContactEditorData.LogosList,
&ContactEditorData.LogosListAltID,
&ContactEditorData.LogosListPID,
frameCELogo->SetupPointers(&ContactEditorData.LogosList,
&ContactEditorData.LogosListAltID,
&ContactEditorData.LogosListPID,
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy