* Version $Id$
*/
/*
- Copyright (C) 2004 Kern Sibbald and John Walker
+ Copyright (C) 2004-2005 Kern Sibbald
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
#include "csprint.h"
+void InitWinAPIWrapper();
+
/* Dummy functions */
int generate_daemon_event(JCR *jcr, const char *event) { return 1; }
int generate_job_event(JCR *jcr, const char *event) { return 1; }
{
long posx, posy, sizex, sizey;
int displayx, displayy;
+ InitWinAPIWrapper();
wxConfig::Get()->Read("/Position/X", &posx, 50);
wxConfig::Get()->Read("/Position/Y", &posy, 50);
wxConfig::Get()->Read("/Size/Width", &sizex, 780);
wxString wxbUtils::ConvertToPrintable(wxString& str) {
/* FIXME : Unicode support should be added to fix this problem */
-#if wxUSE_UNICODE == 0
+#if needed // wxUSE_UNICODE == 0
wxString strnew(str);
/* Convert the string to something printable without unicode */
for (unsigned int i = 0; i < strnew.Length(); i++) {