Ejemplo n.º 1
0
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) );
}
Ejemplo n.º 2
0
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) );
}
Ejemplo n.º 3
0
BOOL IniFile::SetValueB(LPCTSTR lpcszKey, LPCTSTR lpcszEntry, BOOL bValue, BOOL bCreate)
{
	return SetValueI(lpcszKey, lpcszEntry, (int)bValue, bCreate);
}
Ejemplo n.º 4
0
bool CIniFile::SetValueB(const string &section, const string &key, bool const value, bool const create)
{
   return SetValueI(section, key, int(value), create);
}