Correct wxPendingDelete declaration.
This variable was moved to wxBase from wxCore recently and hence must be declared using WXDLLIMPEXP_DATA_BASE and not WXDLLIMPEXP_DATA_CORE now. Closes #11202. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,7 +83,7 @@ wxWindow *wxDialogBase::CheckIfCanBeUsedAsParent(wxWindow *parent) const
|
|||||||
if ( !parent )
|
if ( !parent )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
|
extern WXDLLIMPEXP_DATA_BASE(wxList) wxPendingDelete;
|
||||||
if ( wxPendingDelete.Member(parent) || parent->IsBeingDeleted() )
|
if ( wxPendingDelete.Member(parent) || parent->IsBeingDeleted() )
|
||||||
{
|
{
|
||||||
// this window is being deleted and we shouldn't create any children
|
// this window is being deleted and we shouldn't create any children
|
||||||
|
Reference in New Issue
Block a user