Hi,
I have just started using wxWidgets and have been attempting to implement your window manager. I have got a wxFrame window open and created a panel and assigned it to the manager. The app runs fine but the moment I try to move the panel out of the window I get an access violation in something to do with a event. I include my code below incase there is anything obvious.
The place where it breaks is in appbase.cpp ( function pasted below )
void
wxAppConsole::HandleEvent(wxEvtHandler *handler,
wxEventFunction func,
wxEvent& event) const
{
// by default, simply call the handler
(handler->*func)(event); /
}
You'll probably see from the comments that I have cut and pasted some code from the sample.
Thanks
Peter
//Code removed as matter solved - see post below
}
Kirix Support Forums
Window Move causes crash
2 posts
• Page 1 of 1
Window Move causes crash
Last edited by peterdove on Fri Mar 17, 2006 4:20 am, edited 1 time in total.
- peterdove
- Registered User
- Posts: 5
- Joined: Thu Mar 16, 2006 6:49 pm
Solved
Hi All,
Well 5 mins later it is solved - seems that you need a panel set in the centre of the window for it to work.
Peter
Well 5 mins later it is solved - seems that you need a panel set in the centre of the window for it to work.
Peter
- peterdove
- Registered User
- Posts: 5
- Joined: Thu Mar 16, 2006 6:49 pm
2 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback