minor bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc7840aa33
commit
3b4470ba7a
@ -1248,7 +1248,7 @@ wxLayoutLine::Copy(wxLayoutList *llist,
|
||||
wxLOiterator last = FindObject(to, &lastOffset);
|
||||
|
||||
// Common special case: only one object
|
||||
if( *first == *last )
|
||||
if( first != NULLIT && last != NULLIT && *first == *last )
|
||||
{
|
||||
if( (**first).GetType() == WXLO_TYPE_TEXT )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user