wxLIST_FIND_RIGHT
};
-// Flag values for Set/GetImageList
-enum {
- wxIMAGE_LIST_NORMAL, // Normal icons
- wxIMAGE_LIST_SMALL, // Small icons
- wxIMAGE_LIST_STATE // State icons: unimplemented (see WIN32 documentation)
- // not implemented in wxGLC (see non-existing documentation..)
-};
-
//-----------------------------------------------------------------------------
// wxListItem
//-----------------------------------------------------------------------------
bool m_renameAccept;
wxString m_renameRes;
bool m_isCreated;
- bool m_isDragging;
+ int m_dragCount;
public:
wxListMainWindow(void);
int GetItemState( long item, long stateMask );
int GetItemCount( void );
void GetItemRect( long index, wxRectangle &rect );
+ bool GetItemPosition(long item, wxPoint& pos);
int GetSelectedItemCount( void );
void SetMode( long mode );
long GetMode( void ) const;
void SetItemText( long item, const wxString& str );
long GetItemData( long item );
bool SetItemData( long item, long data );
- bool GetItemRect( long item, wxRectangle& rect, int code = wxLIST_RECT_BOUNDS ); // not supported in wxGLC
- bool GetItemPosition( long item, wxPoint& pos ) const; // not supported in wxGLC
+ bool GetItemRect( long item, wxRectangle& rect, int code = wxLIST_RECT_BOUNDS );
+ bool GetItemPosition( long item, wxPoint& pos );
bool SetItemPosition( long item, const wxPoint& pos ); // not supported in wxGLC
int GetItemCount(void);
+ void SetItemSpacing( int spacing, bool isSmall = FALSE );
int GetItemSpacing( bool isSmall );
int GetSelectedItemCount(void);
// wxColour GetTextColour(void) const; // wxGLC has colours for every Item (see wxListItem)