*/
class WXDLLIMPEXP_PROPGRID wxPGEditor : public wxObject
{
-#ifndef SWIG
DECLARE_ABSTRACT_CLASS(wxPGEditor)
-#endif
public:
/** Constructor. */
{ \
return wxS(#EDITOR); \
} \
-wxPGEditor* wxPGEditor_##EDITOR = (wxPGEditor*) NULL;
+wxPGEditor* wxPGEditor_##EDITOR = NULL;
//
class WXDLLIMPEXP_PROPGRID wxPGTextCtrlEditor : public wxPGEditor
{
-#ifndef SWIG
DECLARE_DYNAMIC_CLASS(wxPGTextCtrlEditor)
-#endif
public:
wxPGTextCtrlEditor() {}
virtual ~wxPGTextCtrlEditor();
class WXDLLIMPEXP_PROPGRID wxPGChoiceEditor : public wxPGEditor
{
-#ifndef SWIG
DECLARE_DYNAMIC_CLASS(wxPGChoiceEditor)
-#endif
public:
wxPGChoiceEditor() {}
virtual ~wxPGChoiceEditor();
class WXDLLIMPEXP_PROPGRID wxPGComboBoxEditor : public wxPGChoiceEditor
{
-#ifndef SWIG
DECLARE_DYNAMIC_CLASS(wxPGComboBoxEditor)
-#endif
public:
wxPGComboBoxEditor() {}
virtual ~wxPGComboBoxEditor();
//
class WXDLLIMPEXP_PROPGRID wxPGCheckBoxEditor : public wxPGEditor
{
-#ifndef SWIG
DECLARE_DYNAMIC_CLASS(wxPGCheckBoxEditor)
-#endif
public:
wxPGCheckBoxEditor() {}
virtual ~wxPGCheckBoxEditor();
// Editor class registeration macro (mostly for internal use)
#define wxPGRegisterEditorClass(EDITOR) \
- if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \
+ if ( wxPGEditor_##EDITOR == NULL ) \
{ \
wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( \
new wxPG##EDITOR##Editor ); \
*/
class WXDLLIMPEXP_PROPGRID wxPGEditorDialogAdapter : public wxObject
{
-#ifndef SWIG
DECLARE_ABSTRACT_CLASS(wxPGEditorDialogAdapter)
-#endif
public:
wxPGEditorDialogAdapter()
: wxObject()
{
public:
wxPGMultiButton( wxPropertyGrid* pg, const wxSize& sz );
+ virtual ~wxPGMultiButton() {}
wxWindow* GetButton( unsigned int i ) { return (wxWindow*) m_buttons[i]; }
const wxWindow* GetButton( unsigned int i ) const
protected:
+ void DoAddButton( wxWindow* button, const wxSize& sz );
+
int GenId( int id ) const;
wxArrayPtrVoid m_buttons;