Browse Source

Minor fix for iPhone.

tags/2021-05-28
Julian Storer 15 years ago
parent
commit
75a65399ff
3 changed files with 3 additions and 10 deletions
  1. +2
    -6
      juce_amalgamated.cpp
  2. +0
    -2
      src/native/mac/juce_iphone_MessageManager.mm
  3. +1
    -2
      src/native/mac/juce_mac_Debugging.mm

+ 2
- 6
juce_amalgamated.cpp View File

@@ -234720,8 +234720,7 @@ void SystemTrayIconComponent::setIconTooltip (const String& tooltip)

void PlatformUtilities::beep()
{
fprintf (stdout, "\a");
fflush (stdout);
std::cout << "\a" << std::flush;
}

bool AlertWindow::showNativeDialogBox (const String& title,
@@ -239497,8 +239496,7 @@ void juce_updateMultiMonitorInfo (Array <Rectangle>& monitorCoords, const bool c

void Logger::outputDebugString (const String& text) throw()
{
fputs (text.toUTF8(), stderr);
fputs ("\n", stderr);
std::cerr << (const char*) text.toUTF8() << std::endl;
}

void Logger::outputDebugPrintf (const tchar* format, ...) throw()
@@ -241695,8 +241693,6 @@ void MessageManager::runDispatchLoop()
runDispatchLoopUntil (-1);
}

static const int quitMessageId = 0xfffff321;

void MessageManager::stopDispatchLoop()
{
exit (0); // iPhone apps get no mercy..


+ 0
- 2
src/native/mac/juce_iphone_MessageManager.mm View File

@@ -136,8 +136,6 @@ void MessageManager::runDispatchLoop()
runDispatchLoopUntil (-1);
}
static const int quitMessageId = 0xfffff321;
void MessageManager::stopDispatchLoop()
{
exit (0); // iPhone apps get no mercy..


+ 1
- 2
src/native/mac/juce_mac_Debugging.mm View File

@@ -30,8 +30,7 @@
//==============================================================================
void Logger::outputDebugString (const String& text) throw()
{
fputs (text.toUTF8(), stderr);
fputs ("\n", stderr);
std::cerr << (const char*) text.toUTF8() << std::endl;
}
void Logger::outputDebugPrintf (const tchar* format, ...) throw()


Loading…
Cancel
Save