Eliminated some warnings under Windows; wxGetHomeDir problem in wxFile;
eliminated memory leak report by making class table dynamically allocated/freed; tidied up names in wxClassInfo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,9 +34,9 @@ wxDirInfo::wxDirInfo( const wxString &path )
|
||||
{
|
||||
m_name = "My Home";
|
||||
m_path += "/";
|
||||
char buf[300];
|
||||
wxGetHomeDir( buf );
|
||||
m_path = buf;
|
||||
wxString str;
|
||||
wxGetHomeDir( & str );
|
||||
m_path = str;
|
||||
}
|
||||
else
|
||||
if (m_path == "/proc") m_name = "Info Filesystem";
|
||||
|
Reference in New Issue
Block a user