Make GetWxObjectPtr() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f09df8b2ea
commit
63574b81fa
@ -224,8 +224,8 @@ public:
|
||||
#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
|
||||
|
@ -1894,7 +1894,7 @@ void* wxVariant::GetVoidPtr() const
|
||||
return (void*) ((wxVariantDataVoidPtr*) m_data)->GetValue();
|
||||
}
|
||||
|
||||
wxObject* wxVariant::GetWxObjectPtr()
|
||||
wxObject* wxVariant::GetWxObjectPtr() const
|
||||
{
|
||||
wxASSERT(wxIsKindOf(m_data, wxVariantDataWxObjectPtr));
|
||||
return (wxObject*) ((wxVariantDataWxObjectPtr*) m_data)->GetValue();
|
||||
|
Loading…
Reference in New Issue
Block a user