Implemented input disabling for disabled windows since MicroWindows doesn't do it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-07-06 13:18:11 +00:00
parent 9aa80360d1
commit 98363307d3
3 changed files with 71 additions and 9 deletions

View File

@@ -108,3 +108,13 @@ wxPoint wxFrame::GetClientAreaOrigin() const
return pt;
}
bool wxFrame::Enable( bool enable )
{
if (!wxFrameNative::Enable(enable))
return FALSE;
#ifdef __WXMICROWIN__
if (m_frameMenuBar)
m_frameMenuBar->Enable(enable);
#endif
return TRUE;
}