]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/ctrlsub.h
added wxQueueEvent() avoiding the bug of wxPostEvent() with the events having wxStrin...
[wxWidgets.git] / include / wx / generic / ctrlsub.h
index 425380d6024d93973e0fe75d2896dc6e3e80a812..c20c7e62535f733e0d8ed2de88b8bbffece79df0 100644 (file)
@@ -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