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
This commit is contained in:
Vadim Zeitlin
2010-08-15 21:14:06 +00:00
parent 6008ff4a55
commit 9106ea703c

View 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