git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74096
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
long style = 0,
const wxString& name = wxPanelNameStr );
long style = 0,
const wxString& name = wxPanelNameStr );
+ virtual void SendSizeEvent(int flags = 0);
+
// implement base class pure virtuals
virtual void SetLabel( const wxString& label );
virtual wxString GetLabel() const;
// implement base class pure virtuals
virtual void SetLabel( const wxString& label );
virtual wxString GetLabel() const;
if ( doResize )
{
MacRepositionScrollBars() ;
if ( doResize )
{
MacRepositionScrollBars() ;
- MacOnInternalSize();
- wxSize size(actualWidth, actualHeight);
- wxSizeEvent event(size, m_windowId);
- event.SetEventObject(this);
- HandleWindowEvent(event);
+void wxWindowMac::SendSizeEvent(int flags)
+{
+ MacOnInternalSize();
+ wxWindowBase::SendSizeEvent(flags);
+}
+
// set the size of the window: if the dimensions are positive, just use them,
// but if any of them is equal to -1, it means that we must find the value for
// it ourselves (unless sizeFlags contains wxSIZE_ALLOW_MINUS_ONE flag, in
// set the size of the window: if the dimensions are positive, just use them,
// but if any of them is equal to -1, it means that we must find the value for
// it ourselves (unless sizeFlags contains wxSIZE_ALLOW_MINUS_ONE flag, in
if (sizeFlags & wxSIZE_FORCE_EVENT)
{
if (sizeFlags & wxSIZE_FORCE_EVENT)
{
- MacOnInternalSize();
- wxSizeEvent event( wxSize(width,height), GetId() );
- event.SetEventObject( this );
- HandleWindowEvent( event );
MacRepositionScrollBars() ;
if ( triggerSizeEvent )
{
MacRepositionScrollBars() ;
if ( triggerSizeEvent )
{
- MacOnInternalSize();
- wxSizeEvent event(GetSize(), m_windowId);
- event.SetEventObject(this);
- HandleWindowEvent(event);