* Version $Id$
*/
/*
- Copyright (C) 2004-2005 Kern Sibbald
+ Copyright (C) 2004-2006 Kern Sibbald
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
// headers
// ----------------------------------------------------------------------------
-#include "config.h"
+#undef _DEBUG
+
+#include "bacula.h"
+
+#undef setlocale
+#undef textdomain
+#undef bindtextdomain
#include <wx/wxprec.h>
#include <wx/config.h>
#include <wx/intl.h>
-
#include "wxbmainframe.h"
-
#include "csprint.h"
-void InitWinAPIWrapper();
/* Dummy functions */
int generate_daemon_event(JCR *jcr, const char *event) { return 1; }
long posx, posy, sizex, sizey;
int displayx, displayy;
- InitWinAPIWrapper();
+ OSDependentInit();
wxConfig::Get()->Read(wxT("/Position/X"), &posx, 50);
wxConfig::Get()->Read(wxT("/Position/Y"), &posy, 50);
wxConfig::Get()->Read(wxT("/Size/Width"), &sizex, 780);
return TRUE;
}
-
-#ifndef HAVE_WIN32
-void InitWinAPIWrapper() { };
-#endif