X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/generic/ctrlsub.h?ds=inline diff --git a/include/wx/generic/ctrlsub.h b/include/wx/generic/ctrlsub.h index 425380d602..1733342f90 100644 --- a/include/wx/generic/ctrlsub.h +++ b/include/wx/generic/ctrlsub.h @@ -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_