#ifndef _WX_CHOICE_H_
#define _WX_CHOICE_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "choice.h"
#endif
-WXDLLEXPORT_DATA(extern const char*) wxChoiceNameStr;
-
#include "wx/clntdata.h"
-#include "wx/dynarray.h"
-WX_DEFINE_ARRAY(WXWidget, wxWidgetArray);
+#ifndef wxWIDGET_ARRAY_DEFINED
+ #define wxWIDGET_ARRAY_DEFINED
+
+ #include "wx/dynarray.h"
+ WX_DEFINE_ARRAY(WXWidget, wxWidgetArray);
+#endif
// Choice item
class WXDLLEXPORT wxChoice: public wxChoiceBase
// implementation of wxControlWithItems
virtual int GetCount() const;
virtual int DoAppend(const wxString& item);
+ virtual int DoInsert(const wxString& item, int pos);
virtual void DoSetItemClientData(int n, void* clientData);
virtual void* DoGetItemClientData(int n) const;
virtual void DoSetItemClientObject(int n, wxClientData* clientData);