X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/829c421b9338a843db6a49177e12dc88ff7db8c3..bf5d9fa4ea9f668eb45a0c5b48d6e35216e3c699:/demos/dbbrowse/tabpgwin.h?ds=sidebyside diff --git a/demos/dbbrowse/tabpgwin.h b/demos/dbbrowse/tabpgwin.h index 622fbfa194..f6f63e74e1 100644 --- a/demos/dbbrowse/tabpgwin.h +++ b/demos/dbbrowse/tabpgwin.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: No names yet. +// Name: tabpgwin.h // Purpose: Contrib. demo // Author: Aleksandras Gluchovas // Modified by: 19990908 : mj @@ -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" @@ -83,13 +83,13 @@ public: wxPen mDarkPen; // default: RGB(128,128,128) wxPen mBlackPen; // default: RGB( 0, 0, 0) - int mActiveTab; + size_t mActiveTab; int mTitleHeight; int mLayoutType; // notifications (can be handled by derivatives) - virtual void OnTabAdded( twTabInfo* pInfo ) {} + virtual void OnTabAdded( twTabInfo* WXUNUSED(pInfo) ) {} virtual void SizeTabs(int x,int y, int width, int height, bool repant); @@ -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 = _T(""), // 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),