]> git.saurik.com Git - wxWidgets.git/commit
Return NULL from wxAuiNotebook::GetCurrentPage() if there is no selection.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Feb 2012 13:28:42 +0000 (13:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Feb 2012 13:28:42 +0000 (13:28 +0000)
commitb98eb28a50fcb379b1eb52f365cea430cd7a956e
treead93cd643c48e6ea33f2e0288b4e65ef389aaef4
parent38d7fa2525db147a278197a9e5a493305496a8a1
Return NULL from wxAuiNotebook::GetCurrentPage() if there is no selection.

Make it behave as wxBookCtrlBase::GetCurrentPage() and just silently return
NULL instead of asserting if there is no selection.

Closes #13932.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/aui/auibook.cpp