X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e181c7a2c32193fc8138cc32ed07984eadd4a21..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/osx/carbon/private/mactext.h diff --git a/include/wx/osx/carbon/private/mactext.h b/include/wx/osx/carbon/private/mactext.h index a0e7d5e518..ff379bf991 100644 --- a/include/wx/osx/carbon/private/mactext.h +++ b/include/wx/osx/carbon/private/mactext.h @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 03/02/99 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,7 +14,7 @@ #include "wx/osx/private.h" -// implementation exposed, so that search control can pull it +// implementation exposed, so that search control can pull it class wxMacUnicodeTextControl : public wxMacControl, public wxTextWidgetImpl { @@ -26,6 +26,8 @@ public : const wxSize& size, long style ) ; virtual ~wxMacUnicodeTextControl(); + virtual bool CanFocus() const + { return true; } virtual void VisibilityChanged(bool shown); virtual wxString GetStringValue() const ; virtual void SetStringValue( const wxString &str) ; @@ -43,6 +45,7 @@ protected : // contains the tag for the content (is different for password and non-password controls) OSType m_valueTag ; + WXEVENTHANDLERREF m_macTextCtrlEventHandler ; public : ControlEditTextSelectionRec m_selection ; };