X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eed80e5efeaa9f8acae529f041d1164b85afe557..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index b95297e4f4..a5975e5f8a 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: tabg.h +// Name: wx/generic/tabg.h // Purpose: Generic tabbed dialogs; used by wxMotif's wxNotebook // Author: Julian Smart // Modified by: @@ -31,7 +31,7 @@ class WXDLLIMPEXP_CORE wxTabControl: public wxObject { DECLARE_DYNAMIC_CLASS(wxTabControl) public: - wxTabControl(wxTabView *v = (wxTabView *) NULL); + wxTabControl(wxTabView *v = NULL); virtual ~wxTabControl(void); virtual void OnDraw(wxDC& dc, bool lastInRow); @@ -108,7 +108,7 @@ public: inline wxWindow* GetWindow(void) const { return m_window; } // Automatically positions tabs - wxTabControl *AddTab(int id, const wxString& label, wxTabControl *existingTab = (wxTabControl *) NULL); + wxTabControl *AddTab(int id, const wxString& label, wxTabControl *existingTab = NULL); // Remove the tab without deleting the window bool RemoveTab(int id); @@ -130,7 +130,7 @@ public: // Called when a tab is activated virtual void OnTabActivate(int activateId, int deactivateId); // Allows vetoing - virtual bool OnTabPreActivate(int WXUNUSED(activateId), int WXUNUSED(deactivateId) ) { return true; }; + virtual bool OnTabPreActivate(int WXUNUSED(activateId), int WXUNUSED(deactivateId) ) { return true; } // Allows use of application-supplied wxTabControl classes. virtual wxTabControl *OnCreateTabControl(void) { return new wxTabControl(this); }