/////////////////////////////////////////////////////////////////////////////
-// Name: frame.h
+// Name: wx/osx/frame.h
// Purpose: wxFrame class
// Author: Stefan Csomor
// Modified by:
#ifndef _WX_FRAME_H_
#define _WX_FRAME_H_
-#include "wx/window.h"
#include "wx/toolbar.h"
#include "wx/accel.h"
#include "wx/icon.h"
-WXDLLIMPEXP_DATA_CORE(extern const char) wxToolBarNameStr[];
-
-class WXDLLIMPEXP_FWD_CORE wxMenuBar;
-class WXDLLIMPEXP_FWD_CORE wxStatusBar;
class WXDLLIMPEXP_FWD_CORE wxMacToolTip ;
class WXDLLIMPEXP_CORE wxFrame: public wxFrameBase
// event handlers
void OnActivate(wxActivateEvent& event);
void OnSysColourChanged(wxSysColourChangedEvent& event);
- void OnSize(wxSizeEvent& event);
// Toolbar
#if wxUSE_TOOLBAR
void PositionBars();
+ // internal response to size events
+ virtual void MacOnInternalSize() { PositionBars(); }
protected:
// common part of all ctors