From 864db5de611f630d8b64dec6b648117187381d99 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 10 Feb 2004 23:40:59 +0000 Subject: [PATCH 1/1] Fixed a compliation error, event args should not be const. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/listbox.h | 2 +- src/mac/carbon/listbox.cpp | 2 +- src/mac/listbox.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 0df5bd0366..77c0f27209 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -149,7 +149,7 @@ protected: int MacGetSelections(wxArrayInt& aSelections) const ; bool MacIsSelected( int n ) const ; void MacScrollTo( int n ) ; - void OnSize( const wxSizeEvent &size ) ; + void OnSize( wxSizeEvent &size ) ; void MacDoClick() ; void MacDoDoubleClick() ; diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 128f87af9e..4a623eb59b 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -823,7 +823,7 @@ void wxListBox::MacScrollTo( int n ) // TODO implement scrolling } -void wxListBox::OnSize( const wxSizeEvent &event) +void wxListBox::OnSize( wxSizeEvent &event) { Point pt; diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 128f87af9e..4a623eb59b 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -823,7 +823,7 @@ void wxListBox::MacScrollTo( int n ) // TODO implement scrolling } -void wxListBox::OnSize( const wxSizeEvent &event) +void wxListBox::OnSize( wxSizeEvent &event) { Point pt; -- 2.45.2