]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/doc.h
rebaked after changing the version number
[wxWidgets.git] / demos / dbbrowse / doc.h
index 3fbb111033ddfb2dd0d6e52e996797c45951d7b0..86672c449ccc38f23ed6109a5c060291f411c5c8 100644 (file)
@@ -1,7 +1,7 @@
 //--------------------------------------------------------------------------------------------------
 // Name:        doc.h
 // Purpose:     a non-MFC Document (a do-it-yourself document)
-// Author:      Mark Johnson, mj10777@gmx.net
+// Author:      Mark Johnson
 // Modified by: 19990808.mj10777
 // Created:     19990808
 // Copyright:   (c) Mark Johnson
@@ -22,7 +22,7 @@ public:
 
 //----------------------------------------------------------------------------------------
 // Global structure for holding ODBC connection information
-extern wxDbConnectInf DbConnectInf;
+//extern wxDbConnectInf DbConnectInf;
 
 //----------------------------------------------------------------------------------------
 extern wxConfigBase   *p_ProgramCfg;       // All Config and Path information
@@ -84,9 +84,9 @@ public:
     virtual bool OnSashPositionChange(int newSashPosition)
     {
         if ( !wxSplitterWindow::OnSashPositionChange(newSashPosition) )
-            return FALSE;
+            return false;
         pDoc->Sash = newSashPosition;
-        return TRUE;
+        return true;
     }
     DECLARE_EVENT_TABLE()
 };