]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Test if wxString::Format() works with non-ASCII format string.
[wxWidgets.git] / src / msw / treectrl.cpp
index e84bd1b324b8d97e258c904201ad5d8a94d76c73..9e99796c0ab74484a7a3fac7821d64c45d1c562d 100644 (file)
@@ -3513,7 +3513,10 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                             {
                                 wxLoadedDLL dllComCtl32(wxT("comctl32.dll"));
                                 if ( dllComCtl32.IsLoaded() )
+                                {
                                     wxDL_INIT_FUNC(s_pfn, ImageList_Copy, dllComCtl32);
+                                    loaded = true;
+                                }
                             }
 
                             if ( !s_pfnImageList_Copy )