add call to combobox for setting the frame constructor

b=28593, r=evaughan a=jar
This commit is contained in:
rods%netscape.com 2000-03-03 04:30:32 +00:00
parent 3aecf61eed
commit cf53860ce3
2 changed files with 2 additions and 6 deletions

View File

@ -2974,9 +2974,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresShell* aPresShell,
nsIComboboxControlFrame* comboBox = nsnull;
if (NS_SUCCEEDED(comboboxFrame->QueryInterface(kIComboboxControlFrameIID, (void**)&comboBox))) {
// XXX added for Rods code. -EDV
//comboBox->SetFrameConstructor(this);
comboBox->SetFrameConstructor(this);
// Create a listbox
nsIFrame * listFrame;

View File

@ -2974,9 +2974,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresShell* aPresShell,
nsIComboboxControlFrame* comboBox = nsnull;
if (NS_SUCCEEDED(comboboxFrame->QueryInterface(kIComboboxControlFrameIID, (void**)&comboBox))) {
// XXX added for Rods code. -EDV
//comboBox->SetFrameConstructor(this);
comboBox->SetFrameConstructor(this);
// Create a listbox
nsIFrame * listFrame;