X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e181c7a2c32193fc8138cc32ed07984eadd4a21..4ce846b17c9a1ad71c749253cc8b73d492ed9634:/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..5cbeb0a2dc 100644 --- a/include/wx/osx/carbon/private/mactext.h +++ b/include/wx/osx/carbon/private/mactext.h @@ -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 ; };