On MacOS using wxWidgets 3.1.7 the C::B build fails with an ambiguous error for the src\sdk\editormanager.cpp on line 545 with the AddPage.
The function with the AddPage in it that fails is:
void EditorManager::AddEditorBase(EditorBase* eb)
{
int page = FindPageFromEditor(eb);
if (page == -1)
{
// use fullname as default, so tabs stay as small as possible
wxFileName fn(eb->GetTitle());
m_pNotebook->AddPage(eb, fn.GetFullName(), true);
}
}
the build log for the error is:
editormanager.cpp:545:22: error: call to member function 'AddPage' is ambiguous
m_pNotebook->AddPage(eb, fn.GetFullName(), true);
~~~~~~~~~~~~~^~~~~~~
/usr/local/include/wx-3.1/wx/aui/auibook.h:279:10: note: candidate function
bool AddPage(wxWindow* page,
^
../../src/include/cbauibook.h:125:14: note: candidate function
bool AddPage(wxWindow* page,
^
Using wxWidget 3.1.5 the C:B build does not fail.
Using wxWidget 3.2.0 rc1 also fails to build.