]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fddlgcmn.cpp
We need a char, not wxChar.
[wxWidgets.git] / src / common / fddlgcmn.cpp
index d8c742511dcd2bc6bbb5ce6bdbb66a9655bcac9c..20e18060a6ee4b575e55eca0af50984352c84d49 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "fdrepdlg.h"
 #endif
 
     #pragma implementation "fdrepdlg.h"
 #endif
 
@@ -74,8 +74,8 @@ void wxFindReplaceDialogBase::Send(wxFindDialogEvent& event)
 
     m_FindReplaceData->m_Flags = event.GetFlags();
     m_FindReplaceData->m_FindWhat = event.GetFindString();
 
     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();
           event.GetEventType() == wxEVT_COMMAND_FIND_REPLACE_ALL) )
     {
         m_FindReplaceData->m_ReplaceWith = event.GetReplaceString();