This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10168 for ps


Ignore:
Timestamp:
09/02/11 04:27:55 (13 years ago)
Author:
ben
Message:

Fixes Atlas file open dialog on OS X (filters not shown by default in wxOSX 2.9).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp

    r10159 r10168  
    2222#include "wx/busyinfo.h"
    2323#include "wx/config.h"
     24#include "wx/dir.h"
    2425#include "wx/evtloop.h"
    2526#include "wx/ffile.h"
    2627#include "wx/filename.h"
    2728#include "wx/image.h"
     29#include "wx/sysopt.h"
    2830#include "wx/tooltip.h"
    29 #include "wx/dir.h"
    3031
    3132#include "General/AtlasEventLoop.h"
     
    361362    wxImage::AddHandler(new wxICOHandler);
    362363
     364    /* "osx.openfiledialog.always-show-types: Per default a wxFileDialog with wxFD_OPEN
     365       does not show a types-popup on OSX but allows the selection of files from any of
     366       the supported types. Setting this to 1 shows a wxChoice for selection (if there
     367       is more than one supported filetype)." */
     368    wxSystemOptions::SetOption(_T("osx.openfiledialog.always-show-types"), 1);  // has global effect
     369
    363370    // wxLog::SetTraceMask(wxTraceMessages);
    364371
Note: See TracChangeset for help on using the changeset viewer.