Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed. More...
#include <editors.h>
Public Member Functions | |
virtual bool | DoShowDialog (wxPropertyGrid *propGrid, wxPGProperty *property)=0 |
wxVariant & | GetValue () |
This method is typically only used if deriving class from existing adapter with value conversion purposes. | |
void | SetValue (wxVariant value) |
bool | ShowDialog (wxPropertyGrid *propGrid, wxPGProperty *property) |
Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed.
You only need to derive class and implement DoShowDialog() to create and show the dialog, and finally submit the value returned by the dialog via SetValue().