X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5ffecfc985136771bb521074c0f46a07894e62e..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/demos/dbbrowse/tabpgwin.h?ds=sidebyside diff --git a/demos/dbbrowse/tabpgwin.h b/demos/dbbrowse/tabpgwin.h index e3f2ea61af..c9928ebf85 100644 --- a/demos/dbbrowse/tabpgwin.h +++ b/demos/dbbrowse/tabpgwin.h @@ -1,15 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: No names yet. +// Name: tabpgwin.h // Purpose: Contrib. demo // Author: Aleksandras Gluchovas -// Modified by: 19990908 : mj10777@gmx.net +// Modified by: 19990908 : mj // 19990909 : // - rename to tabpgwin // - restruction of Variable declaration // - to prevent Warnings under MingGW32 -// Modified by: 19990909 : mj10777@gmx.net +// Modified by: 19990909 : mj // - mNoVertScroll TRUE = no / FALSE = Original Code -// the Original Code Paints a Vertical Scroll in wxPaggedWindow +// the Original Code Paints a Vertical Scroll in wxPagedWindow // which is not needed in this Version. Use TRUE for this. // Created: 07/09/98 // RCS-ID: $Id$ @@ -17,12 +17,12 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifndef __CONTROLAREA_G__ -#define __CONTROLAREA_G__ +#ifndef __TABPGWIN_G__ +#define __TABPGWIN_G__ -#ifdef __GNUG__ -#pragma interface "controlarea.h" -#endif +//#ifdef __GNUG__ +//#pragma interface +//#endif #include "wx/defs.h" #include "wx/window.h" @@ -60,7 +60,7 @@ public: virtual wxFont GetLabelingFont(); - // FOR NOW:: scrollbars are actually related to wxPaggedWindow + // FOR NOW:: scrollbars are actually related to wxPagedWindow wxScrollBar* mpTabScroll; wxScrollBar* mpHorizScroll; @@ -100,10 +100,10 @@ public: // tabs can be also added when the window is // already displayed - "on the fly" - virtual void AddTab( wxWindow* pContent, // contained window - wxString tabText, // tab label - wxString imageFileName = "", // if "", only text label is displayed - long imageType = wxBITMAP_TYPE_BMP ); + virtual void AddTab( wxWindow* pContent, // contained window + wxString tabText, // tab label + wxString imageFileName = "", // if "", only text label is displayed + wxBitmapType imageType = wxBITMAP_TYPE_BMP ); // NOTE:: if this AddTab(..) overload is called, the // image bitmap will not be serialized (if performed), @@ -154,9 +154,9 @@ public: * of Microsoft Developer Studio 4.xx */ -class wxPaggedWindow : public wxTabbedWindow +class wxPagedWindow : public wxTabbedWindow { - DECLARE_DYNAMIC_CLASS( wxPaggedWindow ) + DECLARE_DYNAMIC_CLASS( wxPagedWindow ) // the protected: public: changes prevents Warnings in gcc protected: bool mScrollEventInProgress; @@ -199,8 +199,8 @@ public: public: - wxPaggedWindow(); - ~wxPaggedWindow(); + wxPagedWindow(); + ~wxPagedWindow(); // NOTE:: use public methods of the base class // to add "pages" to this window