wxListBox *list = static_cast<wxListBox*> ( impl->GetWXPeer());
wxCHECK_RET( list != NULL , wxT("Listbox expected"));
- wxCommandEvent event( wxEVT_COMMAND_LISTBOX_SELECTED, list->GetId() );
+ wxCommandEvent event( wxEVT_LISTBOX, list->GetId() );
if ((row < 0) || (row > (int) list->GetCount())) // OS X can select an item below the last item
return;
while (columnIndex--)
[[(NSTableColumn *)[tableColumns objectAtIndex:columnIndex] dataCell] setFont:aFont];
- // todo introduce a common NSLayoutManager instance for all and use new method
-#ifndef __LP64__
- [self setRowHeight:[aFont defaultLineHeightForFont]+2];
-#endif
+ [self setRowHeight:[gNSLayoutManager defaultLineHeightForFont:aFont]+2];
}
- (void) setControlSize:(NSControlSize) size