wxGrid focus handling fixes:

- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-01-21 17:11:49 +00:00
parent 7f35e5eeca
commit 760be3f7cb
2 changed files with 48 additions and 85 deletions

View File

@@ -1625,6 +1625,8 @@ public:
// override some base class functions
virtual bool Enable(bool enable = true);
virtual wxWindow *GetMainWindowOfCompositeControl()
{ return (wxWindow*)m_gridWin; }
// ------ For compatibility with previous wxGrid only...