X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..8bffcd08c26ab977d908b119a9a41a6ce9887b64:/include/wx/gtk/textctrl.h diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 19d716fcab..d17eade894 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -63,6 +63,7 @@ public: virtual void DiscardEdits(); virtual bool SetStyle(long start, long end, const wxTextAttr& style); + virtual bool GetStyle(long position, wxTextAttr& style); // translate between the position (which is just an index in the text ctrl // considering all its contents as a single strings) and (x, y) coordinates @@ -177,8 +178,8 @@ protected: private: // overridden wxTextEntry virtual methods - virtual const wxWindow *GetEditableWindow() const { return this; } virtual GtkEditable *GetEditable() const; + virtual GtkEntry *GetEntry() const; virtual void EnableTextChangedEvents(bool enable); // change the font for everything in this control @@ -195,8 +196,8 @@ private: // both void *GetTextObject() const { - return IsMultiLine() ? wx_static_cast(void *, m_buffer) - : wx_static_cast(void *, m_text); + return IsMultiLine() ? static_cast(m_buffer) + : static_cast(m_text); } @@ -216,8 +217,6 @@ private: // For wxTE_AUTO_URL void OnUrlMouseEvent(wxMouseEvent&); - GdkCursor *m_gdkHandCursor; - GdkCursor *m_gdkXTermCursor; DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxTextCtrl)