X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eff73c60d89cbc4ef76e7f620bb74aea347b772..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/msw/nativewin.cpp diff --git a/src/msw/nativewin.cpp b/src/msw/nativewin.cpp index 6b3649b842..13b8a77efa 100644 --- a/src/msw/nativewin.cpp +++ b/src/msw/nativewin.cpp @@ -3,7 +3,6 @@ // Purpose: wxNativeWindow implementation // Author: Vadim Zeitlin // Created: 2008-03-05 -// RCS-ID: $Id$ // Copyright: (c) 2008 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -54,6 +53,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