avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,7 +304,7 @@ bool wxDir::HasSubDirs(const wxString& spec) const
|
||||
// caller will learn it soon enough when it calls GetFirst(wxDIR)
|
||||
// anyhow
|
||||
wxStructStat stBuf;
|
||||
if ( wxStat(M_DIR->GetName().c_str(), &stBuf) == 0 )
|
||||
if ( wxStat(M_DIR->GetName(), &stBuf) == 0 )
|
||||
{
|
||||
switch ( stBuf.st_nlink )
|
||||
{
|
||||
|
Reference in New Issue
Block a user