]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct wxPendingDelete declaration.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Sep 2009 17:05:24 +0000 (17:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Sep 2009 17:05:24 +0000 (17:05 +0000)
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

src/common/dlgcmn.cpp

index 8cae975656bccc879a1ee2b4927a91031fabdc50..b0aa66438043fd686f5c5d2fe91aedb0645db123 100644 (file)
@@ -83,7 +83,7 @@ wxWindow *wxDialogBase::CheckIfCanBeUsedAsParent(wxWindow *parent) const
     if ( !parent )
         return NULL;
 
-    extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
+    extern WXDLLIMPEXP_DATA_BASE(wxList) wxPendingDelete;
     if ( wxPendingDelete.Member(parent) || parent->IsBeingDeleted() )
     {
         // this window is being deleted and we shouldn't create any children