#ifndef _WX_LISTBOX_H_
#define _WX_LISTBOX_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "listbox.h"
#endif
#include "wx/ctrlsub.h"
#include "wx/clntdata.h"
-WXDLLEXPORT_DATA(extern const char*) wxListBoxNameStr;
-
// forward decl for GetSelections()
class WXDLLEXPORT wxArrayInt;
-WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
-
// List box item
class WXDLLEXPORT wxListBox: public wxListBoxBase
{
virtual void DoToggleItem(int item, int x) {};
#endif
protected:
+ virtual wxSize DoGetBestSize() const;
+
int m_noItems;
// List mapping positions->client data