]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a compliation error, event args should not be const.
authorRobin Dunn <robin@alldunn.com>
Tue, 10 Feb 2004 23:40:59 +0000 (23:40 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 10 Feb 2004 23:40:59 +0000 (23:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/listbox.h
src/mac/carbon/listbox.cpp
src/mac/listbox.cpp

index 0df5bd0366c24e091e2bda4485552a469428ed1e..77c0f27209ffc97c07e43385b01f9c191ba923ca 100644 (file)
@@ -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() ;
 
index 128f87af9e213aad8aa0d0d1a7bd9c79af358d47..4a623eb59b72fee778dd86f83d20a604490bf3a1 100644 (file)
@@ -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;
     
index 128f87af9e213aad8aa0d0d1a7bd9c79af358d47..4a623eb59b72fee778dd86f83d20a604490bf3a1 100644 (file)
@@ -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;