From: Vadim Zeitlin Date: Tue, 30 Aug 2005 19:20:06 +0000 (+0000) Subject: better looking fallback resources for IRIX (patch from Riccardo Mottola) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0ab82ca91e0e3680c4673c9947d9721c651eb192?ds=inline better looking fallback resources for IRIX (patch from Riccardo Mottola) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/app.cpp b/src/motif/app.cpp index a28cc95f91..3dbf47a9fd 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -180,10 +180,19 @@ void wxApp::HandlePropertyChange(WXEvent *event) } static char *fallbackResources[] = { + // better defaults for CDE under Irix + // + // TODO: do something similar for the other systems, the hardcoded defaults + // below are ugly +#ifdef __SGI__ + "*sgiMode: True", + "*useSchemes: all", +#else // !__SGI__ "*menuBar.marginHeight: 0", "*menuBar.shadowThickness: 1", "*background: #c0c0c0", "*foreground: black", +#endif // __SGI__/!__SGI__ NULL };