]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
added AppendText method, now used by operator <<
[wxWidgets.git] / src / gtk1 / frame.cpp
index 9d83f91591398b845f71493305b907862d282c40..d809e69266c841908d757ab7eba50c5f07af6ac2 100644 (file)
@@ -453,10 +453,21 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height
 
     m_sizeSet = TRUE;
 
+    /* send size event to frame */
+
     wxSizeEvent event( wxSize(m_width,m_height), GetId() );
     event.SetEventObject( this );
     GetEventHandler()->ProcessEvent( event );
 
+    /* send size event to status bar */
+
+    if (m_frameStatusBar)
+    {
+        wxSizeEvent event2( wxSize(m_frameStatusBar->m_width,m_frameStatusBar->m_height), m_frameStatusBar->GetId() );
+        event2.SetEventObject( m_frameStatusBar );
+        m_frameStatusBar->GetEventHandler()->ProcessEvent( event2 );
+    }
+
     m_resizing = FALSE;
 }