X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fd5fa4fcc83bfc4be401e0d4e752f48ae0a38bf..846e1424e2f563b699e7fcb81d10cf6f2246487f:/include/wx/tbarbase.h 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 {