]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/icon.h
made wxDELETE[A]() template functions instead of macros; they now also check that...
[wxWidgets.git] / include / wx / icon.h
index 7d5b946ca59b1d480f70f17bf3a6a8b3db6a2bec..23ece7720ebe71f29dad422cecf767985760e849 100644 (file)
 #elif defined(__WXDFB__)
   #include "wx/generic/icon.h"
 #elif defined(__WXMAC__)
+#if wxOSX_USE_CARBON
   #include "wx/osx/icon.h"
+#else
+  #include "wx/generic/icon.h"
+#endif
 #elif defined(__WXCOCOA__)
   #include "wx/cocoa/icon.h"
 #elif defined(__WXPM__)