move ClassRegInfo out from anonymous namespace to work around mingw32 4.3 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
54f1106086
commit
c76fb54570
@ -117,9 +117,8 @@
|
||||
extern void wxSetKeyboardHook(bool doIt);
|
||||
#endif
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
// because of mingw32 4.3 bug this struct can't be inside the namespace below:
|
||||
// see http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/110282
|
||||
struct ClassRegInfo
|
||||
{
|
||||
// the base name of the class: this is used to construct the unique name in
|
||||
@ -131,6 +130,9 @@ struct ClassRegInfo
|
||||
regnameNR;
|
||||
};
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
wxVector<ClassRegInfo> gs_regClassesInfo;
|
||||
|
||||
} // anonymous namespace
|
||||
|
Loading…
Reference in New Issue
Block a user