void frmContactEditorVendor::SetEditorMode(bool EditMode)
{
+
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
void frmContactEditorVendor::ProcessAction( wxCommandEvent& event )
{
+ // Process action.
+
if (EditorMode == FALSE){
wxString strValue;
wxListCtrl *VendorListCtrl,
int VendorIndex )
{
-
+ // Setup the pointers.
+
VendorListPtr = VendorList;
VendorListPENPtr = VendorListPEN;
VendorListElementPtr = VendorListElement;
void frmContactEditorVendor::CloseWindow( wxCommandEvent& event )
{
+
+ // Close the window.
+
this->Close();
+
}