X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5d7dfcaf64f15d2dc87e686180de6a68620a07..26364344e58ae9c384965ff25c6920a75c55184e:/src/palmos/frame.cpp diff --git a/src/palmos/frame.cpp b/src/palmos/frame.cpp index 39f8b0925b..44da88f268 100644 --- a/src/palmos/frame.cpp +++ b/src/palmos/frame.cpp @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palmos/frame.cpp +// Name: src/palmos/frame.cpp // Purpose: wxFrame -// Author: William Osborne -// Modified by: +// Author: William Osborne - minimal working wxPalmOS port +// Modified by: Wlodzimierz ABX Skiba - more than minimal functionality // Created: 10/13/04 -// RCS-ID: $Id: -// Copyright: (c) William Osborne +// RCS-ID: $Id$ +// Copyright: (c) William Osborne, Wlodzimierz Skiba // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -162,7 +162,7 @@ bool wxFrame::Create(wxWindow *parent, long style, const wxString& name) { - if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name, this) ) + if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) ) return false; return true; @@ -224,8 +224,10 @@ bool wxFrame::HandleMenuOpen() return true; } -bool wxFrame::HandleMenuSelect(int ItemID) +bool wxFrame::HandleMenuSelect(EventType* event) { + int ItemID = event->data.menu.itemID; + if (!m_frameMenuBar) return false; @@ -255,7 +257,7 @@ void wxFrame::OnPaint(wxPaintEvent& event) #endif // wxUSE_STATUSBAR } -// Pass TRUE to show full screen, FALSE to restore. +// Pass true to show full screen, false to restore. bool wxFrame::ShowFullScreen(bool show, long style) { return false;