From: Vadim Zeitlin Date: Sun, 14 Sep 2008 00:03:29 +0000 (+0000) Subject: must include typeinfo before using typeid() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6bce2ad9197274135a20234a4af5e6be8dead5a9 must include typeinfo before using typeid() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(); }