don't use deprecated OnScroll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bc448be341
commit
040745d7fc
@ -618,7 +618,7 @@ public:
|
||||
void OnPaint( wxPaintEvent &event );
|
||||
|
||||
void OnChildFocus(wxChildFocusEvent& event);
|
||||
|
||||
|
||||
void DrawImage( int index, wxDC *dc, int x, int y );
|
||||
void GetImageSize( int index, int &width, int &height ) const;
|
||||
int GetTextLength( const wxString &s ) const;
|
||||
@ -4881,12 +4881,7 @@ void wxListMainWindow::SortItems( wxListCtrlCompare fn, long data )
|
||||
|
||||
void wxListMainWindow::OnScroll(wxScrollWinEvent& event)
|
||||
{
|
||||
// FIXME
|
||||
#if ( defined(__WXGTK__) || defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__)
|
||||
wxScrolledCanvas::OnScroll(event);
|
||||
#else
|
||||
HandleOnScroll( event );
|
||||
#endif
|
||||
|
||||
// update our idea of which lines are shown when we redraw the window the
|
||||
// next time
|
||||
|
Loading…
Reference in New Issue
Block a user