]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
[wxWidgets.git] / include / wx / textctrl.h
index 00ff41af957ff50ff9ef4c76c8f25d1fe8c9b4f8..cee3bcad453d224d8ca805b3791adae22125db6b 100644 (file)
@@ -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)
         { }