X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8d5f1e2b48a0b941e1d8d9a435321b44bfcfc1a..b38b0d22d7a97ff66d824e11e3e1c96c4423900b:/include/wx/mac/textctrl.h diff --git a/include/wx/mac/textctrl.h b/include/wx/mac/textctrl.h index 7992658552..baa7ab853d 100644 --- a/include/wx/mac/textctrl.h +++ b/include/wx/mac/textctrl.h @@ -1,25 +1,24 @@ ///////////////////////////////////////////////////////////////////////////// // Name: textctrl.h // Purpose: wxTextCtrl class -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textctrl.h" #endif #include "wx/control.h" -WXDLLEXPORT_DATA(extern const char*) wxTextCtrlNameStr; -WXDLLEXPORT_DATA(extern const char*) wxEmptyString; +WXDLLEXPORT_DATA(extern const wxChar*) wxTextCtrlNameStr; // Single-line text item class WXDLLEXPORT wxTextCtrl: public wxTextCtrlBase @@ -151,10 +150,11 @@ public: void OnUpdateUndo(wxUpdateUIEvent& event); void OnUpdateRedo(wxUpdateUIEvent& event); - virtual bool MacCanFocus() const { return true ; } - - virtual void MacSuperShown( bool show ) ; - virtual bool Show(bool show = TRUE) ; + virtual bool MacCanFocus() const { return true ; } + virtual bool MacSetupCursor( const wxPoint& pt ) ; + + virtual void MacSuperShown( bool show ) ; + virtual bool Show(bool show = TRUE) ; protected: virtual wxSize DoGetBestSize() const;