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