Lots more fixes for incorrect or missing interfaces items.
This commit is contained in:
@@ -578,35 +578,9 @@ public:
|
||||
wxSize GetPrimarySize() const;
|
||||
};
|
||||
|
||||
/** @class wxPGEditorDialogAdapter
|
||||
|
||||
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().
|
||||
|
||||
@library{wxpropgrid}
|
||||
@category{propgrid}
|
||||
*/
|
||||
class wxPGEditorDialogAdapter : public wxObject
|
||||
{
|
||||
public:
|
||||
wxPGEditorDialogAdapter();
|
||||
|
||||
virtual ~wxPGEditorDialogAdapter();
|
||||
|
||||
bool ShowDialog( wxPropertyGrid* propGrid, wxPGProperty* property );
|
||||
|
||||
virtual bool DoShowDialog( wxPropertyGrid* propGrid,
|
||||
wxPGProperty* property ) = 0;
|
||||
|
||||
void SetValue( wxVariant value );
|
||||
|
||||
/**
|
||||
This method is typically only used if deriving class from existing
|
||||
adapter with value conversion purposes.
|
||||
*/
|
||||
wxVariant& GetValue();
|
||||
};
|
||||
extern wxPGEditor* wxPGEditor_TextCtrl;
|
||||
extern wxPGEditor* wxPGEditor_Choice;
|
||||
extern wxPGEditor* wxPGEditor_ComboBox;
|
||||
extern wxPGEditor* wxPGEditor_TextCtrlAndButton;
|
||||
extern wxPGEditor* wxPGEditor_CheckBox;
|
||||
extern wxPGEditor* wxPGEditor_ChoiceAndButton;
|
||||
|
Reference in New Issue
Block a user