From 0dc44cac21e2e00d033eeabb8a4d2dc8d6a4a19f Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sat, 27 Sep 2008 15:13:12 +0000 Subject: [PATCH] Use wxUSE_LONGLONG_NATIVE more git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/propgrid/propgridiface.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/propgrid/propgridiface.h b/include/wx/propgrid/propgridiface.h index a43aa0201a..d75fdf0aa6 100644 --- a/include/wx/propgrid/propgridiface.h +++ b/include/wx/propgrid/propgridiface.h @@ -540,6 +540,7 @@ public: return value.GetArrayString(); } +#if wxUSE_LONGLONG_NATIVE wxLongLong_t GetPropertyValueAsLongLong( wxPGPropArg id ) const { wxPG_PROP_ID_GETPROPVAL_CALL_PROLOG_RETVAL_WFALLBACK("wxLongLong", @@ -557,6 +558,7 @@ public: ull << value; return ull.GetValue(); } +#endif wxArrayInt GetPropertyValueAsArrayInt( wxPGPropArg id ) const { @@ -1116,6 +1118,7 @@ public: SetPropVal( id, v ); } +#if wxUSE_LONGLONG_NATIVE /** Sets value (wxLongLong&) of a property. */ void SetPropertyValue( wxPGPropArg id, wxLongLong_t value ) @@ -1130,6 +1133,8 @@ public: wxVariant v = WXVARIANT(wxULongLong(value)); SetPropVal( id, v ); } +#endif + /** Sets value (wxArrayInt&) of a property. */ void SetPropertyValue( wxPGPropArg id, const wxArrayInt& value ) -- 2.45.2