X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/817414944059fe4e8c4d2323132e4aee19a47bb5..677dc0ed1a3ff68af15f6246d6d0708d5264b07a:/src/mac/carbon/fontdlg.cpp diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index 5e0b975781..c0a58e2c56 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -28,7 +28,7 @@ #ifndef WX_PRECOMP #include "wx/intl.h" - #include "wx/wxchar.h" + #include "wx/crt.h" #include "wx/dcclient.h" #include "wx/frame.h" #include "wx/textctrl.h" @@ -58,7 +58,10 @@ static const EventTypeSpec eventList[] = } ; -pascal OSStatus wxMacCarbonFontPanelHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData) +pascal OSStatus +wxMacCarbonFontPanelHandler(EventHandlerCallRef WXUNUSED(nextHandler), + EventRef event, + void *userData) { OSStatus result = eventNotHandledErr ; wxFontDialog *fontdialog = (wxFontDialog*) userData ; @@ -183,7 +186,7 @@ wxFontDialog::~wxFontDialog() { } -bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data) +bool wxFontDialog::Create(wxWindow *WXUNUSED(parent), const wxFontData& data) { m_fontData = data; return true ;