#ifndef NO_TEXT_WINDOW_STREAM
#if wxUSE_STD_IOSTREAM
- #include "wx/ioswrap.h" // for iostream classes if we need them
+ #include "wx/ioswrap.h" // derivation: we need the full decls.
#else // !wxUSE_STD_IOSTREAM
// can't compile this feature in if we don't use streams at all
#define NO_TEXT_WINDOW_STREAM
#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
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)
{ }