]> git.saurik.com Git - wxWidgets.git/commitdiff
better looking fallback resources for IRIX (patch from Riccardo Mottola)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Aug 2005 19:20:06 +0000 (19:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Aug 2005 19:20:06 +0000 (19:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/app.cpp

index a28cc95f914fa63b8514300dc7c66b13ea58aa33..3dbf47a9fd79a94bddc178ef01ceda168b775a29 100644 (file)
@@ -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
 };