X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FbbEditor%2FbbEditor.cxx;h=ca584671744db6168b083f3fcbedb16c6a29912b;hb=refs%2Ftags%2FCREATOOLS_2-0-3;hp=57bd80ccec7262fe984642c282e5d80e61a300b5;hpb=ac7e88cf5991d996435b15c7d731b67078f8b2c9;p=bbtkGEditor.git diff --git a/appli/bbEditor/bbEditor.cxx b/appli/bbEditor/bbEditor.cxx index 57bd80c..ca58467 100644 --- a/appli/bbEditor/bbEditor.cxx +++ b/appli/bbEditor/bbEditor.cxx @@ -8,14 +8,14 @@ #include #include +#include - class wxBBEditorApp : public wxApp { public: bool OnInit( ); int OnExit() { return true; } - + }; IMPLEMENT_APP(wxBBEditorApp); @@ -27,7 +27,12 @@ IMPLEMENT_APP(wxBBEditorApp); // main frame bool wxBBEditorApp::OnInit( ) { - wxApp::OnInit(); +#ifdef MACOSX + /* assume this is OSX */ + wxSystemOptions::SetOption("mac.listctrl.always_use_generic", 1); +#endif + + wxApp::OnInit(); #ifdef __WXGTK__ //See http://www.wxwindows.org/faqgtk.htm#locale setlocale(LC_NUMERIC, "C");