]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/checkboxcmn.cpp
Make code reading BMP files more robust.
[wxWidgets.git] / src / common / checkboxcmn.cpp
index ba419d86ae4aec6e6bb0b56d3fc543301c0e3586..1d16153fbefd6084302f1288e4b9f58893085192 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "wx/checkbox.h"
 
 
 #include "wx/checkbox.h"
 
+extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[] = "check";
+
 // ----------------------------------------------------------------------------
 // XTI
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // XTI
 // ----------------------------------------------------------------------------
@@ -66,7 +68,7 @@ wxEND_FLAGS( wxCheckBoxStyle )
 wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxCheckBox, wxControl, "wx/checkbox.h")
 
 wxBEGIN_PROPERTIES_TABLE(wxCheckBox)
 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"))
 
     wxPROPERTY( Font, wxFont, SetFont, GetFont, wxEMPTY_PARAMETER_VALUE, \
                 0 /*flags*/, wxT("Helpstring"), wxT("group"))