]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/ctrlsub.h
Avoid setting attributes in GTK wxDataViewRenderer if not supported.
[wxWidgets.git] / include / wx / generic / ctrlsub.h
index 425380d6024d93973e0fe75d2896dc6e3e80a812..1733342f9095c2004cb0430c11141f2f7572dd15 100644 (file)
@@ -109,14 +109,14 @@ private:
 
             // this is the first time client data is used with this control
             DoInitItemClientData();
-            m_clientDataItemsType = type;
+            SetClientDataType(type);
         }
         //else: we already have client data
 
         return true;
     }
 
-    DECLARE_NO_COPY_CLASS(wxControlWithItemsGeneric)
+    wxDECLARE_NO_COPY_CLASS(wxControlWithItemsGeneric);
 };
 
 #endif // _WX_GENERIC_CTRLSUB_H_