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
Fixed spacing between include files and first test.
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorRoles.cpp
diff --git
a/source/contacteditor/frmContactEditorRoles.cpp
b/source/contacteditor/frmContactEditorRoles.cpp
index
81d21fc
..
30a20b4
100644
(file)
--- a/
source/contacteditor/frmContactEditorRoles.cpp
+++ b/
source/contacteditor/frmContactEditorRoles.cpp
@@
-26,21
+26,31
@@
frmContactEditorRoles::frmContactEditorRoles( wxWindow* parent )
:
frmContactEditorRolesADT( parent )
{
:
frmContactEditorRolesADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
}
void frmContactEditorRoles::EnablePriority( wxCommandEvent& event )
{
EditorMode = FALSE;
sliPriority->Disable();
}
void frmContactEditorRoles::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 frmContactEditorRoles::ProcessAction( wxCommandEvent& event )
{
}
void frmContactEditorRoles::ProcessAction( wxCommandEvent& event )
{
+
+ // Process action.
+
// 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
@@
-151,6
+161,9
@@
void frmContactEditorRoles::ProcessAction( wxCommandEvent& event )
void frmContactEditorRoles::SetEditorMode(bool EditMode, SectionType SectType)
{
void frmContactEditorRoles::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
@@
-206,7
+219,11
@@
void frmContactEditorRoles::SetEditorMode(bool EditMode, SectionType SectType)
void frmContactEditorRoles::CloseWindow( wxCommandEvent& event )
{
void frmContactEditorRoles::CloseWindow( wxCommandEvent& event )
{
+
+ // Close this window.
+
this->Close();
this->Close();
+
}
void frmContactEditorRoles::SetupPointers(std::map<int, wxString> *RolesList,
}
void frmContactEditorRoles::SetupPointers(std::map<int, wxString> *RolesList,
@@
-220,6
+237,8
@@
void frmContactEditorRoles::SetupPointers(std::map<int, wxString> *RolesList,
int RolesIndex )
{
int RolesIndex )
{
+ // Setup the pointers.
+
RolesListPtr = RolesList;
RolesListLanguagePtr = RolesListLanguage;
RolesListAltIDPtr = RolesListAltID;
RolesListPtr = RolesList;
RolesListLanguagePtr = RolesListLanguage;
RolesListAltIDPtr = RolesListAltID;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy