]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/settings.cpp
Select the entire spin control contents when changing its value.
[wxWidgets.git] / src / motif / settings.cpp
index eadd07d8a6c95f3eab4dfc08001017258cabf09d..cedbbdf2320aa6aef4a0af77d266ef75946a4c7f 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/app.h"
+    #include "wx/gdicmn.h"
 #endif
 
-#include "wx/gdicmn.h"
-
 #ifdef __VMS__
 #pragma message disable nosimpint
 #endif
@@ -129,6 +128,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
         }
     }
     case wxSYS_COLOUR_HIGHLIGHTTEXT:
+    case wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT:
     {
         return *wxWHITE;
     }
@@ -160,7 +160,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
 
     default:
     case wxSYS_COLOUR_MAX:
-        wxFAIL_MSG( _T("unknown colour") );
+        wxFAIL_MSG( wxT("unknown colour") );
   }
   return *wxWHITE;
 }