X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..f4bc1aa27cb33f679d7e9c1518a7855bbc1fa471:/include/wx/icon.h diff --git a/include/wx/icon.h b/include/wx/icon.h index 6696e9d2ce..fbd402dc17 100644 --- a/include/wx/icon.h +++ b/include/wx/icon.h @@ -32,7 +32,11 @@ #elif defined(__WXDFB__) #include "wx/generic/icon.h" #elif defined(__WXMAC__) - #include "wx/mac/icon.h" +#if wxOSX_USE_COCOA_OR_CARBON + #include "wx/osx/icon.h" +#else + #include "wx/generic/icon.h" +#endif #elif defined(__WXCOCOA__) #include "wx/cocoa/icon.h" #elif defined(__WXPM__)