From c70fd2cc0c998df9f9d9bed38ac546c60d649d2d Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Mon, 27 Aug 2001 13:24:58 +0000 Subject: #91566# enable undo/redo for table movement --- dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx') diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx index b0d83447e2e5..6852acb6760b 100644 --- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx @@ -2,9 +2,9 @@ * * $RCSfile: QueryMoveTabWinUndoAct.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2001-02-05 09:25:03 $ + * last change: $Author: oj $ $Date: 2001-08-27 14:24:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,15 +62,15 @@ #ifndef DBAUI_OQUERYMOVETABWINUNDOACT_HXX #include "QueryMoveTabWinUndoAct.hxx" #endif -#ifndef DBAUI_QUERYTABLEVIEW_HXX -#include "QueryTableView.hxx" +#ifndef DBAUI_JOINTABLEVIEW_HXX +#include "JoinTableView.hxx" #endif #ifndef DBAUI_QUERY_TABLEWINDOW_HXX #include "QTableWindow.hxx" #endif using namespace dbaui; //------------------------------------------------------------------------------ -void OQueryMoveTabWinUndoAct::TogglePosition() +void OJoinMoveTabWinUndoAct::TogglePosition() { Point ptFrameScrollPos(m_pOwner->GetHScrollBar()->GetThumbPos(), m_pOwner->GetVScrollBar()->GetThumbPos()); Point ptNext = m_pTabWin->GetPosPixel() + ptFrameScrollPos; -- cgit