must include typeinfo before using typeid()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-14 00:03:29 +00:00
parent cac09ce8b7
commit 6bce2ad919

View File

@@ -55,6 +55,7 @@
#include <wx/propgrid/propgrid.h>
#include <wx/propgrid/editors.h>
#include <typeinfo>
#define wxPG_DEFAULT_SPLITTERX 110
@@ -399,7 +400,8 @@ wxPGProperty* wxPropertyGridPageState::GetLastItem( int flags )
if ( pwc->GetFlags() & itemExMask )
{
wxPropertyGridIterator it( this, flags, pwc );
for ( ; !it.AtEnd(); it.Prev() );
for ( ; !it.AtEnd(); it.Prev() )
;
pwc = (wxPGProperty*) it.GetProperty();
}