X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FAppXestiaAddrBk.h;h=72fe4333181facdbcffaaff75140cad5f1ec1283;hb=e0521275eee34ef6feb06612512c611bb3c3b518;hp=6e59e88d158c353eb65d0af9565ef8f6f94fd3f5;hpb=79157d6a23a39a27975e869e3088f0bb758809e5;p=xestiaab%2F.git diff --git a/source/AppXestiaAddrBk.h b/source/AppXestiaAddrBk.h index 6e59e88..72fe433 100644 --- a/source/AppXestiaAddrBk.h +++ b/source/AppXestiaAddrBk.h @@ -50,8 +50,8 @@ /////////////////////////////////////////////////////////////////////////// #define ID_MANAGE_NEWAB 1000 -#define ID_MANAGE_IMPORT 1001 -#define ID_MANAGE_EXPORT 1002 +#define ID_IMPORT 1001 +#define ID_EXPORT 1002 #define ID_CONTACT_EDIT 1003 #define ID_CONTACT_DELETE 1004 #define ID_VIEW_FNLN 1005 @@ -96,14 +96,14 @@ class frmMainADT : public wxFrame wxComboCtrl* AccCtrl; wxSplitterWindow* m_splitter13; wxPanel* m_panel19; - wxFlexGridSizer* szrContactList; - wxFlexGridSizer* szrAccList; + wxBoxSizer* szrContactList; wxListCtrl* lstContacts; wxPanel* m_panel20; wxHtmlWindow* htmContactData; wxStatusBar* stbBottom; // Virtual event handlers, overide them in your derived class + virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); } virtual void OpenNewABDialog( wxCommandEvent& event ) { event.Skip(); } virtual void RefreshAddressBook( wxCommandEvent& event ) { event.Skip(); } virtual void OpenImportDialog( wxCommandEvent& event ) { event.Skip(); } @@ -128,21 +128,22 @@ class frmMainADT : public wxFrame virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); } virtual void CheckUpdates( wxCommandEvent& event ) { event.Skip(); } virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenContactInfo( wxListEvent& event ) { event.Skip(); } + virtual void OpenContactInfoList( wxListEvent& event ) { event.Skip(); } virtual void ShowContactInfo( wxListEvent& event ) { event.Skip(); } + virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } virtual void ShowContactSubmenu( wxMouseEvent& event ) { event.Skip(); } virtual void UpdateSBIconPlacement( wxSizeEvent& event ) { event.Skip(); } public: - frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE ); + frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 745,476 ), long style = wxDEFAULT_FRAME_STYLE ); ~frmMainADT(); void m_splitter13OnIdle( wxIdleEvent& ) { - m_splitter13->SetSashPosition( 314 ); + m_splitter13->SetSashPosition( 201 ); m_splitter13->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this ); } @@ -204,12 +205,15 @@ class frmSearchADT : public wxFrame wxListCtrl* lstResults; wxMenuBar* m_menubar5; wxMenu* mnuContact; + wxMenuItem* mnuContactEdit; + wxMenuItem* mnuContactReveal; // Virtual event handlers, overide them in your derived class virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } virtual void SelectAccounts( wxCommandEvent& event ) { event.Skip(); } virtual void SearchContacts( wxCommandEvent& event ) { event.Skip(); } virtual void ResetContacts( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } virtual void OpenContact( wxCommandEvent& event ) { event.Skip(); } virtual void EditContact( wxCommandEvent& event ) { event.Skip(); } virtual void RevealContact( wxCommandEvent& event ) { event.Skip(); } @@ -1644,7 +1648,7 @@ class frmContactEditorTelephoneADT : public wxDialog public: - frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Telephone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 401,262 ), long style = wxDEFAULT_DIALOG_STYLE ); + frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Telephone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 401,307 ), long style = wxDEFAULT_DIALOG_STYLE ); ~frmContactEditorTelephoneADT(); };