]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
ignore clicks on a toolbar but outside any button
[wxWidgets.git] / src / motif / textctrl.cpp
index 3a66bd8ff8a6661ecacf9abedfb47e1610558110..fe72b88437e85d413dfc78b1c84ada12432144cd 100644 (file)
@@ -665,7 +665,7 @@ void wxTextCtrl::ChangeBackgroundColour()
             XmNhorizontalScrollBar, &hsb,
             XmNverticalScrollBar, &vsb,
             NULL);
             XmNhorizontalScrollBar, &hsb,
             XmNverticalScrollBar, &vsb,
             NULL);
-        wxColour backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE);
+        wxColour backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
         if (hsb)
             DoChangeBackgroundColour((WXWidget) hsb, backgroundColour, TRUE);
         if (vsb)
         if (hsb)
             DoChangeBackgroundColour((WXWidget) hsb, backgroundColour, TRUE);
         if (vsb)