wxSizeProperty::wxSizeProperty( const wxString& label, const wxString& name, const wxSize& value) : wxPGProperty(label,name) { SetValueI(value); AddPrivateChild( new wxIntProperty("Width",wxPG_LABEL,value.x) ); AddPrivateChild( new wxIntProperty("Height",wxPG_LABEL,value.y) ); }
wxPointProperty::wxPointProperty( const wxString& label, const wxString& name, const wxPoint& value) : wxPGProperty(label,name) { SetValueI(value); AddPrivateChild( new wxIntProperty("X",wxPG_LABEL,value.x) ); AddPrivateChild( new wxIntProperty("Y",wxPG_LABEL,value.y) ); }
BOOL IniFile::SetValueB(LPCTSTR lpcszKey, LPCTSTR lpcszEntry, BOOL bValue, BOOL bCreate) { return SetValueI(lpcszKey, lpcszEntry, (int)bValue, bCreate); }
bool CIniFile::SetValueB(const string §ion, const string &key, bool const value, bool const create) { return SetValueI(section, key, int(value), create); }