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:
@@ -81,6 +81,8 @@ bool wxMSWDateControls::CheckInitialization()
|
|||||||
typedef BOOL (WINAPI *ICCEx_t)(INITCOMMONCONTROLSEX *);
|
typedef BOOL (WINAPI *ICCEx_t)(INITCOMMONCONTROLSEX *);
|
||||||
wxDYNLIB_FUNCTION( ICCEx_t, InitCommonControlsEx, dllComCtl32 );
|
wxDYNLIB_FUNCTION( ICCEx_t, InitCommonControlsEx, dllComCtl32 );
|
||||||
|
|
||||||
|
dllComCtl32.Detach();
|
||||||
|
|
||||||
if ( pfnInitCommonControlsEx )
|
if ( pfnInitCommonControlsEx )
|
||||||
{
|
{
|
||||||
s_initResult = (*pfnInitCommonControlsEx)(&icex);
|
s_initResult = (*pfnInitCommonControlsEx)(&icex);
|
||||||
|
Reference in New Issue
Block a user