X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2680ced12cbbed16990007c5fa3ea7730700122..e0e2cbbe946954db58b28aab3d9cc207987a6a5a:/src/osx/carbon/aboutdlg.cpp diff --git a/src/osx/carbon/aboutdlg.cpp b/src/osx/carbon/aboutdlg.cpp index 49dd82abfa..061a42b2a5 100644 --- a/src/osx/carbon/aboutdlg.cpp +++ b/src/osx/carbon/aboutdlg.cpp @@ -61,7 +61,7 @@ void wxAboutBox(const wxAboutDialogInfo& info) // Mac native about box currently can show only name, version, copyright // and description fields and we also shoehorn the credits text into the // description but if we have anything else we must use the generic version -#if wxOSX_USE_CARBON + if ( info.IsSimple() ) { AboutBoxOptions opts; @@ -82,7 +82,6 @@ void wxAboutBox(const wxAboutDialogInfo& info) HIAboutBox(opts); } else // simple "native" version is not enough -#endif { // we need to use the full-blown generic version wxGenericAboutBox(info);