From 3fa0976a57287847af094e4b4f1f6f6a1dc7893e Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Mon, 21 Feb 2000 08:05:13 +0000 Subject: [PATCH] browsedb.h dbbrowse.cpp dbbrowse.h dbgrid.h dbtree.h dlguser.cpp dlguser.h doc.cpp doc.h pgmctrl.h de/dbbrowse.mo de/dbbrowse.po git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/dbbrowse/browsedb.h | 4 ++-- demos/dbbrowse/dbbrowse.cpp | 4 ++-- demos/dbbrowse/dbbrowse.h | 2 +- demos/dbbrowse/dbgrid.h | 4 ++-- demos/dbbrowse/dbtree.h | 4 ++-- demos/dbbrowse/de/dbbrowse.mo | Bin 11681 -> 11947 bytes demos/dbbrowse/de/dbbrowse.po | 23 ++++++++++++++--------- demos/dbbrowse/dlguser.cpp | 2 +- demos/dbbrowse/dlguser.h | 6 +++--- demos/dbbrowse/doc.cpp | 28 ++++++++++++++-------------- demos/dbbrowse/doc.h | 8 ++++---- demos/dbbrowse/pgmctrl.h | 4 ++-- 12 files changed, 47 insertions(+), 42 deletions(-) diff --git a/demos/dbbrowse/browsedb.h b/demos/dbbrowse/browsedb.h index 2fde1fbb78..cd695c9e2a 100644 --- a/demos/dbbrowse/browsedb.h +++ b/demos/dbbrowse/browsedb.h @@ -15,7 +15,7 @@ // Global structure for holding ODBC connection information //---------------------------------------------------------------------------------------- extern struct DbStuff DbConnectInf; -class mjDoc; +class MainDoc; //---------------------------------------------------------------------------------------- class BrowserDB { @@ -45,7 +45,7 @@ class BrowserDB wxDbInf* ct_BrowserDB; wxColInf* cl_BrowserDB; wxString ODBCSource, UserName, Password; - mjDoc *pDoc; + MainDoc *pDoc; //--------------------------------------------------------------------------------------- wxString Temp0, Temp1, Temp2, Temp3, Temp4, Temp5; wxString ODBCText; diff --git a/demos/dbbrowse/dbbrowse.cpp b/demos/dbbrowse/dbbrowse.cpp index 89b4c659a4..a1ac115f0d 100644 --- a/demos/dbbrowse/dbbrowse.cpp +++ b/demos/dbbrowse/dbbrowse.cpp @@ -222,7 +222,7 @@ bool MainApp::OnInit(void) // Does everything needed for a program start //--------------------------------------------------------------------------------------- frame->p_Splitter = new DocSplitterWindow(frame,-1); // p_Splitter->SetCursor(wxCursor(wxCURSOR_PENCIL)); - frame->pDoc = new mjDoc(); + frame->pDoc = new MainDoc(); frame->pDoc->p_MainFrame = frame; frame->pDoc->p_Splitter = frame->p_Splitter; frame->pDoc->p_Splitter->pDoc = frame->pDoc; // ControlBase: saving the Sash @@ -285,7 +285,7 @@ MainFrame::~MainFrame(void) // delete wxConfigBase::Set((wxConfigBase *) NULL); p_ProgramCfg->Flush(TRUE); // saves Objekt if (!frame->pDoc) // If we have a Valid Document - delete frame->pDoc; // Cleanup (mjDoc::~mjDoc) + delete frame->pDoc; // Cleanup (MainDoc::~MainDoc) } // MainFrame::~MainFrame(void) //---------------------------------------------------------------------------------------- void MainFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) diff --git a/demos/dbbrowse/dbbrowse.h b/demos/dbbrowse/dbbrowse.h index 13f8571891..9c64ce51e9 100644 --- a/demos/dbbrowse/dbbrowse.h +++ b/demos/dbbrowse/dbbrowse.h @@ -34,7 +34,7 @@ class MainFrame: public wxFrame wxHtmlHelpController *p_Help; //-------------------------------------------------------------------------------------- int DiffW, DiffH; - mjDoc *pDoc; + MainDoc *pDoc; DocSplitterWindow *p_Splitter; //-------------------------------------------------------------------------------------- DECLARE_EVENT_TABLE() diff --git a/demos/dbbrowse/dbgrid.h b/demos/dbbrowse/dbgrid.h index 39e7cc48c0..81b73d2e9c 100644 --- a/demos/dbbrowse/dbgrid.h +++ b/demos/dbbrowse/dbgrid.h @@ -12,7 +12,7 @@ #error "DBGrid requires the new wxGrid class" #endif //---------------------------------------------------------------------------------------- -class mjDoc; +class MainDoc; //---------------------------------------------------------------------------------------- class DBGrid: public wxGrid { @@ -24,7 +24,7 @@ class DBGrid: public wxGrid int i_ViewNr; // View Nummer in Tab / Page int i_Which; // Which View, Database is this/using //--------------------------------------------------------------------------------------- - mjDoc* pDoc; + MainDoc* pDoc; wxDbInf* ct_BrowserDB; BrowserDB* db_Br; wxMenu *popupMenu1; // OnDBClass diff --git a/demos/dbbrowse/dbtree.h b/demos/dbbrowse/dbtree.h index b7631fde66..b516dd6726 100644 --- a/demos/dbbrowse/dbtree.h +++ b/demos/dbbrowse/dbtree.h @@ -8,7 +8,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -class mjDoc; // Declared in Doc.h file +class MainDoc; // Declared in Doc.h file //---------------------------------------------------------------------------------------- class DBTreeData : public wxTreeItemData { @@ -42,7 +42,7 @@ class DBTree : public wxTreeCtrl DBTree(wxWindow *parent); DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style); virtual ~DBTree(); - mjDoc *pDoc; + MainDoc *pDoc; wxDbInf *ct_BrowserDB; //---------------------------------------------------------------------------------------- int i_TabArt; // Tab = 0 ; Page = 1; diff --git a/demos/dbbrowse/de/dbbrowse.mo b/demos/dbbrowse/de/dbbrowse.mo index 58445f52450f3e1bef6a313e6a37e292e885c703..16aebd129fe6d97920ec21af35c8be542522b508 100644 GIT binary patch delta 3553 zcmYk;d2o$a7{~D=35iJLN^*(VE^-k>iHIdZB!VbHS`qsiu?C3-vAn3ImTGw=7&A4d z%Z#eFnpXWqRT)#QsLt?5TSZMfMQ4}}(@tso{oVIu#u-mO&wK8<=e+M(-s|YpJ2id;FlOF>~>+7-O<VGi!Vk@z)^!1x5O{bVd)e6xW>16;xh7)~z(a3Th94;JD_n2G=4Sj_Yr(+9Vp zzJCfk;3L$HwP%X-AjOza>s-NT}uYJEH=ASXlXeyXRGaH#DQ)wG)vmQo0*~h4* zxr%zC>)0J{qxM2fYi~yU*q`f>7>N!tw%Lw);3KF#aHci$uP3dy4S&I@T;E5n^+;}4 zdt;2X81=PAmn&!aZ;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sLok5r2vm6t24Sqd9)!KPPPC>WeVZ&)y=qiP zwWxOLQSCILo@>Dn`Zud>g-zD2sJU*#=kZNKX*MxV8Jk|R?&vA7^0RK*ZC+oj1wNU0 zm1rZB^dd?g7P4q2{3X$g@>Xc|~ozEcp)PGT0Jy5!XViTdX+QC#=7ooP~Twq%N{4a5_+prq#pPA7H~ z;lwr~n^4MeFkXHC6ni1&*?brl5G#ldLR&O}7)-1pHWNy2B3~I&8S%0&=Zx!C^07o3 z@dBa!zm!m#;b1&E4to;o&Fmsxv;|G5)2)?YbNCjeeoCJu<`6yU4KmY+Aw)ee1+XK;eePsC+5zaII?_WirI(v}Gw%lb9zLyRS~<&+i> zNknfVir7Qw+z8Dq%^dG8YHnQ7QrBGKZ66fa85Ta<-`gIO>pdNDEvmAlsMuZC+}zmQ zk{@b98y0y#ik#5-Ph^qH`(=vTpXqnZ?yMvN_uBOY`X4}iNdf=> diff --git a/demos/dbbrowse/de/dbbrowse.po b/demos/dbbrowse/de/dbbrowse.po index ecb970e716..143505faac 100644 --- a/demos/dbbrowse/de/dbbrowse.po +++ b/demos/dbbrowse/de/dbbrowse.po @@ -130,10 +130,11 @@ msgid "\n" "-I-> BrowserDB::OnCloseDB() : Begin " msgstr "" -#: ../BrowserDB.cpp:161 +#: ../BrowserDB.cpp:148 msgid "\n" - "-I-> BrowserDB::OnCloseDB() : Ende " -msgstr "" + "-I-> BrowserDB::OnCloseDB() : End" +msgstr "\n" + "-I-> BrowserDB::OnCloseDB() : Ende" #: ../BrowserDB.cpp:139 #, c-format @@ -178,9 +179,9 @@ msgstr "\n" #: ../Doc.cpp:268 ../Doc.cpp:281 #, c-format msgid "\n" - "mjDoc::OnLeer(%s) : even this function will one day be available !" + "MainDoc::OnLeer(%s) : even this function will one day be available !" msgstr "\n" - "mjDoc::OnLeer(%s) : eines Tages steht auch diese Funktion zur Verfügung !" + "MainDoc::OnLeer(%s) : eines Tages steht auch diese Funktion zur Verfügung !" #: ../BrowserDB.cpp:47 msgid " Line: " @@ -191,8 +192,8 @@ msgid "Time" msgstr "Zeit" #: ../BrowserDB.cpp:47 -msgid "-I-> mjDoc::OnNewDocument() - End - Time needed : %ld ms" -msgstr "-I-> mjDoc::OnNewDocument() - Ende - Dauer : %ld ms" +msgid "-I-> MainDoc::OnNewDocument() - End - Time needed : %ld ms" +msgstr "-I-> MainDoc::OnNewDocument() - Ende - Dauer : %ld ms" #: ../BrowserDB.cpp:47 msgid "OK" @@ -361,6 +362,10 @@ msgstr "-I-> DBGrid::OnTableView(%s) - Satz %6d wurde gelesen." msgid "-I-> DBTree::OnPopulate(%s) - %6d Tables have been read. - Time needed : %ld ms" msgstr "-I-> DBTree::OnPopulate(%s) - %6d Tabellen wurde gelesen. - Dauer : %ld ms" +#, c-format +msgid "-I-> DBTree::OnPopulate() - %6d Tables have been read. - Time needed : %ld ms" +msgstr "-I-> DBTree::OnPopulate() - %6d Tabellen wurde gelesen. - Dauer : %ld ms" + #: ../DBTree.cpp:110 #, c-format msgid "-I-> DBTree::OnPopulate(%s) - Table %6d has been read." @@ -378,8 +383,8 @@ msgstr "-I-> PgmCtrl::OnSelChanged - %s" #: ../Doc.cpp:126 #, c-format -msgid "-I-> mjDoc::OnInitView() - End - %d DSN's found" -msgstr "-I-> mjDoc::OnInitView() - Ende - %d DSN's gefunden" +msgid "-I-> MainDoc::OnInitView() - End - %d DSN's found" +msgstr "-I-> MainDoc::OnInitView() - Ende - %d DSN's gefunden" #: ../PgmCtrl.cpp:160 ../PgmCtrl.cpp:163 msgid "-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was succesfull." diff --git a/demos/dbbrowse/dlguser.cpp b/demos/dbbrowse/dlguser.cpp index a229730846..416b6841ad 100644 --- a/demos/dbbrowse/dlguser.cpp +++ b/demos/dbbrowse/dlguser.cpp @@ -30,7 +30,7 @@ //---------------------------------------------------------------------------------------- #include "std.h" //---------------------------------------------------------------------------------------- -DlgUser::DlgUser(wxWindow *parent, mjDoc *p_Doc, const wxString& title) : +DlgUser::DlgUser(wxWindow *parent, MainDoc *p_Doc, const wxString& title) : wxDialog(parent, ID_DIALOG_DSN, title) { int chSize; // Height of Font * 1.4 = Height of wxTextCtrl diff --git a/demos/dbbrowse/dlguser.h b/demos/dbbrowse/dlguser.h index 0ab682fec2..8e0f2eddff 100644 --- a/demos/dbbrowse/dlguser.h +++ b/demos/dbbrowse/dlguser.h @@ -16,7 +16,7 @@ #define ID_PASSWORD 103 #define ID_TEXT 104 //---------------------------------------------------------------------------------------- -class mjDoc; +class MainDoc; //---------------------------------------------------------------------------------------- class DlgUser: public wxDialog { @@ -25,9 +25,9 @@ class DlgUser: public wxDialog wxStaticText *m_Label1, *m_Label2; wxTextCtrl *m_UserName, *m_Password; wxButton *m_OK, *m_Cancel; - mjDoc *pDoc; + MainDoc *pDoc; //--------------------------------------------------------------------------------------- - DlgUser(wxWindow *parent,mjDoc *pDoc, const wxString& title); + DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title); void OnInit(); void OnOk(wxCommandEvent& event); //--------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/doc.cpp b/demos/dbbrowse/doc.cpp index afe107b74c..b4f8f4e7c4 100644 --- a/demos/dbbrowse/doc.cpp +++ b/demos/dbbrowse/doc.cpp @@ -39,7 +39,7 @@ wxConfigBase *p_ProgramCfg; // All Config and Path information wxLogTextCtrl *p_LogBook; // All Log messages wxString LogBuf; // String for all Logs //---------------------------------------------------------------------------------------- -mjDoc::mjDoc() +MainDoc::MainDoc() { db_Br = NULL; p_DSN = NULL; @@ -58,7 +58,7 @@ mjDoc::mjDoc() ft_Doc = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT)); } //---------------------------------------------------------------------------------------- -mjDoc::~mjDoc() +MainDoc::~MainDoc() { // ---------------------------------------------------------- // -E-> The Tree Controls take to long to close : Why ?? @@ -75,10 +75,10 @@ mjDoc::~mjDoc() p_Splitter = NULL; delete p_Splitter; delete [] db_Br; - // wxMessageBox("~mjDoc"); + // wxMessageBox("~MainDoc"); } //---------------------------------------------------------------------------------------- -bool mjDoc::OnNewDocument() +bool MainDoc::OnNewDocument() { wxStopWatch sw; //--------------------------------------------------------------------------------------- @@ -86,14 +86,14 @@ bool mjDoc::OnNewDocument() return FALSE; p_PgmCtrl->OnPopulate(); //--------------------------------------------------------------------------------------- - wxLogMessage(_("-I-> mjDoc::OnNewDocument() - End - Time needed : %ld ms"),sw.Time()); + wxLogMessage(_("-I-> MainDoc::OnNewDocument() - End - Time needed : %ld ms"),sw.Time()); return TRUE; } //---------------------------------------------------------------------------------------- -bool mjDoc::OnInitView() +bool MainDoc::OnInitView() { Sash = p_ProgramCfg->Read("/MainFrame/Sash", 200); - // wxMessageBox("OnInitView() - Begin ","-I->mjDoc::OnInitView"); + // wxMessageBox("OnInitView() - Begin ","-I->MainDoc::OnInitView"); //--------------------------------------------------------------------------------------- // create "workplace" window //--------------------------------------------------------------------------------------- @@ -136,13 +136,13 @@ bool mjDoc::OnInitView() if (!OnInitODBC()) return FALSE; //--------------------------------------------------------------------------------------- - Temp0.Printf(_("-I-> mjDoc::OnInitView() - End - %d DSN's found"),i_DSN); + Temp0.Printf(_("-I-> MainDoc::OnInitView() - End - %d DSN's found"),i_DSN); p_MainFrame->SetStatusText(Temp0, 0); wxLogMessage(Temp0); return TRUE; } //---------------------------------------------------------------------------------------- -bool mjDoc::OnInitODBC() +bool MainDoc::OnInitODBC() { char Dsn[SQL_MAX_DSN_LENGTH + 1]; char DsDesc[255]; // BJO20002501 instead of 512 @@ -222,7 +222,7 @@ bool mjDoc::OnInitODBC() return TRUE; } //---------------------------------------------------------------------------------------- -bool mjDoc::OnChosenDSN(int Which) +bool MainDoc::OnChosenDSN(int Which) { // wxLogMessage("OnChosenDSN(%d) - Begin",Which); //--------------------------------------------------------------------------------------- @@ -251,7 +251,7 @@ bool mjDoc::OnChosenDSN(int Which) return TRUE; } //---------------------------------------------------------------------------------------- -bool mjDoc::OnChosenTbl(int Tab,wxString Table) +bool MainDoc::OnChosenTbl(int Tab,wxString Table) { // wxLogMessage("OnChosenTbl(%d,%s)",Tab,Table.c_str()); //------------------------- @@ -307,10 +307,10 @@ bool mjDoc::OnChosenTbl(int Tab,wxString Table) return TRUE;; } //---------------------------------------------------------------------------------------- -void mjDoc::OnLeer(wxString Aufrufer) +void MainDoc::OnLeer(wxString Aufrufer) { - // Temp0.Printf(_("\nmjDoc::OnLeer(%s) : auch diese funktion steht eines Tages zur Verfügung !"),Aufrufer.c_str()); - Temp0.Printf(_("\nmjDoc::OnLeer(%s) : even this function will one day be available !"),Aufrufer.c_str()); + // Temp0.Printf(_("\nMainDoc::OnLeer(%s) : auch diese funktion steht eines Tages zur Verfügung !"),Aufrufer.c_str()); + Temp0.Printf(_("\nMainDoc::OnLeer(%s) : even this function will one day be available !"),Aufrufer.c_str()); wxLogMessage(Temp0); Temp0.Empty(); return; } diff --git a/demos/dbbrowse/doc.h b/demos/dbbrowse/doc.h index 50a7610716..488c5093af 100644 --- a/demos/dbbrowse/doc.h +++ b/demos/dbbrowse/doc.h @@ -29,12 +29,12 @@ extern wxString LogBuf; // String for all Logs class PgmCtrl; // Declared in PgmCtrl.h file class DocSplitterWindow; // Declared at the end of the file //---------------------------------------------------------------------------------------- -class mjDoc +class MainDoc { public: //--------------------------------------------------------------------------------------- - mjDoc(); - virtual ~mjDoc(); + MainDoc(); + virtual ~MainDoc(); int Sash; //--------------------------------------------------------------------------------------- //-- declare document Vars here --------------------------------------------------------- @@ -72,7 +72,7 @@ class mjDoc class DocSplitterWindow: public wxSplitterWindow { public: - mjDoc *pDoc; + MainDoc *pDoc; DocSplitterWindow(wxWindow *parent, wxWindowID id); virtual bool OnSashPositionChange(int newSashPosition) { diff --git a/demos/dbbrowse/pgmctrl.h b/demos/dbbrowse/pgmctrl.h index b528e26741..51ad07f681 100644 --- a/demos/dbbrowse/pgmctrl.h +++ b/demos/dbbrowse/pgmctrl.h @@ -8,7 +8,7 @@ // Copyright: (c) Mark Johnson, Berlin Germany, mj10777@gmx.net // Licence: wxWindows license //---------------------------------------------------------------------------------------- -class mjDoc; // Declared in doc.h file +class MainDoc; // Declared in doc.h file //---------------------------------------------------------------------------------------- class TreeData : public wxTreeItemData { @@ -37,7 +37,7 @@ class PgmCtrl : public wxTreeCtrl PgmCtrl(wxWindow *parent); PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style); virtual ~PgmCtrl(); - mjDoc *pDoc; + MainDoc *pDoc; //---------------------------------------------------------------------------------------- int i_TabArt; // Tab = 0 ; Page = 1; int i_ViewNr; // View Nummer in Tab / Page -- 2.45.2