X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/281448385a8d62a7efc64ca29e5803958e55eb69..ffb9247a85e83dcc4da631b76d0b86c0b2192676:/include/wx/variant.h diff --git a/include/wx/variant.h b/include/wx/variant.h index f3b1aca1ad..e24fe8fffc 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -362,6 +362,24 @@ public: #if wxUSE_LONGLONG bool Convert(wxLongLong* value) const; bool Convert(wxULongLong* value) const; + #ifdef wxLongLong_t + bool Convert(wxLongLong_t* value) const + { + wxLongLong temp; + if ( !Convert(&temp) ) + return false; + *value = temp.GetValue(); + return true; + } + bool Convert(wxULongLong_t* value) const + { + wxULongLong temp; + if ( !Convert(&temp) ) + return false; + *value = temp.GetValue(); + return true; + } + #endif // wxLongLong_t #endif // wxUSE_LONGLONG // Attributes