]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/utils.cpp
don't add dummy empty line at the end when reading from stream
[wxWidgets.git] / src / mac / carbon / utils.cpp
index cf7d76b624b031ab9fcd4e9f1d2e882d764c5a53..3e999b65e710783333b69f1a4d9dbf876285f91d 100644 (file)
@@ -40,6 +40,7 @@
 #include <Sound.h>
 #endif
 
+#if wxUSE_GUI
 #if TARGET_API_MAC_OSX
 #include <CoreServices/CoreServices.h>
 #else
@@ -50,6 +51,7 @@
 #include <ATSUnicode.h>
 #include <TextCommon.h>
 #include <TextEncodingConverter.h>
+#endif // wxUSE_GUI
 
 #include  "wx/mac/private.h"  // includes mac headers