From c07c544720f956efd62b7e0e86923e1ff4f9eeed Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 2 Feb 2017 09:54:12 -0800 Subject: [PATCH] SetSelection returns an int, not a size_t --- interface/wx/aui/auibook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/aui/auibook.h b/interface/wx/aui/auibook.h index b5bc330e8b..e5ae754d06 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