Browse Source

Fix juce_gui_basics to be GCC4 compatible

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
6babc8a47a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/modules/juce_gui_basics/native/x11/juce_linux_XWindowSystem.cpp
  2. +1
    -1
      source/modules/juce_gui_basics/windows/juce_ComponentPeer.h

+ 1
- 1
source/modules/juce_gui_basics/native/x11/juce_linux_XWindowSystem.cpp View File

@@ -3055,7 +3055,7 @@ void XWindowSystem::handleButtonPressEvent (LinuxComponentPeer<::Window>* peer,
peer->toFront (true);
peer->handleMouseEvent (MouseInputSource::InputSourceType::mouse, getLogicalMousePos (buttonPressEvent, peer->getPlatformScaleFactor()),
ModifierKeys::currentModifiers, MouseInputSource::invalidPressure,
MouseInputSource::invalidOrientation, getEventTime (buttonPressEvent), {});
MouseInputSource::invalidOrientation, getEventTime (buttonPressEvent));
}
void XWindowSystem::handleButtonPressEvent (LinuxComponentPeer<::Window>* peer, const XButtonPressedEvent& buttonPressEvent) const


+ 1
- 1
source/modules/juce_gui_basics/windows/juce_ComponentPeer.h View File

@@ -314,7 +314,7 @@ public:
//==============================================================================
void handleMouseEvent (MouseInputSource::InputSourceType type, Point<float> positionWithinPeer, ModifierKeys newMods, float pressure,
float orientation, int64 time, PenDetails pen = {}, int touchIndex = 0);
float orientation, int64 time, PenDetails pen = PenDetails(), int touchIndex = 0);
void handleMouseWheel (MouseInputSource::InputSourceType type, Point<float> positionWithinPeer,
int64 time, const MouseWheelDetails&, int touchIndex = 0);


Loading…
Cancel
Save