X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8db37e069996bf60cbc152eb8d93b199e7c80842..b126fe3ae2ef2717e8ec2491cb50fa418492e8c8:/src/generic/fdrepdlg.cpp diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index a5a0040077..df9998ed27 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -6,14 +6,14 @@ // Created: 05/25/01 // RCS-ID: // Copyright: (c) wxWindows team -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ // declarations // ============================================================================ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "genericfdrepdlg.h" #endif @@ -49,12 +49,6 @@ // constants // ---------------------------------------------------------------------------- -enum -{ - wxID_REPLACE = 5890, - wxID_REPLACE_ALL -}; - // ============================================================================ // implementation // ============================================================================ @@ -251,22 +245,22 @@ void wxGenericFindReplaceDialog::SendEvent(const wxEventType& evtType) // event handlers // ---------------------------------------------------------------------------- -void wxGenericFindReplaceDialog::OnFind(wxCommandEvent& event) +void wxGenericFindReplaceDialog::OnFind(wxCommandEvent& WXUNUSED(event)) { SendEvent(wxEVT_COMMAND_FIND_NEXT); } -void wxGenericFindReplaceDialog::OnReplace(wxCommandEvent& event) +void wxGenericFindReplaceDialog::OnReplace(wxCommandEvent& WXUNUSED(event)) { SendEvent(wxEVT_COMMAND_FIND_REPLACE); } -void wxGenericFindReplaceDialog::OnReplaceAll(wxCommandEvent& event) +void wxGenericFindReplaceDialog::OnReplaceAll(wxCommandEvent& WXUNUSED(event)) { SendEvent(wxEVT_COMMAND_FIND_REPLACE_ALL); } -void wxGenericFindReplaceDialog::OnCancel(wxCommandEvent& event) +void wxGenericFindReplaceDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) { SendEvent(wxEVT_COMMAND_FIND_CLOSE);