X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ecf902bc836f2808444b34eff48cdb12f289460..e3ad57026a720fce3d0cce3dd1dad6f23038cccc:/include/wx/listbase.h 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; }