X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fwidgets%2FXCEventMenu.h;h=dab602355e727c4204026f82d8d50eef8896850a;hp=a02a01d2ae93a04310ee60107720248a364558ee;hb=902d948e5e45ad483c8e235690dda8f2bf596ad5;hpb=cba151c4b833a26c63984769f921bab5e755decd diff --git a/source/widgets/XCEventMenu.h b/source/widgets/XCEventMenu.h index a02a01d..dab6023 100644 --- a/source/widgets/XCEventMenu.h +++ b/source/widgets/XCEventMenu.h @@ -36,26 +36,24 @@ class XCEventMenuADT : public wxMenu protected: virtual void ProcessMenuItemClick(wxCommandEvent& event) {event.Skip();}; - public: - XCEventMenuADT(){}; - ~XCEventMenuADT(){}; }; class XCEventMenu : public XCEventMenuADT { private: - std::map MenuItems = {}; - wxWindow *WindowPtr = NULL; - bool EnableAccountSettings = FALSE; - bool SearchModeOnly = FALSE; + std::map menuItems = {}; + wxWindow *windowPtr = NULL; + bool enableAccountSettings = FALSE; + bool searchModeOnly = FALSE; + int calendarID = 0; + int eventID = 0; void AppendMenuItem(wxString ObjectName, wxString MenuName, wxString MenuDescription, XCEventMenuID ItemID, wxItemKind ItemType); - int calendarID = 0; - int eventID = 0; + protected: void ProcessMenuItemClick(wxCommandEvent& event); public: