X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/generic/ctrlsub.h diff --git a/include/wx/generic/ctrlsub.h b/include/wx/generic/ctrlsub.h index 425380d602..c20c7e6253 100644 --- a/include/wx/generic/ctrlsub.h +++ b/include/wx/generic/ctrlsub.h @@ -109,7 +109,7 @@ 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