X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d73b710e1fb5d1e99b4bdbcbdbf301d3bce1bc2..333a0af9f9fb7822e4dba0796fe4a6cf550f7050:/include/wx/mac/carbon/listbox.h diff --git a/include/wx/mac/carbon/listbox.h b/include/wx/mac/carbon/listbox.h index a121ab7825..f94cff95b9 100644 --- a/include/wx/mac/carbon/listbox.h +++ b/include/wx/mac/carbon/listbox.h @@ -125,11 +125,14 @@ public: int GetItemIndex(wxOwnerDrawn *item) const { return m_aItems.Index(item); } #endif // wxUSE_OWNER_DRAWN + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // Windows callbacks - - virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; - virtual bool MacCanFocus() const { return true ; } +#if !__WXMAC_OSX__ void OnChar(wxKeyEvent& event); +#endif void* m_macList ; wxArrayString m_stringArray ; @@ -150,7 +153,9 @@ protected: int MacGetSelections(wxArrayInt& aSelections) const ; bool MacIsSelected( int n ) const ; void MacScrollTo( int n ) ; +#if !__WXMAC_OSX__ void OnSize( wxSizeEvent &size ) ; +#endif void MacDoClick() ; void MacDoDoubleClick() ;