X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/gtk/textctrl.h?ds=sidebyside diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 19d716fcab..a4371c7c98 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -177,7 +177,6 @@ protected: private: // overridden wxTextEntry virtual methods - virtual const wxWindow *GetEditableWindow() const { return this; } virtual GtkEditable *GetEditable() const; virtual void EnableTextChangedEvents(bool enable); @@ -195,8 +194,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); }