diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 441e258415..34e2e2bb4f 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -670,6 +670,7 @@ wxWindowMSW::MSWShowWithEffect(bool show, wxShowEffect effect, unsigned timeout) { +#if wxUSE_DYNLIB_CLASS if ( effect == wxSHOW_EFFECT_NONE ) return Show(show); @@ -766,6 +767,9 @@ wxWindowMSW::MSWShowWithEffect(bool show, } return true; +#else // wxUSE_DYNLIB_CLASS + return Show(show); +#endif } // Raise the window to the top of the Z order