From: Nicolas Boichat Date: Fri, 16 Apr 2004 17:05:49 +0000 (+0000) Subject: Removed references to the old application name (wx-gui). X-Git-Tag: Release-1.34.1~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8620802b210140627bfe8f99fe432184c73ec8b4;p=bacula%2Fbacula Removed references to the old application name (wx-gui). git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1214 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/main.cpp b/bacula/src/wx-console/main.cpp index b0e1349cbb..56aac33f6d 100644 --- a/bacula/src/wx-console/main.cpp +++ b/bacula/src/wx-console/main.cpp @@ -1,6 +1,6 @@ /* * - * Bacula wx GUI application + * Bacula wx-console application * * Nicolas Boichat, April 2004 * @@ -51,19 +51,18 @@ // resources // ---------------------------------------------------------------------------- - class MyApp : public wxApp { public: virtual bool OnInit(); }; -IMPLEMENT_APP(MyApp) - // ============================================================================ // implementation // ============================================================================ +IMPLEMENT_APP(MyApp) + // ---------------------------------------------------------------------------- // the application class // ---------------------------------------------------------------------------- @@ -71,14 +70,14 @@ IMPLEMENT_APP(MyApp) // 'Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { - wxbMainFrame *frame = wxbMainFrame::CreateInstance(_T("Minimal wxWindows App"), + wxbMainFrame *frame = wxbMainFrame::CreateInstance(_T("Bacula wx-console"), wxPoint(50, 50), wxSize(780, 500)); frame->Show(TRUE); frame->StartConsoleThread(); - csprint("Console started !\n"); - + csprint("Bacula wx-console started !\n"); + return TRUE; }