Bug 500208: select element should update label when script changes selection, r=bzbarsky

This commit is contained in:
Mark Finkle
2009-07-06 09:39:54 -04:00
parent 990d467584
commit c69d87c9f5
2 changed files with 3 additions and 4 deletions

View File

@@ -1519,16 +1519,14 @@ nsComboboxControlFrame::RestoreState(nsPresState* aState)
// Camino uses a native widget for the combobox
// popup, which affects drawing and event
// handling here and in nsListControlFrame.
//
// Also, Fennec use a custom combobox built-in widget
//
/* static */
PRBool
nsComboboxControlFrame::ToolkitHasNativePopup()
{
#ifdef XP_MACOSX
return nsContentUtils::GetBoolPref("ui.use_native_popup_windows");
#else
return PR_FALSE;
#endif
}