diff options
Diffstat (limited to 'support/dktools/DkClockTaskbarIcon.h')
-rw-r--r-- | support/dktools/DkClockTaskbarIcon.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/support/dktools/DkClockTaskbarIcon.h b/support/dktools/DkClockTaskbarIcon.h deleted file mode 100644 index 34f963c291..0000000000 --- a/support/dktools/DkClockTaskbarIcon.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright (C) 2013-2020, Dirk Krause -SPDX-License-Identifier: BSD-3-Clause -*/ - -/* - WARNING: This file was generated by the dkct program (see - http://dktools.sourceforge.net/ for details). - Changes you make here will be lost if dkct is run again! - You should modify the original source and run dkct on it. - Original source: DkClockTaskbarIcon.cpt -*/ - -/** @file DkClockTaskbarIcon.h Header file for the DkClockTaskbarIcon module. -*/ - -#ifndef DKCLOCKTASKBARICON_H_INCLUDED -/** Avoid multiple inclusions. */ -#define DKCLOCKTASKBARICON_H_INCLUDED 1 - - -#line 10 "DkClockTaskbarIcon.cpt" - -class DkClockTaskbarIcon : public wxTaskBarIcon -{ - private: - - /** Localized texts. - */ - wxChar const * const *sTexts; - - /** Parent window. - */ - wxFrame *wParent; - - public: - - /** Constructor. - @param pParent Parent window. - @param localizedTexts Localized texts. - */ - DkClockTaskbarIcon( - wxFrame *pParent, - wxChar const * const *localizedTexts -#if defined(__WXCOCOA__) - , wxTaskBarIconType iconType = DEFAULT_TYPE -#endif - ); - - /** Handler for double-click on taskbar icon. - */ - void - OnLeftButtonDoubleClick(wxTaskBarIconEvent & event); - - /** Handler for menu item to restore window. - */ - void - OnMenuRestore(wxCommandEvent & event); - - /** Handler for menu item to exit application. - */ - void - OnMenuExit(wxCommandEvent & event); - - /** Create popup menu for taskbar icon. - @return The menu just created. - */ - virtual - wxMenu * - CreatePopupMenu(); - - /** Event table for task bar icon. - */ -#if wxCHECK_VERSION(3,0,0) - wxDECLARE_EVENT_TABLE(); -#else - DECLARE_EVENT_TABLE() -#endif -}; - - -#endif |