Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -33,7 +33,7 @@
 | 
			
		||||
//----------------------------------------------------------------------------------------
 | 
			
		||||
//-- Some Global Vars for all Files (extern in ?.h needed) -------------------------------
 | 
			
		||||
// Global structure for holding ODBC connection information
 | 
			
		||||
struct DbStuff DbConnectInf;
 | 
			
		||||
struct wxDbConnectInf DbConnectInf;
 | 
			
		||||
//----------------------------------------------------------------------------------------
 | 
			
		||||
wxConfigBase   *p_ProgramCfg;       // All Config and Path information
 | 
			
		||||
wxLogTextCtrl  *p_LogBook;          // All Log messages
 | 
			
		||||
@@ -165,7 +165,7 @@ bool MainDoc::OnInitODBC()
 | 
			
		||||
 // The key will be removed after sorting
 | 
			
		||||
 wxString KeyString;
 | 
			
		||||
 //---------------------------------------------------------------------------------------
 | 
			
		||||
 while(GetDataSource(DbConnectInf.Henv, Dsn, sizeof(Dsn), DsDesc, sizeof(DsDesc)))
 | 
			
		||||
 while(wxDbGetDataSource(DbConnectInf.Henv, Dsn, sizeof(Dsn), DsDesc, sizeof(DsDesc)))
 | 
			
		||||
 {
 | 
			
		||||
  i_DSN++;   // How many Dsn have we ?
 | 
			
		||||
  KeyString.Printf("%s%c%s",Dsn, sep, DsDesc);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user