]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
fix for wxSYS_COLOUR_LISTBOX representation
[wxWidgets.git] / src / msw / app.cpp
index ea3044497a6e7e2a2a8e71a856e0a9b27cbd5453..4bbbd7f651892c16ca29e84f111e0006f5cb2a9b 100644 (file)
@@ -252,9 +252,11 @@ bool wxApp::Initialize()
         ;
 #endif // Win16
 
+#if wxUSE_OLE
     // we need to initialize OLE library
     if ( FAILED(::OleInitialize(NULL)) )
         wxLogError(_("Cannot initialize OLE"));
+#endif
 
 #endif // wxUSE_OLE