X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99ab3e3f56ab43fe1127eb565cad1a619cad0499..b1f68ca3455436222b8704dccdecdb06087c4e7f:/include/wx/motif/listbox.h diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index 5f5cbc99c8..ae350046c3 100644 --- a/include/wx/motif/listbox.h +++ b/include/wx/motif/listbox.h @@ -12,20 +12,16 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #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 { @@ -88,6 +84,8 @@ public: virtual void DoToggleItem(int item, int x) {}; #endif protected: + virtual wxSize DoGetBestSize() const; + int m_noItems; // List mapping positions->client data