From 6bce2ad9197274135a20234a4af5e6be8dead5a9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 14 Sep 2008 00:03:29 +0000 Subject: [PATCH] must include typeinfo before using typeid() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/propgridpagestate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/propgrid/propgridpagestate.cpp b/src/propgrid/propgridpagestate.cpp index 859dff0d51..ac1792083f 100644 --- a/src/propgrid/propgridpagestate.cpp +++ b/src/propgrid/propgridpagestate.cpp @@ -55,6 +55,7 @@ #include #include +#include #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(); } -- 2.45.2