Fix building wxIniConfig when wxUSE_BASE64=0
Use guards for wxUSE_BASE64 just as wxConfigBase does.
This commit is contained in:
@@ -81,11 +81,15 @@ protected:
|
||||
// read/write
|
||||
bool DoReadString(const wxString& key, wxString *pStr) const wxOVERRIDE;
|
||||
bool DoReadLong(const wxString& key, long *plResult) const wxOVERRIDE;
|
||||
#if wxUSE_BASE64
|
||||
bool DoReadBinary(const wxString& key, wxMemoryBuffer *buf) const wxOVERRIDE;
|
||||
#endif // wxUSE_BASE64
|
||||
|
||||
bool DoWriteString(const wxString& key, const wxString& szValue) wxOVERRIDE;
|
||||
bool DoWriteLong(const wxString& key, long lValue) wxOVERRIDE;
|
||||
#if wxUSE_BASE64
|
||||
bool DoWriteBinary(const wxString& key, const wxMemoryBuffer& buf) wxOVERRIDE;
|
||||
#endif // wxUSE_BASE64
|
||||
|
||||
private:
|
||||
// helpers
|
||||
|
||||
Reference in New Issue
Block a user