Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv5895/src/gui
Modified Files:
wxFiltersDialog.cpp
Log Message:
minor GUI fixes to quick filter dlg (added accel chars; set initial focus)
Index: wxFiltersDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFiltersDialog.cpp,v
retrieving revision 1.98
retrieving revision 1.99
diff -b -u -2 -r1.98 -r1.99
--- wxFiltersDialog.cpp 12 Sep 2002 02:36:49 -0000 1.98
+++ wxFiltersDialog.cpp 12 Sep 2002 16:36:49 -0000 1.99
@@ -2117,4 +2117,5 @@
virtual ~wxQuickFilterDialog();
+ virtual bool TransferDataToWindow();
virtual bool TransferDataFromWindow();
@@ -2180,7 +2181,7 @@
wxArrayString labels;
- labels.Add(_("the message was sent from"));
- labels.Add(_("the message subject contains"));
- labels.Add(_("the message was sent to"));
+ labels.Add(_("the message was sent &from"));
+ labels.Add(_("the message &subject contains"));
+ labels.Add(_("the message was sent &to"));
long widthMax = GetMaxLabelWidth(labels, this) + 4*LAYOUT_X_MARGIN;
@@ -2220,5 +2221,5 @@
}
- msg = new wxStaticText(this, -1, _("And then:"));
+ msg = new wxStaticText(this, -1, _("&And then:"));
c = new wxLayoutConstraints;
c->top.Below(m_check[Filter_Max - 1], 3*LAYOUT_Y_MARGIN);
@@ -2270,4 +2271,14 @@
*name << _(names[which]) << ' ' << text;
}
+}
+
+bool wxQuickFilterDialog::TransferDataToWindow()
+{
+ // set focus to some control which we're likely to use -- by default it
+ // would have been on the "Ok" button but as it's initially disabled, it
+ // doesn't make much sense
+ m_check[Filter_From]->SetFocus();
+
+ return true;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates