157 wxWindow* parent,
bool call_fit,
bool set_sizer) {
159 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
161 wxFlexGridSizer *item1 =
new wxFlexGridSizer( 2, 0, 0 );
163 wxStaticText *item2 =
new wxStaticText( parent,
ID_LABEL_WATCH, wxT(
"Watch:"), wxDefaultPosition, wxDefaultSize, 0 );
164 item1->Add( item2, 0, wxALIGN_RIGHT|wxALL, 5 );
166 wxStaticText *item3 =
new wxStaticText( parent,
ID_WATCH_HANDLE, wxT(
"??????"), wxDefaultPosition, wxDefaultSize, 0 );
167 item1->Add( item3, 0, wxALL, 5 );
169 wxStaticText *item4 =
new wxStaticText( parent,
ID_LABEL_EXPRESSION, wxT(
"Expression:"), wxDefaultPosition, wxDefaultSize, 0 );
170 item1->Add( item4, 0, wxALIGN_RIGHT|wxALL, 5 );
172 wxTextCtrl *item5 =
new wxTextCtrl( parent,
ID_EXPRESSION, wxT(
""), wxDefaultPosition, wxSize(400,-1), wxTE_READONLY );
173 item1->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
175 wxStaticText *item6 =
new wxStaticText( parent,
ID_LABEL_CONDITION, wxT(
"Condition:"), wxDefaultPosition, wxDefaultSize, 0 );
176 item1->Add( item6, 0, wxALIGN_RIGHT|wxALL, 5 );
178 wxTextCtrl *item7 =
new wxTextCtrl( parent,
ID_CONDITION, wxT(
""), wxDefaultPosition, wxSize(400,-1), 0 );
179 item1->Add( item7, 0, wxGROW|wxALL, 5 );
181 wxStaticText *item8 =
new wxStaticText( parent,
ID_LABEL_IGNORE_COUNT, wxT(
"Ignore count:"), wxDefaultPosition, wxDefaultSize, 0 );
182 item1->Add( item8, 0, wxALIGN_RIGHT|wxALL, 5 );
184 wxSpinCtrl *item9 =
new wxSpinCtrl( parent,
ID_IGNORE_COUNT, wxT(
"0"), wxDefaultPosition, wxSize(-1,-1), 0, 0, 10000, 0 );
185 item1->Add( item9, 0, wxALL, 5 );
187 item0->Add( item1, 0, wxALIGN_CENTER|wxALL, 5 );
189 wxStaticLine *item10 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL );
190 item0->Add( item10, 0, wxGROW|wxALL, 5 );
192 wxBoxSizer *item11 =
new wxBoxSizer( wxHORIZONTAL );
194 wxButton *item12 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
195 item11->Add( item12, 0, wxALL, 5 );
197 wxButton *item13 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
198 item11->Add( item13, 0, wxALL, 5 );
200 item0->Add( item11, 0, wxALIGN_CENTER, 5 );
204 parent->SetSizer( item0 );
206 item0->SetSizeHints( parent );