+void GridFrame::OnSetHighlightWidth( wxCommandEvent& WXUNUSED(ev) )
+{
+ wxString choices[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};
+
+ wxSingleChoiceDialog dlg(this, "Choose the thickness of the highlight pen:",
+ "Pen Width", 11, choices);
+
+ int current = grid->GetCellHighlightPenWidth();
+ dlg.SetSelection(current);
+ if (dlg.ShowModal() == wxID_OK) {
+ grid->SetCellHighlightPenWidth(dlg.GetSelection());
+ }
+}
+
+void GridFrame::OnSetROHighlightWidth( wxCommandEvent& WXUNUSED(ev) )
+{
+ wxString choices[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};
+
+ wxSingleChoiceDialog dlg(this, "Choose the thickness of the highlight pen:",
+ "Pen Width", 11, choices);
+
+ int current = grid->GetCellHighlightROPenWidth();
+ dlg.SetSelection(current);
+ if (dlg.ShowModal() == wxID_OK) {
+ grid->SetCellHighlightROPenWidth(dlg.GetSelection());
+ }
+}
+
+