wxUSE_DATETIME==0 compilation fix (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
608f8a111b
commit
87152bb53d
@ -68,12 +68,18 @@ class wxXmlResourceModule;
|
||||
class WXDLLIMPEXP_XRC wxXmlResourceDataRecord
|
||||
{
|
||||
public:
|
||||
wxXmlResourceDataRecord() : Doc(NULL), Time(wxDateTime::Now()) {}
|
||||
wxXmlResourceDataRecord() : Doc(NULL) {
|
||||
#if wxUSE_DATETIME
|
||||
Time = wxDateTime::Now();
|
||||
#endif
|
||||
}
|
||||
~wxXmlResourceDataRecord() {delete Doc;}
|
||||
|
||||
wxString File;
|
||||
wxXmlDocument *Doc;
|
||||
#if wxUSE_DATETIME
|
||||
wxDateTime Time;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user