git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41470
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if WXWIN_COMPATIBILITY_2_4
wxDEPRECATED( wxStringList& GetStringList() const );
#endif
- void* GetVoidPtr() const ;
- wxObject* GetWxObjectPtr() ;
+ void* GetVoidPtr() const;
+ wxObject* GetWxObjectPtr() const;
#if wxUSE_DATETIME
wxDateTime GetDateTime() const ;
#endif // wxUSE_DATETIME
return (void*) ((wxVariantDataVoidPtr*) m_data)->GetValue();
}
-wxObject* wxVariant::GetWxObjectPtr()
+wxObject* wxVariant::GetWxObjectPtr() const
{
wxASSERT(wxIsKindOf(m_data, wxVariantDataWxObjectPtr));
return (wxObject*) ((wxVariantDataWxObjectPtr*) m_data)->GetValue();