compilation fix for wxObject NO_COPY

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-05-08 22:20:13 +00:00
parent 03275ddc2d
commit 51fdd3daec

View File

@ -99,6 +99,15 @@ struct FileInfo : public wxObject
{
FileInfo(unsigned flag=0, wxFSVolumeKind type=wxFS_VOL_OTHER) :
m_flags(flag), m_type(type) {}
FileInfo(const FileInfo& other) { *this = other; }
FileInfo& operator=(const FileInfo& other)
{
m_flags = other.m_flags;
m_type = other.m_type;
return *this;
}
unsigned m_flags;
wxFSVolumeKind m_type;
};