im using wxWidgets 2.7 and i want to use wxAUI in my project. when running the sample and the code from my project, it crashes randomly when moving a pane. i say randomly because i cant get it to crash by doing the same thing (i dont think). but it crashes alot, so its not something minor that i can work with.
i get
Unhandled exception at 0x00420d79 in auidemo.exe: 0xC0000005: Access violation reading location 0xfeef00ea.
in the code (in window.h)
- Code: Select all
void Move(int x, int y, int flags = wxSIZE_USE_EXISTING)
{ DoSetSize(x, y, wxDefaultCoord, wxDefaultCoord, flags); }
it crashes on the second line of that code.
going back a step in the callstack, it points to line 3611 in framemanager.cpp
- Code: Select all
m_action_window->Move(pt.x - m_action_offset.x, pt.y - m_action_offset.y);
the debugger shows "m_action_window" as being a valid address, BUT the variables inside seem to be invalid values, such as "0xfeeefeee" etc for quite alot of the members.
i cant work out why this is happening and i am new to wxWidgets so dont know many details,
is this a known bug with 2.7? or wxAUI? is it fixable easily?
any ideas?
thanks
Chris