// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "fdrepdlg.h"
#endif
m_FindReplaceData->m_Flags = event.GetFlags();
m_FindReplaceData->m_FindWhat = event.GetFindString();
- if ( HasFlag(wxFR_REPLACEDIALOG) &&
- (event.GetEventType() == wxEVT_COMMAND_FIND_REPLACE ||
+ if ( HasFlag(wxFR_REPLACEDIALOG) &&
+ (event.GetEventType() == wxEVT_COMMAND_FIND_REPLACE ||
event.GetEventType() == wxEVT_COMMAND_FIND_REPLACE_ALL) )
{
m_FindReplaceData->m_ReplaceWith = event.GetReplaceString();