]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/aboutdlg.cpp
better guarding when no printing architecture exists (patch from Joel Low)
[wxWidgets.git] / src / osx / carbon / aboutdlg.cpp
index 243de8b7d7b2a1a69358fdf82a8d417ba4ca8b01..49dd82abfa2b4b4c2067221b487ea6b835a04e55 100644 (file)
@@ -27,7 +27,7 @@
 #include "wx/aboutdlg.h"
 #include "wx/generic/aboutdlgg.h"
 
-#include "wx/mac/private.h"
+#include "wx/osx/private.h"
 
 // helper class for HIAboutBox options
 class AboutBoxOptions : public wxCFRef<CFMutableDictionaryRef>
@@ -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
-#ifndef __LP64__
+#if wxOSX_USE_CARBON
     if ( info.IsSimple() )
     {
         AboutBoxOptions opts;