Skip to content

Commit

Permalink
Don't enable drag & drop on scrollbars. r=pink,hyatt
Browse files Browse the repository at this point in the history
  • Loading branch information
waterson%netscape.com committed Nov 2, 1999
1 parent 499ae85 commit 230c175
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions view/src/nsScrollingView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,8 @@ NS_IMETHODIMP nsScrollingView::CreateScrollControls(nsNativeWidget aNative)
rv = mVScrollBarView->Init(mViewManager, trect, this);
rv = mViewManager->InsertChild(this, mVScrollBarView, mZindex);
rv = mVScrollBarView->CreateWidget(kCScrollbarIID, &initData,
mWindow ? nsnull : aNative);
mWindow ? nsnull : aNative,
PR_FALSE);

nsIView *scrolledView;
GetScrolledView(scrolledView);
Expand Down Expand Up @@ -900,7 +901,8 @@ NS_IMETHODIMP nsScrollingView::CreateScrollControls(nsNativeWidget aNative)
rv = mHScrollBarView->Init(mViewManager, trect, this);
rv = mViewManager->InsertChild(this, mHScrollBarView, mZindex);
rv = mHScrollBarView->CreateWidget(kCHScrollbarIID, &initData,
mWindow ? nsnull : aNative);
mWindow ? nsnull : aNative,
PR_FALSE);
}

NS_RELEASE(dx);
Expand Down

0 comments on commit 230c175

Please sign in to comment.