X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eff73c60d89cbc4ef76e7f620bb74aea347b772..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/msw/nativewin.cpp?ds=sidebyside 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