diff --git a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp index bf564e645d..c5aa812ced 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp @@ -1572,15 +1572,6 @@ public: info.rcWindow.right - info.rcClient.right }; } - BorderSize getScaledBorderSize() const - { - const auto physical = findPhysicalBorderSize(); - return { (float) physical.getTop() / (float) scaleFactor, - (float) physical.getLeft() / (float) scaleFactor, - (float) physical.getBottom() / (float) scaleFactor, - (float) physical.getRight() / (float) scaleFactor }; - } - void updateBorderSize() { if (renderContext == nullptr) @@ -3348,13 +3339,6 @@ private: && ! isKioskMode(); } - Rectangle getCurrentScaledBounds() const - { - const auto windowBorder = findPhysicalBorderSize().multipliedBy (1.0 / scaleFactor); - const auto unscaled = windowBorder.addedTo (detail::ScalingHelpers::scaledScreenPosToUnscaled (component, component.getBounds())); - return detail::ScalingHelpers::unscaledScreenPosToScaled (component, unscaled); - } - LRESULT handleSizeConstraining (RECT& r, const WPARAM wParam) { if (isConstrainedNativeWindow())