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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user