added taskbarcmn.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-04-05 22:25:36 +00:00
parent 4f5583b5c5
commit 3eae0c0b43
3 changed files with 30 additions and 8 deletions

View File

@ -230,6 +230,7 @@ strconv.cpp Common Base
stream.cpp Common Base
string.cpp Common Base
sysopt.cpp Common Base
taskbarcmn.cpp Common
tbarbase.cpp Common
textbuf.cpp Common Base
textcmn.cpp Common
@ -375,6 +376,7 @@ fontutil.cpp Unix NotCocoa,NotMac,NotMGL,NotMicro
gsocket.c Unix Base,NotMac
mimetype.cpp Unix Base,NotMac,NotMicro
snglinst.cpp Unix Base
taskbarx11.cpp Unix NotMac,NotMGL,NotMicro
threadpsx.cpp Unix Base,NotMac
utilsunx.cpp Unix Base
utilsx11.cpp Unix NotMac,NotMGL,NotMicro
@ -1544,6 +1546,7 @@ execute.h UnixH
fontutil.h UnixH
gsockunx.h UnixH Base
mimetype.h UnixH Base
taskbarx11.h UnixH
utilsx11.h UnixH
file.h ProtoH Base

27
src/common/taskbarcmn.cpp Normal file
View File

@ -0,0 +1,27 @@
/////////////////////////////////////////////////////////////////////////
// File: taskbarcmn.cpp
// Purpose: Common parts of wxTaskBarIcon class
// Author: Julian Smart
// Modified by:
// Created: 04/04/2003
// RCS-ID: $Id$
// Copyright: (c) Julian Smart, 2003
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "taskbar.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/taskbar.h"
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_MOVE )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DOWN )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_UP )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DOWN )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_UP )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DCLICK )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DCLICK )

View File

@ -61,14 +61,6 @@ wxTaskBarIconList wxTaskBarIcon::sm_taskBarIcons;
bool wxTaskBarIcon::sm_registeredClass = FALSE;
UINT wxTaskBarIcon::sm_taskbarMsg = 0;
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_MOVE )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DOWN )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_UP )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DOWN )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_UP )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DCLICK )
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DCLICK )
#if WXWIN_COMPATIBILITY_2_4
BEGIN_EVENT_TABLE(wxTaskBarIcon, wxEvtHandler)
EVT_TASKBAR_MOVE (wxTaskBarIcon::_OnMouseMove)