]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / motif / scrolbar.cpp
index 10b670d40019b9a1d440bc8886bc4d429bb7e29c..c1ab7edb9f876cbdfdf44fccfa9620c73ed5f171 100644 (file)
@@ -148,23 +148,24 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetPosition(event.m_commandInt);
+    SetThumbPosition(event.m_commandInt);
     ProcessCommand(event);
 }
 
 void wxScrollBar::ChangeFont(bool keepOriginalSize)
 {
     // TODO
+    // Do anything for a scrollbar? A font will never be seen.
 }
 
 void wxScrollBar::ChangeBackgroundColour()
 {
-    // TODO
+    wxWindow::ChangeBackgroundColour();
 }
 
 void wxScrollBar::ChangeForegroundColour()
 {
-    // TODO
+    wxWindow::ChangeForegroundColour();
 }
 
 static void wxScrollBarCallback(Widget widget, XtPointer clientData,