#include "wx/settings.h"
#include "wx/dcclient.h"
#include "wx/dcscreen.h"
+ #include "wx/math.h"
#endif
-#include "wx/math.h"
-
#include <stdlib.h>
#include "wx/laywin.h"
ReleaseMouse();
m_mouseCaptured = false;
}
- else if (event.Moving() && !event.Dragging())
+ else if ((event.Moving() || event.Leaving()) && !event.Dragging())
{
// Just change the cursor if required
if ( sashHit != wxSASH_NONE )