]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / app.cpp
index 7af9c7108abae72ebaaece105e147fcad5c13719..ec3c4c0124c042290e1c7da37633fb0a59e4f043 100644 (file)
@@ -871,6 +871,7 @@ int wxApp::GetComCtl32Version()
         // if so, then we can check for the version
         if ( dllComCtl32.IsLoaded() )
         {
+#ifdef DLLVER_PLATFORM_WINDOWS
             // try to use DllGetVersion() if available in _headers_
             wxDYNLIB_FUNCTION( DLLGETVERSIONPROC, DllGetVersion, dllComCtl32 );
             if ( pfnDllGetVersion )
@@ -892,6 +893,7 @@ int wxApp::GetComCtl32Version()
                                         dvi.dwMinorVersion;
                 }
             }
+#endif
 
             // if DllGetVersion() is unavailable either during compile or
             // run-time, try to guess the version otherwise