54 lines
4.7 KiB
C
54 lines
4.7 KiB
C
|
/*
|
|||
|
* Purpose: Sample application for demonstrating and testing the wxWindows email support
|
|||
|
* Author: Frank Bu<EFBFBD>
|
|||
|
* 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
|