From: Vadim Zeitlin Date: Sun, 15 Aug 2010 21:14:06 +0000 (+0000) Subject: Fix wxMSW compilation in wxUSE_STL==1 case. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9106ea703ca324d591ce3cfebe6b36935063e1e9 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 --- 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