예제 #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) );
}
예제 #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) );
}
예제 #3
0
파일: IniFile.cpp 프로젝트: 3rdexp/fxfile
BOOL IniFile::SetValueB(LPCTSTR lpcszKey, LPCTSTR lpcszEntry, BOOL bValue, BOOL bCreate)
{
	return SetValueI(lpcszKey, lpcszEntry, (int)bValue, bCreate);
}
예제 #4
0
bool CIniFile::SetValueB(const string &section, const string &key, bool const value, bool const create)
{
   return SetValueI(section, key, int(value), create);
}