separating #ifdef MOZ_MAIL_NEWS from #ifdef EDITOR so that CComposerFind can work with just the EDITOR but not MOZ_MAIL_NEWS turned on. #312288; reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -84,9 +84,13 @@ void CFindWindow::FinishCreateSelf()
|
||||
void CFindWindow::RegisterViewTypes()
|
||||
{
|
||||
RegisterClass_(CFindWindow);
|
||||
|
||||
#ifdef EDITOR
|
||||
RegisterClass_(CComposeFindWindow);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_MAIL_NEWS
|
||||
RegisterClass_(LMailNewsFindWindow);
|
||||
RegisterClass_(CComposeFindWindow);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -231,6 +235,9 @@ void LMailNewsFindWindow::GetDialogValues()
|
||||
sFindInHeaders = ( fFindInHeaders->GetValue() != 0 );
|
||||
}
|
||||
|
||||
|
||||
#endif // MOZ_MAIL_NEWS
|
||||
|
||||
# ifdef EDITOR
|
||||
# pragma mark -
|
||||
|
||||
@@ -279,10 +286,9 @@ void CComposeFindWindow::ListenToMessage(MessageT inMessage, void* ioParam)
|
||||
{
|
||||
this->GetDialogValues();
|
||||
sViewBeingSearched->DoFind();
|
||||
// ListenToMessage( cmd_Close, NULL );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case 'Repl':
|
||||
case 'RepA':
|
||||
case 'RepN':
|
||||
@@ -301,13 +307,7 @@ void CComposeFindWindow::ListenToMessage(MessageT inMessage, void* ioParam)
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case msg_Cancel:
|
||||
{
|
||||
LDialogBox::ListenToMessage( cmd_Close, ioParam );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
default:
|
||||
{
|
||||
LDialogBox::ListenToMessage(inMessage, ioParam);
|
||||
@@ -318,4 +318,3 @@ void CComposeFindWindow::ListenToMessage(MessageT inMessage, void* ioParam)
|
||||
|
||||
|
||||
# endif // EDITOR
|
||||
#endif // MOZ_MAIL_NEWS
|
||||
|
||||
Reference in New Issue
Block a user