summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/window.cxx29
1 files changed, 1 insertions, 28 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index f581ce0850b4..a9fe21d0a7a3 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -645,7 +645,7 @@ WindowImpl::WindowImpl( WindowType nType )
mnParentClipMode = ParentClipMode::NONE; // Flags for Parent-ClipChildren-Mode
mnActivateMode = ActivateModeFlags::NONE; // Will be converted in System/Overlap-Windows
mnDlgCtrlFlags = DialogControlFlags::NONE; // DialogControl-Flags
- meAlwaysInputMode = AlwaysInputNone; // neither AlwaysEnableInput nor AlwaysDisableInput called
+ meAlwaysInputMode = AlwaysInputNone; // AlwaysEnableInput not called
meHalign = VclAlign::Fill;
meValign = VclAlign::Fill;
mePackType = VclPackType::Start;
@@ -2634,33 +2634,6 @@ void Window::AlwaysEnableInput( bool bAlways, bool bChild )
}
}
-void Window::AlwaysDisableInput( bool bAlways, bool bChild )
-{
-
- if ( mpWindowImpl->mpBorderWindow )
- mpWindowImpl->mpBorderWindow->AlwaysDisableInput( bAlways, false );
-
- if( bAlways && mpWindowImpl->meAlwaysInputMode != AlwaysInputDisabled )
- {
- mpWindowImpl->meAlwaysInputMode = AlwaysInputDisabled;
- EnableInput(false, false);
- }
- else if( ! bAlways && mpWindowImpl->meAlwaysInputMode == AlwaysInputDisabled )
- {
- mpWindowImpl->meAlwaysInputMode = AlwaysInputNone;
- }
-
- if ( bChild )
- {
- VclPtr< vcl::Window > pChild = mpWindowImpl->mpFirstChild;
- while ( pChild )
- {
- pChild->AlwaysDisableInput( bAlways, bChild );
- pChild = pChild->mpWindowImpl->mpNext;
- }
- }
-}
-
void Window::SetActivateMode( ActivateModeFlags nMode )
{