X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e181c7a2c32193fc8138cc32ed07984eadd4a21..7422d79765db9e7280da187be7a1b016491b8cfd:/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..f808348009 100644 --- a/include/wx/osx/carbon/private/mactext.h +++ b/include/wx/osx/carbon/private/mactext.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mactext.h +// Name: wx/osx/carbon/private/mactext.h // Purpose: private wxMacTextControl base class // 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 ; };