X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fd5fa4fcc83bfc4be401e0d4e752f48ae0a38bf..2d08140fdbb3aaab9457287b49e877ecf3b8b790:/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 {