X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ac8ce9e055c56bb0b939905fa682a324ec3d300..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/gtk/settings.cpp diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index bf2d3b2f20..5efb1a3ebc 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -91,7 +91,8 @@ static bool GetColourFromGTKWidget(int& red, int& green, int& blue, case wxGTK_LIST: widget = gtk_list_new(); - + break; + case wxGTK_MENUITEM: widget = gtk_menu_item_new(); } @@ -307,9 +308,9 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index ) case wxSYS_COLOUR_MAX: default: wxFAIL_MSG( _T("unknown system colour index") ); - } + } - return *wxWHITE; + return *wxWHITE; } wxFont wxSystemSettingsNative::GetFont( wxSystemFont index )