#ifndef _WX_LISTBOX_H_
#define _WX_LISTBOX_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "listbox.h"
#endif
// Windows callbacks
virtual void SetupColours();
- virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
+ virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
virtual bool MacCanFocus() const { return true ; }
void OnChar(wxKeyEvent& event);
protected:
void MacDestroy() ;
void MacDelete( int n ) ;
- void MacInsert( int n , const char * text) ;
- void MacAppend( const char * text) ;
- void MacSet( int n , const char *text ) ;
+ void MacInsert( int n , const wxString& item) ;
+ void MacAppend( const wxString& item) ;
+ void MacSet( int n , const wxString& item ) ;
void MacClear() ;
void MacSetSelection( int n , bool select ) ;
int MacGetSelection() const ;