X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03fc89fff2d6e823e7d4d14fbe14822ad6777b1..d75638f85f4f385f3cfdc3e8a2a9acc6a686e7b2:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index c18b4a781f..70afe45135 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -145,8 +145,8 @@ enum { // 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 @@ -365,7 +365,7 @@ class WXDLLEXPORT wxListHeaderWindow : public wxWindow wxListMainWindow *m_owner; wxCursor *m_currentCursor; wxCursor *m_resizeCursor; - bool m_isDraging; + bool m_isDragging; int m_column; int m_minX; int m_currentX; @@ -481,6 +481,7 @@ class WXDLLEXPORT wxListMainWindow: public wxScrolledWindow 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 );