diff --git a/src/osx/cocoa/listbox.mm b/src/osx/cocoa/listbox.mm index 44b5e50b61..cad11b0f2e 100644 --- a/src/osx/cocoa/listbox.mm +++ b/src/osx/cocoa/listbox.mm @@ -129,7 +129,7 @@ public : virtual void ListScrollTo( unsigned int n ) wxOVERRIDE ; - virtual int ListGetTopItem() conswxOVERRIDE t; + virtual int ListGetTopItem() const wxOVERRIDE; // accessing content