]> git.saurik.com Git - wxWidgets.git/blob - src/common/taskbarcmn.cpp
return immediately if the XPM is bad instead of spitting out thousands of error messages
[wxWidgets.git] / src / common / taskbarcmn.cpp
1 /////////////////////////////////////////////////////////////////////////
2 // File: taskbarcmn.cpp
3 // Purpose: Common parts of wxTaskBarIcon class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/04/2003
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart, 2003
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
11
12 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "taskbar.h"
14 #endif
15
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
18
19 #include "wx/defs.h"
20
21 #ifdef wxHAS_TASK_BAR_ICON
22
23 // DLL options compatibility check:
24 #include "wx/app.h"
25 WX_CHECK_BUILD_OPTIONS("wxAdvanced")
26
27
28 #include "wx/taskbar.h"
29
30 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_MOVE )
31 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DOWN )
32 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_UP )
33 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DOWN )
34 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_UP )
35 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_LEFT_DCLICK )
36 DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DCLICK )
37
38 #endif //def wxHAS_TASK_BAR_ICON