]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
Applied patch from Neil Robinson to allow manipulation of unattached menubars
[wxWidgets.git] / src / msw / app.cpp
index c56de63bc9d0face1f68faab9b9775424beff3d3..f41554eb466509fffa646a67aaa751b32f8474de 100644 (file)
@@ -588,7 +588,8 @@ int wxApp::GetComCtl32Version()
 
         // we're prepared to handle the errors
         wxLogNull noLog;
-
+        
+#if wxUSE_DYNLIB_CLASS
         // do we have it?
         wxDynamicLibrary dllComCtl32(_T("comctl32.dll"), wxDL_VERBATIM);
 
@@ -646,6 +647,7 @@ int wxApp::GetComCtl32Version()
                 }
             }
         }
+#endif        
     }
 
     return s_verComCtl32;