33 #include <boost/format.hpp>
35 #include <wx/statline.h>
46 #include "tce_config.h"
57 wxDialog(parent, -1, _T(
""),
107 wxWindow *parent,
bool call_fit,
bool set_sizer) {
109 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
119 wxStaticBitmap* dialogLogo =
new wxStaticBitmap(parent, -1, logo);
121 item0->Add(dialogLogo, 0, wxALIGN_CENTER|wxALL, 5 );
122 wxBoxSizer *item3 =
new wxBoxSizer( wxVERTICAL );
123 wxStaticText *item4 =
124 new wxStaticText(parent,
ID_ABOUT_TEXT, wxT(
"Operation Set Editor"),
125 wxDefaultPosition, wxDefaultSize, 0);
126 item3->Add( item4, 0, wxALIGN_CENTER|wxALL, 5 );
127 wxStaticText *item5 =
129 wxDefaultPosition, wxDefaultSize, 0);
130 item3->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
132 wxStaticText *item6 =
134 wxDefaultPosition, wxDefaultSize, 0);
135 item3->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );
137 item0->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
138 wxStaticLine *item7 =
139 new wxStaticLine(parent, -1, wxDefaultPosition,
140 wxSize(20,-1), wxLI_HORIZONTAL);
141 item0->Add( item7, 0, wxGROW|wxALL, 5 );
143 new wxButton(parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition,
145 item0->Add( item8, 0, wxALIGN_CENTER|wxALL, 5 );
147 parent->SetAutoLayout(
TRUE );
148 parent->SetSizer( item0 );
151 item0->Fit( parent );
152 item0->SetSizeHints( parent );