From 8620802b210140627bfe8f99fe432184c73ec8b4 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Fri, 16 Apr 2004 17:05:49 +0000 Subject: [PATCH] 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 --- bacula/src/wx-console/main.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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; } -- 2.39.5