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:
@@ -670,6 +670,7 @@ wxWindowMSW::MSWShowWithEffect(bool show,
|
|||||||
wxShowEffect effect,
|
wxShowEffect effect,
|
||||||
unsigned timeout)
|
unsigned timeout)
|
||||||
{
|
{
|
||||||
|
#if wxUSE_DYNLIB_CLASS
|
||||||
if ( effect == wxSHOW_EFFECT_NONE )
|
if ( effect == wxSHOW_EFFECT_NONE )
|
||||||
return Show(show);
|
return Show(show);
|
||||||
|
|
||||||
@@ -766,6 +767,9 @@ wxWindowMSW::MSWShowWithEffect(bool show,
|
|||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
#else // wxUSE_DYNLIB_CLASS
|
||||||
|
return Show(show);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Raise the window to the top of the Z order
|
// Raise the window to the top of the Z order
|
||||||
|
Reference in New Issue
Block a user