]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied #10892: Remove wxDocManager instance check
authorJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 16:25:45 +0000 (16:25 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 24 Sep 2009 16:25:45 +0000 (16:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/docview.cpp

index 99e7eb82eb94f97be02c08e0530ac8ee57f2f446..4e7c5624d118637020261155272fa2d4f8503da9 100644 (file)
@@ -916,8 +916,6 @@ wxDocManager* wxDocManager::sm_docManager = NULL;
 
 wxDocManager::wxDocManager(long WXUNUSED(flags), bool initialize)
 {
-    wxASSERT_MSG( !sm_docManager, "multiple wxDocManagers not allowed" );
-
     sm_docManager = this;
 
     m_defaultDocumentNameCounter = 1;