Renamed a couple more samples/controls files; fixed wxSplitterWindow cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
26cf69fe72
commit
a93ca20183
@ -1,5 +1,5 @@
|
||||
NAME Minimal
|
||||
DESCRIPTION 'Minimal wxWindows application'
|
||||
NAME Controls
|
||||
DESCRIPTION 'wxWindows controls sample'
|
||||
EXETYPE WINDOWS
|
||||
STUB 'WINSTUB.EXE'
|
||||
CODE PRELOAD MOVEABLE DISCARDABLE
|
@ -173,7 +173,6 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
|
||||
m_dragMode = wxSPLIT_DRAG_NONE;
|
||||
|
||||
SetCursor(*wxSTANDARD_CURSOR);
|
||||
wxSetCursor(*wxSTANDARD_CURSOR);
|
||||
}
|
||||
else if (event.LeftUp() && m_dragMode == wxSPLIT_DRAG_DRAGGING)
|
||||
{
|
||||
@ -259,19 +258,15 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
|
||||
if ( m_splitMode == wxSPLIT_VERTICAL )
|
||||
{
|
||||
SetCursor(*m_sashCursorWE);
|
||||
// Windows needs the following
|
||||
wxSetCursor(*m_sashCursorWE);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(*m_sashCursorNS);
|
||||
wxSetCursor(*m_sashCursorNS);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(*wxSTANDARD_CURSOR);
|
||||
wxSetCursor(*wxSTANDARD_CURSOR);
|
||||
}
|
||||
}
|
||||
else if ( (event.Dragging() && (m_dragMode == wxSPLIT_DRAG_DRAGGING)) ||
|
||||
@ -280,12 +275,10 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
|
||||
if ( m_splitMode == wxSPLIT_VERTICAL )
|
||||
{
|
||||
SetCursor(*m_sashCursorWE);
|
||||
wxSetCursor(*m_sashCursorWE);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(*m_sashCursorNS);
|
||||
wxSetCursor(*m_sashCursorNS);
|
||||
}
|
||||
|
||||
// Detect that this is really a drag: we've moved more than 1 pixel either way
|
||||
@ -316,8 +309,6 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(*wxSTANDARD_CURSOR);
|
||||
wxSetCursor(*wxSTANDARD_CURSOR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,8 +24,6 @@ samples/ogledit/bitmaps/*.bmp
|
||||
samples/ogledit/bitmaps/*.gif
|
||||
samples/ogledit/bitmaps/*.xbm
|
||||
|
||||
lib/dummy
|
||||
|
||||
distrib/*.rsp
|
||||
distrib/*.bat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user