X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..670d01778a69731665cbb7c77726f067a1c8ce17:/include/wx/gtk/textctrl.h diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 19d716fcab..3da5188a2d 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -177,8 +177,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 +195,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); }