// Autosize values for SetColumnWidth
enum {
- wxLIST_AUTOSIZE = -1, // always 80 in wxGLC (what else?)
- wxLIST_AUTOSIZE_USEHEADER = -2
+ wxLIST_AUTOSIZE = -1, // width of longest item
+ wxLIST_AUTOSIZE_USEHEADER = -2 // always 80 in wxGLC
};
// Flag values for GetItemRect
wxListMainWindow *m_owner;
wxCursor *m_currentCursor;
wxCursor *m_resizeCursor;
- bool m_isDraging;
+ bool m_isDragging;
int m_column;
int m_minX;
int m_currentX;
void MoveToFocus( void );
void OnArrowChar( wxListLineData *newCurrent, bool shiftDown );
void OnChar( wxKeyEvent &event );
+ void OnKeyDown( wxKeyEvent &event );
void OnSetFocus( wxFocusEvent &event );
void OnKillFocus( wxFocusEvent &event );
void OnSize( wxSizeEvent &event );