Alessandro Bonazzi 5e9513c5b2 Patch level : 12.00
Files correlati     :

Commento:
wxSMTP
2024-11-05 20:43:31 +01:00

54 lines
4.7 KiB
C++

/*
* Purpose: Sample application for demonstrating and testing the wxWindows email support
* Author: Frank Buß
* Created: 2002
*/
#ifndef WINO_H
#define WINO_H
#include <wx/wx.h>
#include <wx/listctrl.h>
#if !defined(__WXMSW__)
extern char* wino_xpm[];
#endif
class WinoApp : public wxApp
{
public:
bool OnInit();
};
class WinoDialog : public wxDialog
{
public:
WinoDialog(wxWindow *parent);
~WinoDialog();
void OnSendButton(wxCommandEvent &event);
void OnFileAddButton(wxCommandEvent &event);
void OnFileRemoveButton(wxCommandEvent &event);
void OnAddressAddButton(wxCommandEvent &event);
void OnAddressRemoveButton(wxCommandEvent &event);
private:
wxTextCtrl* m_pServerTextCtrl;
wxTextCtrl* m_pFromTextCtrl;
wxTextCtrl* m_pToTextCtrl;
wxTextCtrl* m_pSubjectTextCtrl;
wxTextCtrl* m_pTextTextCtrl;
wxListBox* m_pFilelist;
wxListBox* m_pAddresslist;
DECLARE_EVENT_TABLE()
friend class SendDialog;
};
#endif