Backing out changes for bug 326944, really this time\!

This commit is contained in:
roc+@cs.cmu.edu
2006-02-27 04:13:51 +00:00
parent 8f10cbef4b
commit 0efab978e0
14 changed files with 49 additions and 70 deletions

View File

@@ -362,9 +362,9 @@ nsComboboxControlFrame::QueryInterface(const nsIID& aIID, void** aInstancePtr)
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
if (aIID.Equals(GetCID())) {
*aInstancePtr = this;
if (aIID.Equals(NS_GET_IID(nsIComboboxControlFrame))) {
*aInstancePtr = (void*)(nsIComboboxControlFrame*)this;
return NS_OK;
} else if (aIID.Equals(NS_GET_IID(nsIFormControlFrame))) {
*aInstancePtr = (void*)(nsIFormControlFrame*)this;
@@ -1551,6 +1551,12 @@ nsComboboxControlFrame::SetDropDown(nsIFrame* aDropDownFrame)
CallQueryInterface(mDropdownFrame, &mListControlFrame);
}
nsIFrame*
nsComboboxControlFrame::GetDropDown()
{
return mDropdownFrame;
}
// Toggle dropdown list.
NS_IMETHODIMP