comparison src/index.cpp @ 12:52958cd4a073

Implement Force Mask button in Batch Print Mode.
author pyon@macmini
date Sun, 18 May 2014 19:49:15 +0900
parents 29021e6e1ebe
children
comparison
equal deleted inserted replaced
11:dfcf8c973219 12:52958cd4a073
1 // Filename : index.cpp 1 // Filename : index.cpp
2 // Last Change: 28-Apr-2014. 2 // Last Change: 12-May-2014.
3 // 3 //
4 4
5 #include "index.h" 5 #include "index.h"
6 #include "db.h" 6 #include "db.h"
7 #include "wx/wxsqlite3.h" 7 #include "wx/wxsqlite3.h"
42 m_buttonMake = new wxButton( this, ID_MKINDEX, wxT("作成"), wxDefaultPosition, wxDefaultSize, 0 ); 42 m_buttonMake = new wxButton( this, ID_MKINDEX, wxT("作成"), wxDefaultPosition, wxDefaultSize, 0 );
43 bSizerR->Add( m_buttonMake, 0, wxALIGN_RIGHT|wxALL, 5 ); 43 bSizerR->Add( m_buttonMake, 0, wxALIGN_RIGHT|wxALL, 5 );
44 44
45 bSizerR->Add( 0, 300, 1, wxEXPAND, 5 ); 45 bSizerR->Add( 0, 300, 1, wxEXPAND, 5 );
46 46
47 m_richText = new wxRichTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1, 100 ), wxVSCROLL|wxBORDER_NONE|wxWANTS_CHARS ); 47 m_richText = new wxRichTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1, 160 ), wxVSCROLL|wxBORDER_NONE|wxWANTS_CHARS );
48 bSizerR->Add( m_richText, 0, wxEXPAND|wxALL, 5 ); 48 bSizerR->Add( m_richText, 0, wxEXPAND|wxALL, 5 );
49 49
50 m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("閉じる"), wxDefaultPosition, wxDefaultSize, 0 ); 50 m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("閉じる"), wxDefaultPosition, wxDefaultSize, 0 );
51 bSizerR->Add( m_buttonClose, 0, wxALIGN_RIGHT|wxALL, 5 ); 51 bSizerR->Add( m_buttonClose, 0, wxALIGN_RIGHT|wxALL, 5 );
52 52