view include/hist.h @ 10:29021e6e1ebe

Implement thumbnail list in PreviewDialog.
author pyon@macmini
date Mon, 28 Apr 2014 18:14:04 +0900
parents c066fde99517
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__