Molecular Modeling Software
リビジョン | 748194eab49e312326845b017887e6793d679f30 (tree) |
---|---|
日時 | 2022-09-19 00:38:26 |
作者 | Toshi Nagata <alchemist.2005@nift...> |
コミッター | Toshi Nagata |
OSX: set the system option for file dialog
@@ -283,9 +283,10 @@ bool MyApp::Initialize(int& argc, wxChar **argv) | ||
283 | 283 | bool MyApp::OnInit(void) |
284 | 284 | { |
285 | 285 | // Set defaults |
286 | -#ifdef __WXMAC__ | |
286 | +#if defined(__WXMAC__) || defined(__WXOSX__) | |
287 | 287 | wxSystemOptions::SetOption(wxT("mac.listctrl.always_use_generic"), 1); |
288 | 288 | wxSystemOptions::SetOption(wxT("osx.openfiledialog.always-show-types"), 1); |
289 | + wxSystemOptions::SetOption(wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES, 1); | |
289 | 290 | #endif |
290 | 291 | |
291 | 292 | #if __WXMSW__ |