Revision: 7455
http://mahogany.svn.sourceforge.net/mahogany/?rev=7455&view=rev
Author: vadz
Date: 2008-05-03 08:01:14 -0700 (Sat, 03 May 2008)
Log Message:
-----------
no real changes, just fixed some comments
Modified Paths:
--------------
trunk/M/include/gui/wxBrowseButton.h
Modified: trunk/M/include/gui/wxBrowseButton.h
===================================================================
--- trunk/M/include/gui/wxBrowseButton.h 2008-05-03 14:46:31 UTC (rev
7454)
+++ trunk/M/include/gui/wxBrowseButton.h 2008-05-03 15:01:14 UTC (rev
7455)
@@ -37,7 +37,7 @@
// information about what exactly this button does (as all browse buttons look
// alike, there is no other way to know it).
//
-// This class can not be used directly, DoBrowse() must be overriden in the
+// This class can not be used directly, DoBrowse() must be overridden in the
// derived classes.
// ----------------------------------------------------------------------------
@@ -45,16 +45,19 @@
{
public:
wxBrowseButton(wxWindow *parent, const wxString& tooltip)
- : wxButton(parent, -1, _T(">>"))
+ : wxButton(parent, -1, ">>",
+ wxDefaultPosition, wxDefaultSize,
+ wxBU_EXACTFIT)
{
#if wxUSE_TOOLTIPS
SetToolTip(tooltip);
#endif // wxUSE_TOOLTIPS
}
- // function which shows the file selection dialog and changes the associated
- // controls contents; it is called in response to the click on the button,
- // but may be also called directly
+ // function which shows the dialog allowing the user to select the value and
+ // changes the associated controls contents if a choice was made in this
+ // dialog; it is called in response to the click on the button, but may be
+ // also called directly
virtual void DoBrowse() = 0;
protected:
@@ -73,7 +76,7 @@
// The wxTextBrowseButton also manages enabled/disabled state of the text
control:
// it enables it when it is enabled and disables otherwise.
//
-// This class can not be used directly, DoBrowse() must be overriden in the
+// This class can not be used directly, DoBrowse() must be overridden in the
// derived classes.
// ----------------------------------------------------------------------------
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates