diff options
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 6 | ||||
-rw-r--r-- | svtools/source/inc/svimpbox.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index a72df0fd7b2a..0162b97c739a 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -89,8 +89,8 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS nNodeBmpWidth = 0; bAsyncBeginDrag = false; - aAsyncBeginDragTimer.SetTimeout(0); - aAsyncBeginDragTimer.SetTimeoutHdl( LINK(this,SvImpLBox,BeginDragHdl)); + aAsyncBeginDragIdle.SetPriority( VCL_IDLE_PRIORITY_HIGHEST ); + aAsyncBeginDragIdle.SetIdleHdl( LINK(this,SvImpLBox,BeginDragHdl)); // button animation in listbox pActiveButton = 0; pActiveEntry = 0; @@ -2933,7 +2933,7 @@ void SvImpLBox::BeginDrag() else { aAsyncBeginDragPos = aSelEng.GetMousePosPixel(); - aAsyncBeginDragTimer.Start(); + aAsyncBeginDragIdle.Start(); } } diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index c98b62c4d730..84a5235d9758 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -125,7 +125,7 @@ private: Size aOutputSize; SelectionEngine aSelEng; ImpLBSelEng aFctSet; - Timer aAsyncBeginDragTimer; + Idle aAsyncBeginDragIdle; Point aAsyncBeginDragPos; long nYoffsNodeBmp; |