mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
add call to combobox for setting the frame constructor
b=28593, r=evaughan a=jar
This commit is contained in:
parent
3aecf61eed
commit
cf53860ce3
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user