Fix 10.2 focus issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
45285a6238
commit
976b87167f
@ -300,6 +300,7 @@ public :
|
||||
const wxSize& size, long style ) ;
|
||||
~wxMacMLTEClassicControl() ;
|
||||
virtual void VisibilityChanged(bool shown) ;
|
||||
virtual bool NeedsFocusRect() const;
|
||||
protected :
|
||||
OSStatus DoCreate();
|
||||
public :
|
||||
@ -2472,6 +2473,11 @@ OSStatus wxMacMLTEClassicControl::DoCreate()
|
||||
return err;
|
||||
}
|
||||
|
||||
bool wxMacMLTEClassicControl::NeedsFocusRect() const
|
||||
{
|
||||
return m_windowStyle & wxNO_BORDER ? false : true;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MLTE control implementation (OSX part)
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user