]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxMSW compilation in wxUSE_STL==1 case.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Aug 2010 21:14:06 +0000 (21:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Aug 2010 21:14:06 +0000 (21:14 +0000)
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

index f1e9f0416579a513db97224c38e407296b3a359d..81261ce15f0aa310a5fa93e38fea6864d252a5f1 100644 (file)
@@ -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