X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/decb3a6a16ea5acf1dfcdb1b70cb6edaa09840c0..036971cc8c5282769c60b3c5afed80ccb50e8a14:/contrib/include/wx/net/email.h?ds=sidebyside diff --git a/contrib/include/wx/net/email.h b/contrib/include/wx/net/email.h index 1c312b4980..50573d8014 100644 --- a/contrib/include/wx/net/email.h +++ b/contrib/include/wx/net/email.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "email.h" #endif @@ -23,7 +23,7 @@ * Miscellaneous email functions */ -class wxEmail +class WXDLLIMPEXP_NETUTILS wxEmail { public: //// Ctor/dtor @@ -33,7 +33,8 @@ public: // Send a message. // Specify profile, or leave it to wxWindows to find the current user name - static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString ); + static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString, + const wxString& sendMail = wxT("/usr/lib/sendmail -t")); protected: };