]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
Don't always show the vertical scrollbar
[wxWidgets.git] / src / msw / app.cpp
index 56af196bdd687f04b84cc3c562d86279df5cf12d..eccd8787f485a0a28cd61aab925bb9d47287fc6b 100644 (file)
 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