]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxUSE_LONGLONG_NATIVE more
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 27 Sep 2008 15:13:12 +0000 (15:13 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 27 Sep 2008 15:13:12 +0000 (15:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/propgridiface.h

index a43aa0201abd47d7bd26941d0ef49a9fb33de3fb..d75fdf0aa656f6423549a040066c2a7c57e832a1 100644 (file)
@@ -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 )