X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b38b0d22d7a97ff66d824e11e3e1c96c4423900b..86b79b93fbbb0c2e90e6595f7fea0f979b80881c:/include/wx/prntbase.h diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index 067ba6e9a0..d7ed29ed22 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -12,7 +12,7 @@ #ifndef _WX_PRNTBASEH__ #define _WX_PRNTBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "prntbase.h" #endif @@ -274,7 +274,7 @@ public: void OnLast(); void OnGoto(); void OnPrint(); - void OnPrint(wxCommandEvent& WXUNUSED(event)) { OnPrint(); } + void OnPrintButton(wxCommandEvent& WXUNUSED(event)) { OnPrint(); } void OnNextButton(wxCommandEvent & WXUNUSED(event)) { OnNext(); } void OnPreviousButton(wxCommandEvent & WXUNUSED(event)) { OnPrevious(); } void OnFirstButton(wxCommandEvent & WXUNUSED(event)) { OnFirst(); }