]> git.saurik.com Git - wxWidgets.git/blob - include/wx/icon.h
in release builds gcc on osx evaporates these inlines if not WXEXPORTed
[wxWidgets.git] / include / wx / icon.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/icon.h
3 // Purpose: wxIcon base header
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // RCS-ID: $Id$
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_ICON_H_BASE_
13 #define _WX_ICON_H_BASE_
14
15 #include "wx/iconloc.h"
16
17 #if defined(__WXPALMOS__)
18 #include "wx/generic/icon.h"
19 #elif defined(__WXMSW__)
20 #include "wx/msw/icon.h"
21 #elif defined(__WXMOTIF__)
22 #include "wx/motif/icon.h"
23 #elif defined(__WXGTK20__)
24 #include "wx/generic/icon.h"
25 #elif defined(__WXGTK__)
26 #include "wx/generic/icon.h"
27 #elif defined(__WXX11__)
28 #include "wx/generic/icon.h"
29 #elif defined(__WXMGL__)
30 #define wxICON_DEFAULT_BITMAP_TYPE wxBITMAP_TYPE_ICO_RESOURCE
31 #include "wx/generic/icon.h"
32 #elif defined(__WXDFB__)
33 #include "wx/generic/icon.h"
34 #elif defined(__WXMAC__)
35 #if wxOSX_USE_COCOA_OR_CARBON
36 #include "wx/osx/icon.h"
37 #else
38 #include "wx/generic/icon.h"
39 #endif
40 #elif defined(__WXCOCOA__)
41 #include "wx/cocoa/icon.h"
42 #elif defined(__WXPM__)
43 #include "wx/os2/icon.h"
44 #endif
45
46 //-----------------------------------------------------------------------------
47 // wxVariant support
48 //-----------------------------------------------------------------------------
49
50 #if wxUSE_VARIANT
51 #include "wx/variant.h"
52 DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLIMPEXP_CORE)
53 #endif
54
55
56 #endif
57 // _WX_ICON_H_BASE_