X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fd5fa4fcc83bfc4be401e0d4e752f48ae0a38bf..674ac8b919eecbc201b5f23b470a567cd0565e10:/include/wx/tbarbase.h?ds=sidebyside diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 288f2d3a64..e75206df99 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -142,7 +142,7 @@ public: { if ( m_toolStyle == wxTOOL_STYLE_CONTROL ) { - return m_control->GetClientData(); + return (wxObject*)m_control->GetClientData(); } else {