Add support for size_t to wxConfig
Allow writing and reading size_t values directly too, there were not previously accepted unlike all the other arithmetic types. Closes #19091.
This commit is contained in:
@@ -192,6 +192,9 @@ public:
|
||||
bool Read(const wxString& key, wxLongLong_t *pl, wxLongLong_t defVal) const;
|
||||
#endif // wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG
|
||||
|
||||
bool Read(const wxString& key, size_t* val) const;
|
||||
bool Read(const wxString& key, size_t* val, size_t defVal) const;
|
||||
|
||||
#if wxUSE_BASE64
|
||||
// read a binary data block
|
||||
bool Read(const wxString& key, wxMemoryBuffer* data) const
|
||||
|
Reference in New Issue
Block a user