]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/datecontrols.cpp
no real changes, just correct a comment (closes #10563)
[wxWidgets.git] / src / msw / datecontrols.cpp
index 6960f09aeea870488d59f372c2e64700b5349016..9e71c5f8fcfe6d5737a6ab5b27d79119f3c43af4 100644 (file)
@@ -68,12 +68,8 @@ bool wxMSWDateControls::CheckInitialization()
         icex.dwICC = ICC_DATE_CLASSES;
 
         // see comment in wxApp::GetComCtl32Version() explaining the
-        // use of wxDL_GET_LOADED
-        wxDynamicLibrary dllComCtl32(_T("comctl32.dll"),
-                                     wxDL_VERBATIM |
-                                     wxDL_QUIET |
-                                     wxDL_GET_LOADED);
-
+        // use of wxLoadedDLL
+        wxLoadedDLL dllComCtl32(_T("comctl32.dll"));
         if ( dllComCtl32.IsLoaded() )
         {
             wxLogNull noLog;