]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/radiobtncmn.cpp
Avoid using buffer of already deallocated string in wxHTMLDataObject.
[wxWidgets.git] / src / common / radiobtncmn.cpp
index 5623b274e3bef561a3d8d4810e86565bf5ad2418..f0d81bc2da5e6342520b205970cd990ef1a144a2 100644 (file)
@@ -33,6 +33,9 @@
     #include "wx/dcscreen.h"
 #endif
 
+extern WXDLLEXPORT_DATA(const char) wxRadioButtonNameStr[] = "radioButton";
+extern WXDLLEXPORT_DATA(const char) wxBitmapRadioButtonNameStr[] = "radioButton";
+
 // ----------------------------------------------------------------------------
 // XTI
 // ----------------------------------------------------------------------------
@@ -72,7 +75,7 @@ wxEND_FLAGS( wxRadioButtonStyle )
 wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxRadioButton, wxControl, "wx/radiobut.h")
 
 wxBEGIN_PROPERTIES_TABLE(wxRadioButton)
-    wxEVENT_PROPERTY( Click, wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEvent )
+    wxEVENT_PROPERTY( Click, wxEVT_RADIOBUTTON, wxCommandEvent )
     wxPROPERTY( Font, wxFont, SetFont, GetFont , wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
                 wxT("Helpstring"), wxT("group"))
     wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString(), 0 /*flags*/, \