59 wxDialog(parent, -1, _T("
Breakpoint properties"), wxDefaultPosition),
60 manager_(manager), handle_(handle) {
62 createContents(
this,
true,
true);
84 wxTextCtrl* conditionCtrl =
98 return wxDialog::TransferDataToWindow();
112 wxTextCtrl* conditionCtrl =
115 unsigned ignoreCount =
119 conditionCtrl->GetValue().Trim(
true).Trim(
false));
134 lineReader.
input(ignoreCommand);
140 lineReader.
input(conditionCommand);
141 lineReader.
input(condition);
152 wxWindow *parent,
bool call_fit,
bool set_sizer) {
154 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
156 wxFlexGridSizer *item1 =
new wxFlexGridSizer( 2, 0, 0 );
158 wxStaticText *item2 =
new wxStaticText( parent,
ID_TEXT_BREAKPOINT, wxT(
"Breakpoint"), wxDefaultPosition, wxDefaultSize, 0 );
159 item1->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
161 wxStaticText *item3 =
new wxStaticText( parent,
ID_TEXT_BP_ID, wxT(
""), wxDefaultPosition, wxDefaultSize, 0 );
162 item1->Add( item3, 0, wxALL, 5 );
164 wxStaticText *item4 =
new wxStaticText( parent,
ID_LABEL_IGNORE_COUNT, wxT(
"Ignore count:"), wxDefaultPosition, wxDefaultSize, 0 );
165 item1->Add( item4, 0, wxALIGN_RIGHT|wxALL, 5 );
167 wxSpinCtrl *item5 =
new wxSpinCtrl( parent,
ID_IGNORE_CTRL, wxT(
"0"), wxDefaultPosition, wxSize(-1,-1), 0, 0, 100, 0 );
168 item1->Add( item5, 0, wxALL, 5 );
170 wxStaticText *item6 =
new wxStaticText( parent,
ID_LABEL_CONDITION, wxT(
"Condition:"), wxDefaultPosition, wxDefaultSize, 0 );
171 item1->Add( item6, 0, wxALIGN_RIGHT|wxALL, 5 );
173 wxTextCtrl *item7 =
new wxTextCtrl( parent,
ID_CONDITION, wxT(
""), wxDefaultPosition, wxSize(250,-1));
174 item1->Add( item7, 0, wxALIGN_CENTER|wxALL, 5 );
176 item0->Add( item1, 0, wxGROW, 5 );
178 wxStaticLine *item8 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL );
179 item0->Add( item8, 0, wxGROW|wxALL, 5 );
181 wxGridSizer *item9 =
new wxGridSizer( 2, 0, 0 );
183 wxButton *item10 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
184 item9->Add( item10, 0, wxALIGN_CENTER|wxALL, 5 );
186 wxButton *item11 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
187 item9->Add( item11, 0, wxALIGN_CENTER|wxALL, 5 );
189 item0->Add( item9, 0, wxGROW, 5 );
193 parent->SetSizer( item0 );
195 item0->SetSizeHints( parent );