git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxSize& size, long style ) ;
virtual ~wxMacMLTEHIViewControl() ;
const wxSize& size, long style ) ;
virtual ~wxMacMLTEHIViewControl() ;
- virtual OSStatus SetFocus( ControlFocusPart focusPart ) ;
+ virtual bool SetFocus() ;
virtual bool HasFocus() const ;
virtual void SetBackgroundColour(const wxColour& col ) ;
virtual bool HasFocus() const ;
virtual void SetBackgroundColour(const wxColour& col ) ;
-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