out typemap for wxMemorySize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-20 20:55:59 +00:00
parent c7e4ff1497
commit 941afb6b65

View File

@@ -114,6 +114,15 @@ wxString wxGetOsDescription();
// // "All files (*)|*|Image Files (*.jpeg *.png)|*.jpg;*.png"
// int wxParseCommonDialogsFilter(const wxString& wildCard, wxArrayString& descriptions, wxArrayString& filters);
%typemap(out) wxMemorySize {
%#if wxUSE_LONGLONG
$result = PyLong_FromLongLong($1.GetValue());
%#else
$result = PyInt_FromLong($1);
%#endif
}
#if defined(__WXMSW__) || defined(__WXMAC__)
wxMemorySize wxGetFreeMemory();
#else