]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_ICON_H_BASE_ |
2 | #define _WX_ICON_H_BASE_ | |
c801d85f | 3 | |
03f38c58 VZ |
4 | // this is for Unix (i.e. now for anything other than MSW) |
5 | #undef wxICON | |
6 | #define wxICON(icon_name) wxIcon(icon_name##_xpm) | |
7 | ||
2049ba38 | 8 | #if defined(__WXMSW__) |
03f38c58 VZ |
9 | // under Windows, icon name is the ressource id (string) |
10 | #undef wxICON | |
11 | #define wxICON(icon_name) wxIcon(#icon_name) | |
12 | ||
13 | #include "wx/msw/icon.h" | |
2049ba38 | 14 | #elif defined(__WXMOTIF__) |
03f38c58 | 15 | #include "wx/motif/icon.h" |
2049ba38 | 16 | #elif defined(__WXGTK__) |
03f38c58 | 17 | #include "wx/gtk/icon.h" |
b4e76e0d | 18 | #elif defined(__WXQT__) |
03f38c58 | 19 | #include "wx/qt/icon.h" |
34138703 | 20 | #elif defined(__WXMAC__) |
03f38c58 | 21 | #include "wx/mac/icon.h" |
34138703 | 22 | #elif defined(__WXSTUBS__) |
03f38c58 | 23 | #include "wx/stubs/icon.h" |
c801d85f KB |
24 | #endif |
25 | ||
26 | #endif | |
34138703 | 27 | // _WX_ICON_H_BASE_ |