#include "wx/choice.h"
+#if wxUSE_CHOICE
+
#include "gdk/gdk.h"
#include "gtk/gtk.h"
PreCreation( parent, id, pos, size, style, name );
+#if wxUSE_VALIDATORS
SetValidator( validator );
+#endif
m_widget = gtk_option_menu_new();
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
- if (string == wxString(label->label,*wxConv_current))
+ if (string == wxString(label->label,*wxConvCurrent))
return count;
child = child->next;
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
- return wxString(label->label,*wxConv_current);
+ return wxString(label->label,*wxConvCurrent);
}
child = child->next;
count++;
wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
- return wxString(label->label,*wxConv_current);
+ return wxString(label->label,*wxConvCurrent);
}
int wxChoice::Number() const
}
}
+#endif