Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

void wxPropertyContainerMethods::SetBoolChoices ( const wxChar *  true_choice,
const wxChar *  false_choice 
) [static, inherited]

Lets user to set the strings listed in the choice dropdown of a wxBoolProperty. Defaults are "True" and "False", so changing them to, say, "Yes" and "No" may be useful in some less technical applications.

Definition at line 11227 of file propgrid.cpp.

{
    WX_PG_GLOBALS_LOCKER()
    wxPGGlobalVars->m_boolChoices[0] = false_choice;
    wxPGGlobalVars->m_boolChoices[1] = true_choice;
}

Generated by  Doxygen 1.6.0   Back to index