wxd_CheckListBox_GetStringSelection

Function wxd_CheckListBox_GetStringSelection 

Source
pub unsafe extern "C" fn wxd_CheckListBox_GetStringSelection(
    clbox: *const wxd_CheckListBox_t,
    buffer: *mut c_char,
    buffer_len: usize,
) -> c_int
Expand description

Retrieves the currently selected string from the wxCheckListBox. Returns the length of the string copied into the buffer, excluding the null terminator, if any error, -1 returned. If the buffer is too small, it copies as much as fits and returns the required size. If no selection is made, returns 0 and does not modify the buffer.