patch-wxwidgets.diff 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff --git src/osx/carbon/dataobj.cpp src/osx/carbon/dataobj.cpp
  2. index 758e3a7928..5445aa6b14 100644
  3. --- src/osx/carbon/dataobj.cpp
  4. +++ src/osx/carbon/dataobj.cpp
  5. @@ -29,10 +29,6 @@
  6. #include "wx/osx/private.h"
  7. -#if wxOSX_USE_COCOA_OR_CARBON
  8. - #include <QuickTime/QuickTime.h>
  9. -#endif
  10. -
  11. // ----------------------------------------------------------------------------
  12. // wxDataFormat
  13. // ----------------------------------------------------------------------------
  14. diff --git src/osx/core/bitmap.cpp src/osx/core/bitmap.cpp
  15. index 3c61c173e7..3322b605fc 100644
  16. --- src/osx/core/bitmap.cpp
  17. +++ src/osx/core/bitmap.cpp
  18. @@ -35,10 +35,6 @@
  19. #include "wx/osx/private.h"
  20. #endif
  21. -#ifndef __WXOSX_IPHONE__
  22. -#include <QuickTime/QuickTime.h>
  23. -#endif
  24. -
  25. CGColorSpaceRef wxMacGetGenericRGBColorSpace();
  26. CGDataProviderRef wxMacCGDataProviderCreateWithMemoryBuffer( const wxMemoryBuffer& buf );
  27. diff --git src/stc/scintilla/src/Editor.cxx src/stc/scintilla/src/Editor.cxx
  28. index cd72953ae7..a3ee41c49b 100644
  29. --- src/stc/scintilla/src/Editor.cxx
  30. +++ src/stc/scintilla/src/Editor.cxx
  31. @@ -5841,9 +5841,9 @@
  32. }
  33. static bool Close(Point pt1, Point pt2) {
  34. - if (abs(pt1.x - pt2.x) > 3)
  35. + if (labs(pt1.x - pt2.x) > 3)
  36. return false;
  37. - if (abs(pt1.y - pt2.y) > 3)
  38. + if (labs(pt1.y - pt2.y) > 3)
  39. return false;
  40. return true;
  41. }