X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/645889ad25eaa6e332463a6105a1dfd63d917d36..0d5b6a403ec7adae6bef61d84940b33b6f070116:/demos/dbbrowse/doc.h diff --git a/demos/dbbrowse/doc.h b/demos/dbbrowse/doc.h index 3fbb111033..86672c449c 100644 --- a/demos/dbbrowse/doc.h +++ b/demos/dbbrowse/doc.h @@ -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() };