Mercurial > mercurial > hgweb_mover2.cgi
diff include/dirview.h @ 38:044cc2f5af81 v2.4 v2.7
small fix.
author | pyon@macmini |
---|---|
date | Thu, 24 Nov 2011 22:26:15 +0900 |
parents | 868ccd73e238 |
children | ce5b61376fd0 |
line wrap: on
line diff
--- a/include/dirview.h Fri Nov 18 20:46:12 2011 +0900 +++ b/include/dirview.h Thu Nov 24 22:26:15 2011 +0900 @@ -1,5 +1,5 @@ // Filename : dirview.h -// Last Change: 24-Oct-2011. +// Last Change: 24-Nov-2011. // #ifndef __dirview__ @@ -9,20 +9,23 @@ class DirViewFrame : public wxFrame { + DECLARE_EVENT_TABLE() private: protected: - wxListCtrl* m_listCtrlAll; - wxListCtrl* m_listCtrlThumbnail; - wxStaticBitmap* m_bitmapPreview; + wxListCtrl* m_listCtrl; + wxButton* m_buttonExplorer; + wxButton* m_buttonClose; public: + wxString m_dir; - DirViewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + DirViewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); ~DirViewFrame(); - void DirViewFrame::OnThumbnail(wxListEvent& event); - void DirViewFrame::OnThumbnail(wxListEvent& event); + void OnExplorer(wxCommandEvent& event); + void OnClose(wxCommandEvent& event); + void LoadListImage( void ); }; #endif //__dirview__