1. wxInputHandler::Map() can return a sequence of actions, not only one

2. wxControl::PerformAction() takes a wxEvent parameter
3. wxGTK fix: send enter/leave events even when the mouse is captured
4. renamed "highlighted" state to "current"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-19 19:26:27 +00:00
parent 4dc12a1a28
commit 8f2ea39e1d
12 changed files with 300 additions and 118 deletions

View File

@@ -73,8 +73,8 @@ int wxControlRenderer::GetStateFlags() const
// it is not, even our default/focused controls shouldn't appear as such
if ( wxTheApp->IsActive() )
{
if ( m_ctrl->IsHighlighted() )
flags |= wxRENDER_HIGHLIGHT;
if ( m_ctrl->IsCurrent() )
flags |= wxRENDER_CURRENT;
if ( m_ctrl->IsFocused() )
flags |= wxRENDER_FOCUSED;
if ( m_ctrl->IsPressed() )