add missing Detach() after r56863 changes (thanks troelsk)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-11-20 17:59:42 +00:00
parent dbb2baaef7
commit 8108518603

View File

@ -81,6 +81,8 @@ bool wxMSWDateControls::CheckInitialization()
typedef BOOL (WINAPI *ICCEx_t)(INITCOMMONCONTROLSEX *);
wxDYNLIB_FUNCTION( ICCEx_t, InitCommonControlsEx, dllComCtl32 );
dllComCtl32.Detach();
if ( pfnInitCommonControlsEx )
{
s_initResult = (*pfnInitCommonControlsEx)(&icex);