]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/textctrl.h
using subclass as impl ptr, common code in macro because mix-in are not possible...
[wxWidgets.git] / include / wx / gtk / textctrl.h
index 19d716fcab6ed241425754fa539eb4d0c9eb44c9..a06a8a63455ab536b9b139a2693b91d239a5dea3 100644 (file)
@@ -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<void *>(m_buffer)
+                             : static_cast<void *>(m_text);
     }