X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eff73c60d89cbc4ef76e7f620bb74aea347b772..12bb29f5432174ecbd65549bda832d70d34a98ae:/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