X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6212a0cb7e6285f62198a9411d91bbe8dc06e60..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/osx/carbon/drawer.cpp?ds=sidebyside diff --git a/src/osx/carbon/drawer.cpp b/src/osx/carbon/drawer.cpp index 0af7609fe8..16854bf02a 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 @@ -7,7 +7,6 @@ // Author: Jason Bagley // Modified by: Ryan Norton (To make it work :), plus bug fixes) // Created: 2004-30-01 -// RCS-ID: $Id$ // Copyright: (c) Jason Bagley; Art & Logic, Inc. // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -46,7 +45,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 +139,7 @@ bool wxDrawerWindow::SetPreferredEdge(wxDirection edge) { const OSStatus status = ::SetDrawerPreferredEdge((WindowRef)GetWXWindow(), DirectionToWindowEdge(edge)); - return (noErr == status); + return (noErr == status); }