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
Added unit tests for CommonFunctions/ResetUnusedString
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorIM.cpp
diff --git
a/source/contacteditor/frmContactEditorIM.cpp
b/source/contacteditor/frmContactEditorIM.cpp
index
9d22d94
..
dba7cba
100644
(file)
--- a/
source/contacteditor/frmContactEditorIM.cpp
+++ b/
source/contacteditor/frmContactEditorIM.cpp
@@
-26,6
+26,9
@@
frmContactEditorIM::frmContactEditorIM( wxWindow* parent )
:
frmContactEditorIMADT( parent )
{
:
frmContactEditorIMADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
EditorMode = FALSE;
sliPriority->Disable();
@@
-43,16
+46,22
@@
frmContactEditorIMADT( parent )
void frmContactEditorIM::EnablePriority( wxCommandEvent& event )
{
void frmContactEditorIM::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorIM::ProcessAction( wxCommandEvent& event )
{
}
void frmContactEditorIM::ProcessAction( wxCommandEvent& event )
{
+ // Process the action.
+
long ListCtrlIndex;
// Check if IM type is empty and if it is then
long ListCtrlIndex;
// Check if IM type is empty and if it is then
@@
-263,11
+272,18
@@
void frmContactEditorIM::ProcessAction( wxCommandEvent& event )
void frmContactEditorIM::CloseWindow( wxCommandEvent& event )
{
void frmContactEditorIM::CloseWindow( wxCommandEvent& event )
{
+
+ // Close the window.
+
this->Close();
this->Close();
+
}
void frmContactEditorIM::SetEditorMode(bool EditMode, SectionType SectType)
{
}
void frmContactEditorIM::SetEditorMode(bool EditMode, SectionType SectType)
{
+
+ // Set the editor mode.
+
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
@@
-384,6
+400,8
@@
void frmContactEditorIM::SetupPointers( std::map<int, wxString> *IMList,
int IMIndex )
{
int IMIndex )
{
+ // Setup the pointers.
+
IMListPtr = IMList;
IMListAltIDPtr = IMListAltID;
IMListPIDPtr = IMListPID;
IMListPtr = IMList;
IMListAltIDPtr = IMListAltID;
IMListPIDPtr = IMListPID;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy