projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sorry, should be a __UNIX__ test
[wxWidgets.git]
/
include
/
wx
/
os2
/
icon.h
diff --git
a/include/wx/os2/icon.h
b/include/wx/os2/icon.h
index ca57b257cc809ad7b0b51cb21ac3ff30bdcbac3f..2f000c4aa4b08299050d44e09b1990868f579d2f 100644
(file)
--- a/
include/wx/os2/icon.h
+++ b/
include/wx/os2/icon.h
@@
-16,23
+16,11
@@
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-// compatible (even if incorrect) behaviour by default: derive wxIcon from
-// wxBitmap
-#ifndef wxICON_IS_BITMAP
- #define wxICON_IS_BITMAP 1
-#endif
-
#include "wx/bitmap.h"
#include "wx/bitmap.h"
-#i
f wxICON_IS_BITMAP
+#i
nclude "wx/os2/gdiimage.h"
- #define wxIconRefDataBase wxBitmapRefData
- #define wxIconBase wxBitmap
-#else
- #include "wx/os2/gdiimage.h"
-
- #define wxIconRefDataBase wxGDIImageRefData
- #define wxIconBase wxGDIImage
-#endif
+#define wxIconRefDataBase wxGDIImageRefData
+#define wxIconBase wxGDIImage
class WXDLLEXPORT wxIconRefData: public wxIconRefDataBase
{
class WXDLLEXPORT wxIconRefData: public wxIconRefDataBase
{