X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5890ad78fa8c2112501c9b9851bcab251121450a..b370e7587f0875733b859f496bc2a99c573ff088:/demos/dbbrowse/dbbrowse.cpp diff --git a/demos/dbbrowse/dbbrowse.cpp b/demos/dbbrowse/dbbrowse.cpp index 17c7e75a55..8f19fc8526 100644 --- a/demos/dbbrowse/dbbrowse.cpp +++ b/demos/dbbrowse/dbbrowse.cpp @@ -9,13 +9,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- @@ -235,7 +229,7 @@ bool MainApp::OnInit(void) // Does everything needed for a program start frame->pDoc->p_Splitter = frame->p_Splitter; frame->pDoc->p_Splitter->pDoc = frame->pDoc; // ControlBase: saving the Sash //--------------------------------------------------------------------------------------- - //-- Problem : GetClientSize(Width,Hight) are not the same as the values given in the --- + //-- Problem : GetClientSize(Width,Height) are not the same as the values given in the --- //-- construction of the Frame. --- //-- Solved : GetClientSize is called here and the difference is noted. When the --- //-- Window is closed the diff. is added to the result of GetClientSize. ---