X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..1553abf415efc2989f1f0c0d60926dba062bf492:/include/wx/mac/carbon/listbox.h diff --git a/include/wx/mac/carbon/listbox.h b/include/wx/mac/carbon/listbox.h index 77c0f27209..d5aa80277d 100644 --- a/include/wx/mac/carbon/listbox.h +++ b/include/wx/mac/carbon/listbox.h @@ -125,20 +125,22 @@ 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 SetupColours(); - 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 ; wxListDataArray m_dataArray ; wxArrayInt m_selectionPreImage ; + void MacSetRedraw( bool doDraw ) ; protected: - void MacDestroy() ; void MacDelete( int n ) ; void MacInsert( int n , const wxString& item) ; void MacAppend( const wxString& item) ; @@ -149,12 +151,12 @@ 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() ; - // do we have multiple selections? - bool HasMultipleSelection() const; // free memory (common part of Clear() and dtor) // prevent collision with some BSD definitions of macro Free()