diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 2194678500..a675969f7e 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -176,7 +176,7 @@ public: } } - if ( *gs_classForHiddenWindow ) + if ( gs_classForHiddenWindow ) { if ( !::UnregisterClass(wxMSWEXEC_WNDCLASSNAME, wxGetInstance()) ) {