search for: defaultv

Displaying 1 result from an estimated 1 matches for "defaultv".

Did you mean: default
2005 Jul 27
2
SWIGging ConfigBase
...h return different kinds of values. In wxruby-not-swig these are implemented as read, read_bool, read_int and so on. read() means read_string(). In ruby the methods read config_value = conf.read_bool(key, default) but in C++ it''s bool Read(const wxString& key , bool* d , bool defaultVal ) const; There''s also versions that receive just two arguments, the key and a reference to a typed variable that holds the default value which will be modified if there is a config value for that key or else left unchanged: bool Read(const wxString& key , bool* b ) const; I...