X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eff73c60d89cbc4ef76e7f620bb74aea347b772..96c9640205933ad0673d5af2c96af0816c50160c:/src/msw/nativewin.cpp diff --git a/src/msw/nativewin.cpp b/src/msw/nativewin.cpp index 6b3649b842..068185f8a0 100644 --- a/src/msw/nativewin.cpp +++ b/src/msw/nativewin.cpp @@ -54,6 +54,11 @@ bool wxNativeContainerWindow::Create(wxNativeContainerWindowHandle hwnd) return true; } +bool wxNativeContainerWindow::IsShown() const +{ + return (IsWindowVisible(static_cast(m_hWnd)) != 0); +} + void wxNativeContainerWindow::OnNativeDestroyed() { // don't use Close() or even Destroy() here, we really don't want to keep