From 3b7e7e24976f9d2d9f57aa3f335676668c43ed93 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Jan 2012 18:48:34 +0000 Subject: [PATCH] Resolve ambiguity between two wxAuiNotebook overloads. wxAuiNotebook-specific InsertPage() and the version inherited from wxBookCtrlBase were ambiguous if used with default values for their 2 last arguments. Resolve this by removing defaults from the inherited version. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/aui/auibook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/aui/auibook.h b/include/wx/aui/auibook.h index bb7af80787..e8e4527ff6 100644 --- a/include/wx/aui/auibook.h +++ b/include/wx/aui/auibook.h @@ -602,7 +602,7 @@ public: int imageId); virtual bool DeleteAllPages(); virtual bool InsertPage(size_t index, wxWindow *page, const wxString &text, - bool select=false, int imageId=NO_IMAGE); + bool select, int imageId); protected: // Common part of all ctors. -- 2.45.2