X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2FfrmPreferences.h;h=179d7a71a03a93e2bf206577658862280aaa24a0;hp=a56366783ee27e7be8e9835e70c17ba22e2087a4;hb=f69e09d827e06435ea94bb73aa71ab5f9d5c035b;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc diff --git a/source/frmPreferences.h b/source/frmPreferences.h index a563667..179d7a7 100644 --- a/source/frmPreferences.h +++ b/source/frmPreferences.h @@ -1,3 +1,21 @@ +// frmPreferences.h - Preferences form header. +// +// (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 + #ifndef __frmPreferences__ #define __frmPreferences__ @@ -20,13 +38,17 @@ class frmPreferences : public frmPreferencesADT void DisableABButtons( wxListEvent& event ); void DeleteABAccount( wxCommandEvent& event ); void ModifyABAccount( wxCommandEvent& event ); + void ModifyABAccount( wxMouseEvent& event ); void SavePreferences( wxCommandEvent &event ); void AddABAccount( wxCommandEvent &event ); + void EnableBackgroundColourPicker( wxCommandEvent &event ); + void CloseWindow( wxCommandEvent &event ); private: void ReloadAccounts(); wxImageList *AccImgList = new wxImageList(16,16,true,wxIMAGE_LIST_SMALL); int AccountID = 0; int AccountNetID = 0; + int AccountUnsupportedID = 0; XABPreferences *preferences; wxString preffilename; bool FirstLoad = TRUE;