Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmContactEditor: Stop XAB crashing when pressing Modify/Delete
[xestiaab/.git] / source / contacteditor / frmContactEditorGeoposition.h
index 5872489..0b43ab3 100644 (file)
@@ -1,3 +1,21 @@
+// frmContactEditorGeoposition.cpp - frmContactEditorGeoposition form headers.
+//
+// (c) 2012-2015 Xestia Software Development.
+//
+// This file is part of Xestia Address Book.
+//
+// Xestia Address Book is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Address Book is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
+
 #ifndef __frmContactEditorGeoposition__
 #define __frmContactEditorGeoposition__
 
@@ -11,6 +29,7 @@ Subclass of frmContactEditorGeopositionADT, which is generated by wxFormBuilder.
 #include "../AppXestiaAddrBk.h"
 
 #include "../enums.h"
+#include "../widgets/XABPriorityCtrl.h"
 
 //// end generated include
 
@@ -19,7 +38,6 @@ class frmContactEditorGeoposition : public frmContactEditorGeopositionADT
 {
        protected:
                // Handlers for frmContactEditorGeopositionADT events.
-               void EnablePriority( wxCommandEvent& event );
                void ProcessAction( wxCommandEvent& event );
                void CloseWindow( wxCommandEvent& event );
        public:
@@ -30,6 +48,7 @@ class frmContactEditorGeoposition : public frmContactEditorGeopositionADT
                        std::map<int, wxString> *GeopositionListAltID,
                        std::map<int, wxString> *GeopositionListPID,
                        std::map<int, wxString> *GeopositionListType,
+                       std::map<int, wxString> *GeopositionListDataType,
                        std::map<int, wxString> *GeopositionListTokens,
                        std::map<int, wxString> *GeopositionListMediatype,
                        std::map<int, int> *GeopositionListPref,
@@ -42,13 +61,14 @@ class frmContactEditorGeoposition : public frmContactEditorGeopositionADT
                std::map<int, wxString> *GeopositionListAltIDPtr;
                std::map<int, wxString> *GeopositionListPIDPtr;
                std::map<int, wxString> *GeopositionListTypePtr;
+               std::map<int, wxString> *GeopositionListDataTypePtr;
                std::map<int, wxString> *GeopositionListTokensPtr;
                std::map<int, wxString> *GeopositionListMediatypePtr;
                std::map<int, int> *GeopositionListPrefPtr;
                wxListCtrl *GeopositionListCtrlPtr;
                int GeopositionListIndex;
                SectionType EditSectionType;
-       
+               XABPriorityCtrl *priorityCtrl = nullptr;
 };
 
 #endif // __frmContactEditorGeoposition__
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy