X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b651a467595490343055edef6b16f9283e501a6..79e929e79ebbd2e1c4ff7f35d619c0b8b30f0135:/include/wx/mac/listbox.h?ds=sidebyside diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index e35fb87b2f..0d8f38b53e 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -1,25 +1,27 @@ ///////////////////////////////////////////////////////////////////////////// // Name: listbox.h // Purpose: wxListBox class -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listbox.h" #endif // ---------------------------------------------------------------------------- // simple types // ---------------------------------------------------------------------------- +#include "wx/dynarray.h" + #if wxUSE_OWNER_DRAWN class WXDLLEXPORT wxOwnerDrawn; @@ -92,7 +94,7 @@ public: virtual void* DoGetItemClientData(int n) const; virtual void DoSetItemClientObject(int n, wxClientData* clientData); virtual wxClientData* DoGetItemClientObject(int n) const; - virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ; + virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ; // wxCheckListBox support #if wxUSE_OWNER_DRAWN @@ -110,7 +112,7 @@ public: virtual void SetupColours(); virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ; - virtual bool MacCanFocus() const { return true ; } + virtual bool MacCanFocus() const { return true ; } void OnChar(wxKeyEvent& event); void* m_macList ; @@ -143,8 +145,8 @@ protected: int m_noItems; int m_selected; - wxString m_typeIn ; - long m_lastTypeIn ; + wxString m_typeIn ; + long m_lastTypeIn ; virtual wxSize DoGetBestSize() const;