1. wxTimer::Start() returns bool in wxGTK too (other minor corrections
[wxWidgets.git] / include / wx / icon.h
1 #ifndef _WX_ICON_H_BASE_
2 #define _WX_ICON_H_BASE_
3
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
8 #if defined(__WXMSW__)
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"
14 #elif defined(__WXMOTIF__)
15 #include "wx/motif/icon.h"
16 #elif defined(__WXGTK__)
17 #include "wx/gtk/icon.h"
18 #elif defined(__WXQT__)
19 #include "wx/qt/icon.h"
20 #elif defined(__WXMAC__)
21 #include "wx/mac/icon.h"
22 #elif defined(__WXSTUBS__)
23 #include "wx/stubs/icon.h"
24 #endif
25
26 #endif
27 // _WX_ICON_H_BASE_