X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05adb9d2fdc40d8620730be490bf406b8e367cf8..ab4fece809e006a55c61361dadb63aca87ccb0d8:/include/wx/mac/listbox.h diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 46346daa2c..0d1f1f7ad5 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -25,7 +25,7 @@ class WXDLLEXPORT wxOwnerDrawn; // define the array of list box items - #include + #include "wx/dynarray.h" WX_DEFINE_EXPORTED_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray); #endif // wxUSE_OWNER_DRAWN @@ -66,7 +66,8 @@ public: const wxString& name = wxListBoxNameStr); virtual ~wxListBox(); - + virtual void Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL); + // implement base class pure virtuals virtual void Clear(); virtual void Delete(int n); @@ -91,6 +92,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 ) ; // wxCheckListBox support #if wxUSE_OWNER_DRAWN @@ -107,11 +109,12 @@ public: // Windows callbacks virtual void SetupColours(); - virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; + virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ; - ListHandle m_macList ; + void* m_macList ; wxArrayString m_stringArray ; wxListDataArray m_dataArray ; + wxArrayInt m_selectionPreImage ; void MacSetRedraw( bool doDraw ) ; protected: void MacDestroy() ;