]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/checkboxcmn.cpp
Avoid using buffer of already deallocated string in wxHTMLDataObject.
[wxWidgets.git] / src / common / checkboxcmn.cpp
index 0eb628c74491a49e649fd4f44d9910783a851d2c..1d16153fbefd6084302f1288e4b9f58893085192 100644 (file)
@@ -68,7 +68,7 @@ wxEND_FLAGS( wxCheckBoxStyle )
 wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxCheckBox, wxControl, "wx/checkbox.h")
 
 wxBEGIN_PROPERTIES_TABLE(wxCheckBox)
-    wxEVENT_PROPERTY( Click, wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEvent )
+    wxEVENT_PROPERTY( Click, wxEVT_CHECKBOX, wxCommandEvent )
 
     wxPROPERTY( Font, wxFont, SetFont, GetFont, wxEMPTY_PARAMETER_VALUE, \
                 0 /*flags*/, wxT("Helpstring"), wxT("group"))