From 9106ea703ca324d591ce3cfebe6b36935063e1e9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Aug 2010 21:14:06 +0000 Subject: [PATCH] Fix wxMSW compilation in wxUSE_STL==1 case. A wxDECLARE_NO_ASSIGN_CLASS() was recently added to ClassRegInfo but storing it in a vector requires it to be "Assignable" so this broke compilation in STL case (wxVector<> doesn't enforce this requirement currently). Make ClassRegInfo assignable again to fix this. Closes #12355. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/msw/app.cpp b/src/msw/app.cpp index f1e9f04165..81261ce15f 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -128,10 +128,8 @@ struct ClassRegInfo } // the name of the registered class with and without CS_[HV]REDRAW styles - const wxString regname; - const wxString regnameNR; - - wxDECLARE_NO_ASSIGN_CLASS(ClassRegInfo); + wxString regname; + wxString regnameNR; }; namespace -- 2.45.2