]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/app.cpp
corrected cw6 project files and other small problems
[wxWidgets.git] / src / mac / app.cpp
index 97c3590a5e426afb2a463763be5412a0d5f1f51e..d6cc23bb5886f4e4bf5c3e2b1df49eeba9f6a090 100644 (file)
@@ -53,7 +53,7 @@
 
 #if wxUSE_SOCKETS
     #ifdef __APPLE__
-        #include <OT/OpenTransport.h>
+        #include <CoreServices/CoreServices.h>
     #else
         #include <OpenTransport.h>
         #include <OpenTptInternet.h>
@@ -1469,7 +1469,11 @@ void wxApp::MacHandleOSEvent( EventRecord *ev )
                case suspendResumeMessage :
                        {
                                bool isResuming = ev->message & resumeFlag ;
+#if !TARGET_CARBON
                                bool convertClipboard = ev->message & convertClipboardFlag ;
+#else
+                               bool convertClipboard = false;
+#endif
                                bool doesActivate = UMAGetProcessModeDoesActivateOnFGSwitch() ;
                                if ( isResuming )
                                {