]> Creatis software - bbtkGEditor.git/commitdiff
no message
authordavila <>
Tue, 25 May 2010 16:56:38 +0000 (16:56 +0000)
committerdavila <>
Tue, 25 May 2010 16:56:38 +0000 (16:56 +0000)
appli/bbEditor/bbEditor.cxx

index 781dbc94e8f101a2333e00e3d130e2f73d3a9af0..6d995a6d700549824e2555bb68deb13f763b2c4a 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <wx/cmdline.h> 
 #include <wx/app.h>
+#include <wx/sysopt.h>
  
 class wxBBEditorApp : public wxApp
 {
@@ -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 MACOSX 
+
+       
+       wxApp::OnInit();
 #ifdef __WXGTK__
   //See http://www.wxwindows.org/faqgtk.htm#locale
   setlocale(LC_NUMERIC, "C");