]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/slider.h
fix assert failure if NULL size pointer was passed to Request() (as happened in the...
[wxWidgets.git] / interface / wx / slider.h
index 55f112fccb4f9e577b94b02f5c92fc67986d8560..82f6384e9f2759c1bd2278e97527c6f9bf51f859 100644 (file)
@@ -151,7 +151,7 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = wxSL_HORIZONTAL,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = "slider");
+             const wxString& name = wxSliderNameStr);
 
     /**
         Destructor, destroying the slider.