Working on my plug-in, and looking back at the sample code, I noticed:
plugin_->SetExportSelectionSet(GET_STATE(exportCamerasCheck));
I believe that should be:
plugin_->SetExportSelectionSet(GET_STATE(exportSelectionCheck));
Or am I missing something?