Index: modules/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy.module,v
retrieving revision 1.229
diff -u -F^f -r1.229 taxonomy.module
--- modules/taxonomy.module	11 Oct 2005 19:44:35 -0000	1.229
+++ modules/taxonomy.module	13 Oct 2005 20:17:47 -0000
@@ -904,7 +904,11 @@ function _taxonomy_term_select($title, $
       $value = $tree[0]->tid;
     }
   }
-  return array('#type' => 'select', '#title' => $title, '#default_value' => $value, '#options' => $options, '#description' => $description, '#multiple' => $multiple, '#size' => $multiple ? 'size="'. min(12, count($options)) .'"' : 0, '#weight' => -15);
+  return array('#type' => 'select', '#title' => $title, '#default_value' => $value, '#options' => $options, '#description' => $description, '#multiple' => $multiple, '#size' => $multiple ? 'size="'. min(12, count($options)) .'"' : 0, '#weight' => -15, '#theme' => '_taxonomy_term_select');
+}
+
+function theme__taxonomy_term_select($element) {
+  return theme('select', $element);
 }
 
 function _taxonomy_depth($depth, $graphic = '--') {
