X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/os2/tabctrl.h diff --git a/include/wx/os2/tabctrl.h b/include/wx/os2/tabctrl.h index 80740019b4..40049d3325 100644 --- a/include/wx/os2/tabctrl.h +++ b/include/wx/os2/tabctrl.h @@ -1,21 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// // Name: tabctrl.h // Purpose: wxTabCtrl class -// Author: AUTHOR +// Author: David Webster // Modified by: // Created: ??/??/98 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) David Webster +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#ifdef __GNUG__ -#pragma interface "tabctrl.h" -#endif - class wxImageList; /* @@ -38,11 +34,11 @@ class WXDLLEXPORT wxTabCtrl: public wxControl wxTabCtrl(); inline wxTabCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "tabCtrl") + long style = 0, const wxString& name = wxT("tabCtrl")) { Create(parent, id, pos, size, style, name); } - ~wxTabCtrl(); + virtual ~wxTabCtrl(); // Accessors @@ -97,7 +93,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl // Operations bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "tabCtrl"); + long style = 0, const wxString& name = wxT("tabCtrl")); // Delete all items bool DeleteAllItems(); @@ -111,7 +107,10 @@ class WXDLLEXPORT wxTabCtrl: public wxControl // Insert an item bool InsertItem(int item, const wxString& text, int imageId = -1, void* data = NULL); - void Command(wxCommandEvent& event); + virtual bool OS2OnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); + + // Responds to colour changes + void OnSysColourChanged(wxSysColourChangedEvent& event); protected: wxImageList* m_imageList;