Added support for wxLongLong and wxULongLong in wxVariant (closes #10166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -537,23 +537,17 @@ public:
|
||||
return value.GetArrayString();
|
||||
}
|
||||
|
||||
#if wxUSE_LONGLONG_NATIVE
|
||||
#ifdef wxLongLong_t
|
||||
wxLongLong_t GetPropertyValueAsLongLong( wxPGPropArg id ) const
|
||||
{
|
||||
wxPG_PROP_ID_GETPROPVAL_CALL_PROLOG_RETVAL_WFALLBACK("wxLongLong",
|
||||
(long) GetPropertyValueAsLong(id))
|
||||
wxLongLong ll;
|
||||
ll << value;
|
||||
return ll.GetValue();
|
||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(0)
|
||||
return p->GetValue().GetLongLong().GetValue();
|
||||
}
|
||||
|
||||
wxULongLong_t GetPropertyValueAsULongLong( wxPGPropArg id ) const
|
||||
{
|
||||
wxPG_PROP_ID_GETPROPVAL_CALL_PROLOG_RETVAL_WFALLBACK("wxULongLong",
|
||||
(unsigned long) GetPropertyValueAsULong(id))
|
||||
wxULongLong ull;
|
||||
ull << value;
|
||||
return ull.GetValue();
|
||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(0)
|
||||
return p->GetValue().GetULongLong().GetValue();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1170,7 +1164,7 @@ public:
|
||||
SetPropVal( id, v );
|
||||
}
|
||||
|
||||
#if wxUSE_LONGLONG_NATIVE
|
||||
#ifdef wxLongLong_t
|
||||
/** Sets value (wxLongLong&) of a property.
|
||||
*/
|
||||
void SetPropertyValue( wxPGPropArg id, wxLongLong_t value )
|
||||
|
Reference in New Issue
Block a user