git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1955
91ce42f0-d328-0410-95d8-
f526ca767f89
/* Use our strdup with smartalloc */
+#ifndef __WXGTK__
#undef strdup
#define strdup(buf) bad_call_on_strdup_use_bstrdup(buf)
+#endif
/* Use our fgets which handles interrupts */
#undef fgets
+25-04-2005 :
+ - Fixes to make wx-console compatible with wxWidgets 2.6.0.
+
24-03-2005 :
- wxbMainFrame : Fix a bug with GTK+-1.2 which caused wx-console to crash
when starting.
#include <wx/wxprec.h>
+#include <wx/string.h>
#include <wx/thread.h> // inheriting class's header file
#include "bacula.h"
#include "jcr.h"
// headers
// ----------------------------------------------------------------------------
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers (this file is usually all you
-// need because it includes almost all "standard" wxWindows headers)
-#ifndef WX_PRECOMP
- #include "wx/wx.h"
-#endif
+#include <wx/wxprec.h>
#include "wxbmainframe.h"