From cc7b8cc630d8f64b122e164bc6f2eb69c7269c38 Mon Sep 17 00:00:00 2001 From: Hennes Rohling Date: Mon, 16 Jul 2001 15:23:32 +0000 Subject: #89181# Removed old D&D support --- svtools/workben/svdem.cxx | 53 ++--------------------------------------------- 1 file changed, 2 insertions(+), 51 deletions(-) (limited to 'svtools/workben/svdem.cxx') diff --git a/svtools/workben/svdem.cxx b/svtools/workben/svdem.cxx index 9de046fae423..80948e609db2 100644 --- a/svtools/workben/svdem.cxx +++ b/svtools/workben/svdem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdem.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:59:07 $ + * last change: $Author: hro $ $Date: 2001-07-16 16:23:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,7 +61,6 @@ #include #include #include -#include #include #include #include @@ -184,8 +183,6 @@ public: virtual long DeactivatePage(); virtual long AllowRenaming(); virtual void Split(); - virtual void Command( const CommandEvent& rCEvt ); - virtual BOOL QueryDrop( DropEvent& rDEvt ); }; // ----------------------------------------------------------------------- @@ -596,52 +593,6 @@ void MyTabBar::Split() // ----------------------------------------------------------------------- -void MyTabBar::Command( const CommandEvent& rCEvt ) -{ - if ( rCEvt.GetCommand() == COMMAND_STARTDRAG ) - { - Region aRegion; - if ( StartDrag( rCEvt, aRegion ) ) - { - DragServer::Clear(); - DragServer::CopyString( XubString( RTL_CONSTASCII_USTRINGPARAM( "TabBar" ) ) ); - if ( GetSelectPageCount() > 1 ) - { - ExecuteDrag( Pointer( POINTER_MOVEFILES ), - Pointer( POINTER_COPYFILES ), - DRAG_ALL, &aRegion ); - } - else - { - ExecuteDrag( Pointer( POINTER_MOVEFILE ), - Pointer( POINTER_COPYFILE ), - DRAG_ALL, &aRegion ); - } - HideDropPos(); - } - } -} - -// ----------------------------------------------------------------------- - -BOOL MyTabBar::QueryDrop( DropEvent& rDEvt ) -{ - if ( rDEvt.IsLeaveWindow() ) - HideDropPos(); - else - ShowDropPos( rDEvt.GetPosPixel() ); -/* - if ( rDEvt.IsLeaveWindow() ) - EndSwitchPage(); - else - SwitchPage( rDEvt.GetPosPixel() ); -*/ - - return TRUE; -} - -// ----------------------------------------------------------------------- - MyCalendar::MyCalendar( Window* pParent ) : WorkWindow( pParent, WB_STDWORK ), aCalendar( this, WB_TABSTOP | WB_WEEKNUMBER | WB_BOLDTEXT | WB_FRAMEINFO | WB_MULTISELECT ), -- cgit