Fix wxWindow::MSWShowWithEffect() compilation with wxUSE_DYNLIB_CLASS==0.

Fall back to just plain Show() if wxDynamicLibrary, which we use to get
function not existing in all Windows versions, is not available.

Closes #14509.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-07-23 15:03:47 +00:00
parent da0ee16ef9
commit 3ae670cd59

View File

@@ -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