Kirix Support Forums

wxSizeEvent not propagated

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

wxSizeEvent not propagated

Postby benedicte on Wed Jul 12, 2006 12:11 pm

Hello,

I need to store my main frame size in the "EVT_SIZE" event. But I noticed I never get this event, because wxAUI eats it...

In the void wxFrameManager::OnSize(wxSizeEvent& event) function, I think there should be a event.Skip() call.

Code: Select all
void wxFrameManager::OnSize(wxSizeEvent& event)
{
    if (m_frame)
    {
        DoFrameLayout();
        Repaint();
    }
    event.Skip();
}


I updated the wxAUI 0.9.2 code on my computer and tested it extensively with the sample. It works well.
benedicte
Registered User
 
Posts: 5
Joined: Fri Jun 09, 2006 3:23 am
Location: Paris, France

Return to wxAUI Questions, Thoughts & Feedback