]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Added SetSheetStyle to property sheet dialog to allow specification
[wxWidgets.git] / include / wx / sizer.h
index ebb3cc240421cb87e9b5eef2a0609b6747aa9ea8..53dde1a4bf464c5c7cf06379e3eb5c460ec2e192 100644 (file)
@@ -256,7 +256,7 @@ public:
     bool IsShown() const;
 
     void SetUserData(wxObject* userData)
-        { delete userData; m_userData = userData; }
+        { delete m_userData; m_userData = userData; }
     wxObject* GetUserData() const
         { return m_userData; }
     wxPoint GetPosition() const