[ wxwindows-Bugs-1527495 ] Erroneous example for wxFileSelector
SourceForge.net
noreply at sourceforge.net
Sun Jul 23 15:50:26 PDT 2006
Bugs item #1527495, was opened at 2006-07-23 22:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1527495&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Trivial
Status: Open
Resolution: None
Priority: 5
Submitted By: Hartmut Seichter (retrakker)
Assigned to: Nobody/Anonymous (nobody)
Summary: Erroneous example for wxFileSelector
Initial Comment:
Following is been used as example for wxFileSelector:
wxString filename = wxFileSelector("Choose a file to
open");
if ( !filename.empty() )
{
// work with the file
...
}
//else: cancelled by user
should read:
wxString filename = wxFileSelector("Choose a file to
open");
if ( !filename.IsEmpty() )
{
// work with the file
...
}
//else: cancelled by user
seen in wxWidgets 2.6.2 source distribution
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1527495&group_id=9863
More information about the wx-dev
mailing list