diff --git a/interface/wx/aui/auibook.h b/interface/wx/aui/auibook.h index 50db1b0d02..0f168ba8b8 100644 --- a/interface/wx/aui/auibook.h +++ b/interface/wx/aui/auibook.h @@ -361,7 +361,7 @@ public: /** Sets the page selection. Calling this method will generate a page change event. */ - size_t SetSelection(size_t new_page); + int SetSelection(size_t new_page); /** Sets the tab height. By default, the tab control height is calculated