X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6212a0cb7e6285f62198a9411d91bbe8dc06e60..b39badac119fe944152cd1408a90b82e710ea598:/src/osx/carbon/drawer.cpp diff --git a/src/osx/carbon/drawer.cpp b/src/osx/carbon/drawer.cpp index 0af7609fe8..d05251de16 100644 --- a/src/osx/carbon/drawer.cpp +++ b/src/osx/carbon/drawer.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: drawer.cpp +// Name: src/osx/carbon/drawer.cpp // Purpose: Drawer child window classes. // Drawer windows appear under their parent window and // behave like a drawer, opening and closing to reveal @@ -46,7 +46,7 @@ wxDrawerWindow::~wxDrawerWindow() } bool wxDrawerWindow::Create(wxWindow *parent, - wxWindowID id, const wxString& title, + wxWindowID id, const wxString& WXUNUSED(title), wxSize size, wxDirection edge, const wxString& name) { wxASSERT_MSG(NULL != parent, wxT("wxDrawerWindows must be attached to a parent window.")); @@ -140,7 +140,7 @@ bool wxDrawerWindow::SetPreferredEdge(wxDirection edge) { const OSStatus status = ::SetDrawerPreferredEdge((WindowRef)GetWXWindow(), DirectionToWindowEdge(edge)); - return (noErr == status); + return (noErr == status); }