mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Added nsScrollbarButtonFrame.cpp, and fix constness of MouseClicked param.
This commit is contained in:
parent
31010fa35d
commit
a6db1c955a
Binary file not shown.
@ -999,7 +999,7 @@ nsTitledButtonFrame::SetCurrentCheckState(CheckState aState)
|
||||
// If the state is mixed, then set it to off. You can't ever get back to mixed.
|
||||
//
|
||||
void
|
||||
nsTitledButtonFrame::MouseClicked ( const nsIPresContext & aPresContext)
|
||||
nsTitledButtonFrame::MouseClicked (nsIPresContext & aPresContext)
|
||||
{
|
||||
// if we are not toggling then do nothing
|
||||
CheckState oldState = GetCurrentCheckState();
|
||||
|
@ -91,7 +91,7 @@ protected:
|
||||
void SetCurrentCheckState(CheckState aState);
|
||||
|
||||
|
||||
virtual void MouseClicked(const nsIPresContext & aPresContext);
|
||||
virtual void MouseClicked(nsIPresContext & aPresContext);
|
||||
|
||||
|
||||
NS_IMETHOD PaintTitle(nsIPresContext& aPresContext,
|
||||
|
Loading…
Reference in New Issue
Block a user