X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/decb3a6a16ea5acf1dfcdb1b70cb6edaa09840c0..7f5d8b0085b0140f62fb49dd8a0e50ed895e4632:/contrib/include/wx/net/email.h 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: };