rem: if (MessagePntr->what == MSG_COMMAND_ARGUMENTS) ProcessArgs (MessagePntr); else if (MessagePntr->what == MSG_COMMAND_FILE_REFS) ProcessRefs (MessagePntr); else BLooper::MessageReceived (MessagePntr);
add: if (MessagePntr->what >= MSG_CLASS_BUTTONS && MessagePntr->what < MSG_CLASS_BUTTONS + CL_MAX) { if (m_ChoosenClassificationPntr != NULL) *m_ChoosenClassificationPntr = (ClassificationTypes) (MessagePntr->what - MSG_CLASS_BUTTONS); PostMessage (B_QUIT_REQUESTED); return; }
context: void CommanderLooper::MessageReceived (BMessage *MessagePntr){  m_IsBusy = true;  if (MessagePntr->what == MSG_COMMAND_ARGUMENTS)    ProcessArgs (MessagePntr);  else if (MessagePntr->what == MSG_COMMAND_FILE_REFS)    ProcessRefs (MessagePntr);  else    BLooper::MessageReceived (MessagePntr);  m_IsBusy = false;}