]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/icon.h
compilation fix for Borland C++
[wxWidgets.git] / include / wx / icon.h
index 50dda58d637c92d934548a46f8b670006ea771ec..f4f92e7451ecac755c3db0cabed0c238eaeb0c1f 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/iconloc.h"
 
 #if defined(__WXPALMOS__)
-  #include "wx/palmos/icon.h"
+  #include "wx/generic/icon.h"
 #elif defined(__WXMSW__)
   #include "wx/msw/icon.h"
 #elif defined(__WXMOTIF__)
@@ -29,6 +29,8 @@
 #elif defined(__WXMGL__)
   #define wxICON_DEFAULT_BITMAP_TYPE wxBITMAP_TYPE_ICO_RESOURCE
   #include "wx/generic/icon.h"
+#elif defined(__WXDFB__)
+  #include "wx/generic/icon.h"
 #elif defined(__WXMAC__)
   #include "wx/mac/icon.h"
 #elif defined(__WXCOCOA__)
   #include "wx/os2/icon.h"
 #endif
 
+//-----------------------------------------------------------------------------
+// wxVariant support
+//-----------------------------------------------------------------------------
+
+#if wxUSE_VARIANT
+#include "wx/variant.h"
+DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLEXPORT)
+#endif
+
+
 #endif
     // _WX_ICON_H_BASE_