Have wxPropertyGridEditorEventForwarder::ProcessEvent() return true more often - that is when the event was recognized as being 'handled', and specifically for the case of property editor's button being pressed (fixes #12487).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-11-22 14:28:16 +00:00
parent 4ed7b5779e
commit b296009869
2 changed files with 30 additions and 9 deletions

View File

@@ -1526,7 +1526,7 @@ public:
void RefreshEditor();
// Events from editor controls are forward to this function
void HandleCustomEditorEvent( wxEvent &event );
bool HandleCustomEditorEvent( wxEvent &event );
// Mostly useful for page switching.
void SwitchState( wxPropertyGridPageState* pNewState );