]> git.saurik.com Git - wxWidgets.git/commitdiff
Resolve ambiguity between two wxAuiNotebook overloads.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jan 2012 18:48:34 +0000 (18:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jan 2012 18:48:34 +0000 (18:48 +0000)
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

index bb7af8078754aa4622337539e787624194bfece1..e8e4527ff625d81cee940785ef71cb139c10e3ae 100644 (file)
@@ -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.