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
This commit is contained in:
@@ -180,10 +180,19 @@ void wxApp::HandlePropertyChange(WXEvent *event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *fallbackResources[] = {
|
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.marginHeight: 0",
|
||||||
"*menuBar.shadowThickness: 1",
|
"*menuBar.shadowThickness: 1",
|
||||||
"*background: #c0c0c0",
|
"*background: #c0c0c0",
|
||||||
"*foreground: black",
|
"*foreground: black",
|
||||||
|
#endif // __SGI__/!__SGI__
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user