Implement wxNativeContainerWindow::IsShown() for MSW.
Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,6 +54,11 @@ bool wxNativeContainerWindow::Create(wxNativeContainerWindowHandle hwnd)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxNativeContainerWindow::IsShown() const
|
||||
{
|
||||
return (IsWindowVisible(static_cast<HWND>(m_hWnd)) != 0);
|
||||
}
|
||||
|
||||
void wxNativeContainerWindow::OnNativeDestroyed()
|
||||
{
|
||||
// don't use Close() or even Destroy() here, we really don't want to keep
|
||||
|
||||
Reference in New Issue
Block a user