X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/894057d1dd154ad2ee06e911eef818c52789a576..1c467e8804ff4c1cd3aee52bb16dfa4f976160a0:/src/univ/framuniv.cpp?ds=sidebyside diff --git a/src/univ/framuniv.cpp b/src/univ/framuniv.cpp index 91c5a9d7eb..0c1dce5871 100644 --- a/src/univ/framuniv.cpp +++ b/src/univ/framuniv.cpp @@ -1,10 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: src/univ/frame.cpp +// Name: src/univ/framuniv.cpp // Purpose: wxFrame class for wxUniversal // Author: Vadim Zeitlin // Modified by: // Created: 19.05.01 -// RCS-ID: $Id$ // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -42,8 +41,6 @@ BEGIN_EVENT_TABLE(wxFrame, wxFrameBase) EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged) END_EVENT_TABLE() -IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) - // ---------------------------------------------------------------------------- // ctors // ---------------------------------------------------------------------------- @@ -92,13 +89,6 @@ void wxFrame::OnSize(wxSizeEvent& event) event.Skip(); } -void wxFrame::SendSizeEvent() -{ - wxSizeEvent event(GetSize(), GetId()); - event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); -} - #if wxUSE_MENUS void wxFrame::PositionMenuBar() @@ -271,10 +261,6 @@ void wxFrame::DoSetClientSize(int width, int height) #if wxUSE_TOOLBAR if ( m_frameToolBar ) { -#if wxUSE_STATUSBAR - height += m_frameStatusBar->GetSize().y; -#endif // wxUSE_STATUSBAR - if ( m_frameToolBar->GetWindowStyleFlag() & wxTB_VERTICAL ) width += m_frameToolBar->GetSize().x; else