X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f19af139b997f2140fd739256b002ccf82eef7..4a6e4a46a356e9abf0760e2d481bbec321cc3adf:/include/wx/textctrl.h diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 00ff41af95..cee3bcad45 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -305,6 +305,8 @@ protected: #include "wx/gtk/textctrl.h" #elif defined(__WXMAC__) #include "wx/mac/textctrl.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/textctrl.h" #elif defined(__WXPM__) #include "wx/os2/textctrl.h" #endif @@ -327,9 +329,9 @@ END_DECLARE_EVENT_TYPES() class WXDLLEXPORT wxTextUrlEvent : public wxCommandEvent { public: - wxTextUrlEvent(int id, const wxMouseEvent& evtMouse, + wxTextUrlEvent(int winid, const wxMouseEvent& evtMouse, long start, long end) - : wxCommandEvent(wxEVT_COMMAND_TEXT_URL, id) + : wxCommandEvent(wxEVT_COMMAND_TEXT_URL, winid) , m_evtMouse(evtMouse), m_start(start), m_end(end) { }