]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
Add some missing methods to match other implementations
[wxWidgets.git] / samples / widgets / slider.cpp
index 21ea9e1ff213327ca96bd36e64223dfdb96f21a5..3dec8c559c9dd9f0de5394b4f292aedea3e1589d 100644 (file)
@@ -288,7 +288,7 @@ SliderWidgetsPage::SliderWidgetsPage(wxNotebook *notebook,
     sizerMiddle->Add(sizerRow, 0, wxALL | wxGROW, 5);
 
     sizerRow = CreateSizerWithTextAndButton(SliderPage_SetThumbLen,
-                                            _T("Thumb &lenght"),
+                                            _T("Thumb &length"),
                                             SliderPage_ThumbLenText,
                                             &m_textThumbLen);
 
@@ -438,7 +438,7 @@ void SliderWidgetsPage::DoSetThumbLen()
     long len;
     if ( !m_textThumbLen->GetValue().ToLong(&len) )
     {
-        wxLogWarning(_T("Invalid slider thumb lenght"));
+        wxLogWarning(_T("Invalid slider thumb length"));
 
         return;
     }