X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..d42508c2a026d505d39c386b233de4a1b51f1445:/include/wx/mac/textctrl.h diff --git a/include/wx/mac/textctrl.h b/include/wx/mac/textctrl.h index 253491eaa0..da11bfad29 100644 --- a/include/wx/mac/textctrl.h +++ b/include/wx/mac/textctrl.h @@ -111,6 +111,7 @@ public: virtual bool LoadFile(const wxString& file); virtual bool SaveFile(const wxString& file); virtual void WriteText(const wxString& text); + virtual void AppendText(const wxString& text); virtual void DiscardEdits(); virtual bool IsModified() const; @@ -118,11 +119,12 @@ public: virtual void PositionToXY(long pos, long *x, long *y) const ; virtual void ShowPosition(long pos); virtual void Clear(); + virtual bool MacCanFocus() const { return true ; } // callbacks // --------- void OnDropFiles(wxDropFilesEvent& event); -// void OnChar(wxKeyEvent& event); // Process 'enter' if required + void OnChar(wxKeyEvent& event); // Process 'enter' if required // void OnEraseBackground(wxEraseEvent& event); // Implementation