X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ac8ce9e055c56bb0b939905fa682a324ec3d300..9c112555198f51fcec71106530cddba95a17f3dc:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index bf2d3b2f20..5efb1a3ebc 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/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 )