Updated wxPGEditor interface documentation

Editor controls are no longer bound to the fixed ID's wxPG_SUBID1 and wxPG_SUBID2.
This commit is contained in:
Artur Wieczorek
2016-06-01 18:52:06 +02:00
parent d81fb0be63
commit 9de3f8395c

View File

@@ -45,7 +45,7 @@ public:
/** /**
Returns pointer to the name of the editor. For example, Returns pointer to the name of the editor. For example,
wxPGEditor_TextCtrl has name "TextCtrl". If you dont' need to access wxPGEditor_TextCtrl has name "TextCtrl". If you don't need to access
your custom editor by string name, then you do not need to implement your custom editor by string name, then you do not need to implement
this function. this function.
*/ */
@@ -67,8 +67,6 @@ public:
Initial size for control(s). Initial size for control(s).
@remarks @remarks
- Primary control shall use id wxPG_SUBID1, and secondary (button) control
shall use wxPG_SUBID2.
- Unlike in previous version of wxPropertyGrid, it is no longer - Unlike in previous version of wxPropertyGrid, it is no longer
necessary to call wxEvtHandler::Connect() for interesting editor necessary to call wxEvtHandler::Connect() for interesting editor
events. Instead, all events from control are now automatically events. Instead, all events from control are now automatically