diff include/bprint.h @ 0:615a15029602 default tip

first commit.
author pyon@macmini
date Sun, 10 Nov 2019 08:39:41 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/bprint.h	Sun Nov 10 08:39:41 2019 +0900
@@ -0,0 +1,45 @@
+/* Filename   : bprint.h
+   Last Change: 2019-11-08 金 14:19:58.
+                     by Takayuki Mutoh
+*/
+#pragma once
+
+#include <wx/frame.h>
+#include <wx/dataview.h>
+#include <wx/gbsizer.h>
+#include <wx/button.h>
+
+class BPrintFrame : public wxFrame
+{
+	private:
+
+	protected:
+		enum
+		{
+			ID_BP_ADD = 1000,
+			ID_BP_DEL,
+			ID_BP_PRINT
+		};
+
+		wxDataViewListCtrl* m_dataViewListCtrl;
+		wxDataViewColumn*   m_dataViewListColumnNo;
+		wxDataViewColumn*   m_dataViewListColumnHhs;
+		wxDataViewColumn*   m_dataViewListColumnName;
+		wxDataViewColumn*   m_dataViewListColumnDir;
+		wxDataViewColumn*   m_dataViewListColumnSet;
+		wxDataViewColumn*   m_dataViewListColumnMask;
+		wxDataViewColumn*   m_dataViewListColumnStat;
+		wxButton*           m_buttonAdd;
+		wxButton*           m_buttonDel;
+		wxButton*           m_buttonPrint;
+
+		// Virtual event handlers, overide them in your derived class
+		virtual void OnAdd( wxCommandEvent& event ) { event.Skip(); }
+		virtual void OnDelete( wxCommandEvent& event ) { event.Skip(); }
+		virtual void OnPrint( wxCommandEvent& event ) { event.Skip(); }
+
+	public:
+		BPrintFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("バッチ印刷"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
+		~BPrintFrame();
+};
+