+void wxComboBox::ChangeFont(bool keepOriginalSize)
+{
+ // Don't use the base class wxChoice's ChangeFont
+ wxWindow::ChangeFont(keepOriginalSize);
+}
+
+void wxComboBox::ChangeBackgroundColour()
+{
+ wxWindow::ChangeBackgroundColour();
+}
+
+void wxComboBox::ChangeForegroundColour()
+{
+ wxWindow::ChangeForegroundColour();
+}
+
+wxSize wxComboBox::DoGetBestSize() const
+{
+ if( (GetWindowStyle() & wxCB_DROPDOWN) == wxCB_DROPDOWN ||
+ (GetWindowStyle() & wxCB_READONLY) == wxCB_READONLY )
+ {
+ wxSize items = GetItemsSize();
+ // FIXME arbitrary constants
+ return wxSize( ( items.x ? items.x + 50 : 120 ),
+ items.y + 10 );
+ }
+ else
+ return wxWindow::DoGetBestSize();
+}
+
+WXWidget wxComboBox::GetTextWidget() const
+{
+ return (WXWidget)XmComboBoxGetEditWidget((Widget) m_mainWidget);
+}
+
+#endif // XmVersion < 2000