X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ecf902bc836f2808444b34eff48cdb12f289460..0645e2b90a8c0a06e178fa6515d3480dc40d002a:/include/wx/listbase.h?ds=sidebyside diff --git a/include/wx/listbase.h b/include/wx/listbase.h index 3d4cd4da72..597bc3eb50 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -373,7 +373,7 @@ public: const wxString& GetLabel() const { return m_item.m_text; } const wxString& GetText() const { return m_item.m_text; } int GetImage() const { return m_item.m_image; } - long GetData() const { return m_item.m_data; } + long GetData() const { return wx_static_cast(long, m_item.m_data); } long GetMask() const { return m_item.m_mask; } const wxListItem& GetItem() const { return m_item; }