34 #include "tce_config.h"
44 wxDialog(parent, -1, _T(
"About HDB Editor"), wxDefaultPosition) {
68 wxWindow *parent,
bool call_fit,
bool set_sizer) {
70 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
72 item0->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
74 wxStaticText *item1 =
new wxStaticText( parent,
ID_TEXT_PROGRAM_NAME, wxT(
"HDB Editor"), wxDefaultPosition, wxDefaultSize, 0 );
75 item1->SetFont( wxFont( 25, wxROMAN, wxNORMAL, wxNORMAL ) );
76 item0->Add( item1, 0, wxALIGN_CENTER|wxALL, 5 );
78 wxStaticText *item2 =
new wxStaticText( parent,
ID_TEXT_PROGRAM_VERSION, wxT(
"Version ?.??"), wxDefaultPosition, wxDefaultSize, 0 );
79 item0->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
82 wxDefaultPosition, wxDefaultSize, 0 );
83 item0->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
85 item0->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
87 wxStaticLine *item4 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(200,-1), wxLI_HORIZONTAL );
88 item0->Add( item4, 0, wxGROW|wxALL, 5 );
90 wxButton *item5 =
new wxButton( parent, wxID_OK, wxT(
"OK"), wxDefaultPosition, wxDefaultSize, 0 );
91 item0->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
95 parent->SetSizer( item0 );
97 item0->SetSizeHints( parent );