]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/slidercmn.cpp
Avoid using buffer of already deallocated string in wxHTMLDataObject.
[wxWidgets.git] / src / common / slidercmn.cpp
index 998593b7eeda69dce7cf75f604c192cdf017acc8..abed40df1bc745b8569dc237f6c4ee123ca5cc2e 100644 (file)
@@ -29,6 +29,8 @@
 
 #include "wx/slider.h"
 
+extern WXDLLEXPORT_DATA(const char) wxSliderNameStr[] = "slider";
+
 // ----------------------------------------------------------------------------
 // XTI
 // ----------------------------------------------------------------------------
@@ -79,7 +81,7 @@ wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxSlider, wxControl, "wx/slider.h")
 
 wxBEGIN_PROPERTIES_TABLE(wxSlider)
     wxEVENT_RANGE_PROPERTY( Scroll, wxEVT_SCROLL_TOP, wxEVT_SCROLL_CHANGED, wxScrollEvent )
-    wxEVENT_PROPERTY( Updated, wxEVT_COMMAND_SLIDER_UPDATED, wxCommandEvent )
+    wxEVENT_PROPERTY( Updated, wxEVT_SLIDER, wxCommandEvent )
 
     wxPROPERTY( Value, int, SetValue, GetValue, 0, 0 /*flags*/, \
                 wxT("Helpstring"), wxT("group"))