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:
@@ -398,7 +398,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
|
||||
{
|
||||
// just to be sure it's not used (normally this is not necessary, but
|
||||
// doesn't hurt neither)
|
||||
m_winLastFocused = (wxWindow *)NULL;
|
||||
m_winLastFocused = NULL;
|
||||
|
||||
// start from first or last depending on where we're going
|
||||
node = forward ? children.GetFirst() : children.GetLast();
|
||||
@@ -662,7 +662,7 @@ bool wxSetFocusToChild(wxWindow *win, wxWindow **childLastFocused)
|
||||
else
|
||||
{
|
||||
// it doesn't count as such any more
|
||||
*childLastFocused = (wxWindow *)NULL;
|
||||
*childLastFocused = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user