]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/settings.cpp
fix memory leak in wxScreenDC, fixes #13249
[wxWidgets.git] / src / motif / settings.cpp
index 87ade0a057b508800b77f886d8cee18b1b8a93f2..cedbbdf2320aa6aef4a0af77d266ef75946a4c7f 100644 (file)
@@ -128,6 +128,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
         }
     }
     case wxSYS_COLOUR_HIGHLIGHTTEXT:
+    case wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT:
     {
         return *wxWHITE;
     }
@@ -159,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;
 }