52 wxDialog(parent, -1, _T("
Memory value"), wxDefaultPosition,
56 createContents(
this,
true,
true);
116 wxString message = _T(
"Bit width of the value exceeds the maximum");
117 message.Append(_T(
" bit width of "));
119 message.Append(_T(
"."));
142 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
145 parent,
ID_VALUE, wxDefaultPosition,
150 item0->Add( item1, 0, wxALIGN_CENTER|wxALL, 5 );
152 wxBoxSizer *item2 =
new wxBoxSizer( wxHORIZONTAL );
154 wxButton *item3 =
new wxButton( parent, wxID_OK, wxT(
"OK"), wxDefaultPosition, wxDefaultSize, 0 );
155 item2->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
157 wxButton *item4 =
new wxButton( parent, wxID_CANCEL, wxT(
"Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
158 item2->Add( item4, 0, wxALIGN_CENTER|wxALL, 5 );
160 item0->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
164 parent->SetSizer( item0 );
166 item0->SetSizeHints( parent );