fixing override, fixes #9985 (second error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -294,7 +294,7 @@ public :
|
|||||||
const wxSize& size, long style ) ;
|
const wxSize& size, long style ) ;
|
||||||
virtual ~wxMacMLTEHIViewControl() ;
|
virtual ~wxMacMLTEHIViewControl() ;
|
||||||
|
|
||||||
virtual OSStatus SetFocus( ControlFocusPart focusPart ) ;
|
virtual bool SetFocus() ;
|
||||||
virtual bool HasFocus() const ;
|
virtual bool HasFocus() const ;
|
||||||
virtual void SetBackgroundColour(const wxColour& col ) ;
|
virtual void SetBackgroundColour(const wxColour& col ) ;
|
||||||
|
|
||||||
@@ -2252,9 +2252,9 @@ wxMacMLTEHIViewControl::~wxMacMLTEHIViewControl()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
OSStatus wxMacMLTEHIViewControl::SetFocus( ControlFocusPart focusPart )
|
bool wxMacMLTEHIViewControl::SetFocus()
|
||||||
{
|
{
|
||||||
return SetKeyboardFocus( GetControlOwner( m_textView ), m_textView, focusPart ) ;
|
return SetKeyboardFocus( GetControlOwner( m_textView ), m_textView, kControlFocusNextPart ) == noErr ;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxMacMLTEHIViewControl::HasFocus() const
|
bool wxMacMLTEHIViewControl::HasFocus() const
|
||||||
|
|||||||
Reference in New Issue
Block a user