]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/editors.h
Add wxDataViewCtrl implementation for OSX/Cocoa (closes #10617: wxDataView for wxOSX...
[wxWidgets.git] / include / wx / propgrid / editors.h
index 96298e2cc5f7445e344b2605e3b23383d6791164..dcc66671e580a20b92c793b93ab9146ebbe4bae4 100644 (file)
@@ -214,7 +214,7 @@ wxString CLASSNAME::GetName() const \
 { \
     return wxS(#EDITOR); \
 } \
-wxPGEditor* wxPGEditor_##EDITOR = (wxPGEditor*) NULL;
+wxPGEditor* wxPGEditor_##EDITOR = NULL;
 
 
 //
@@ -434,7 +434,7 @@ public:
 // 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 ); \
@@ -534,6 +534,8 @@ public:
 
 protected:
 
+    void DoAddButton( wxWindow* button, const wxSize& sz );
+
     int GenId( int id ) const;
 
     wxArrayPtrVoid  m_buttons;