mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Made ResizableWindow slightly more resilient. Added a method to OwnedArray.
This commit is contained in:
parent
b232c71419
commit
79b8ffa007
13 changed files with 127 additions and 95 deletions
|
|
@ -207,9 +207,7 @@ private:
|
|||
(void) numBytes;
|
||||
}
|
||||
|
||||
Message* m = queue[0];
|
||||
queue.remove (0, false /* deleteObject */);
|
||||
return m;
|
||||
return queue.removeAndReturn (0);
|
||||
}
|
||||
|
||||
bool dispatchNextInternalMessage()
|
||||
|
|
@ -380,12 +378,12 @@ void MessageManager::doPlatformSpecificShutdown()
|
|||
}
|
||||
}
|
||||
|
||||
bool juce_postMessageToSystemQueue (void* message)
|
||||
bool juce_postMessageToSystemQueue (Message* message)
|
||||
{
|
||||
if (LinuxErrorHandling::errorOccurred)
|
||||
return false;
|
||||
|
||||
InternalMessageQueue::getInstanceWithoutCreating()->postMessage ((Message*) message);
|
||||
InternalMessageQueue::getInstanceWithoutCreating()->postMessage (message);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue