don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1422,7 +1422,7 @@ wxToolBarToolBase *wxToolBar::FindToolForPosition(wxCoord x, wxCoord y) const
|
||||
// TB_HITTEST returns m_nButtons ( not -1 )
|
||||
if ( index < 0 || (size_t)index >= m_nButtons )
|
||||
// it's a separator or there is no tool at all there
|
||||
return (wxToolBarToolBase *)NULL;
|
||||
return NULL;
|
||||
|
||||
// when TB_SETBUTTONINFO is available (both during compile- and run-time),
|
||||
// we don't use the dummy separators hack
|
||||
|
Reference in New Issue
Block a user