view include/hist.h @ 2:c066fde99517

Added Batch Print Mode.
author pyon@macmini
date Fri, 23 Aug 2013 18:32:09 +0900
parents 7b6dab24f4b8
children
line wrap: on
line source

// Filename   : hist.h
// Last Change: 13-Aug-2013.
//
#ifndef __HIST_H__
#define __HIST_H__

#include "common.h"

class HistDialog : public wxDialog 
{
    DECLARE_EVENT_TABLE()
	private:
        wxString    m_hhsno;
	
	protected:
		wxListCtrl* m_listCtrl;
		wxButton*   m_buttonCancel;
		wxButton*   m_buttonSet;
	
	public:
		
		HistDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
		~HistDialog();
        
        void OnSelectItem( wxListEvent& event );
        void OnSet( wxCommandEvent& WXUNUSED(event) );
        void ReadHistoryList( void );    

        // Accessor
        wxString GetHhsNo() const { return m_hhsno; }
};

enum
{
    ID_LISTHIST = wxID_HIGHEST + 30,
    ID_SETHIST,
};


#endif //__HIST_H__