Changed wxStat, wxAccess and wxOpen to no longer
being just a define so that the signature is using wxChar under Unicode under Unix just as it does under Unicode under Mac. This required some modification in various places, but should make debugging a little easier, among others. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -303,7 +303,7 @@ bool wxDir::HasSubDirs(const wxString& spec)
|
||||
// caller will learn it soon enough when it calls GetFirst(wxDIR)
|
||||
// anyhow
|
||||
wxStructStat stBuf;
|
||||
if ( wxStat(M_DIR->GetName().fn_str(), &stBuf) == 0 )
|
||||
if ( wxStat(M_DIR->GetName().c_str(), &stBuf) == 0 )
|
||||
{
|
||||
switch ( stBuf.st_nlink )
|
||||
{
|
||||
|
Reference in New Issue
Block a user