X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6460682a21a5f58ff7914676fd80b0730803398..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 2fb6dcc27a..b3a02100ee 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -85,9 +85,7 @@ protected: class WXDLLEXPORT wxTabLayer: public wxList { -// Why did someone remove this, please? -DECLARE_DYNAMIC_CLASS(wxTabLayer) - wxTabLayer():wxList() {} + DECLARE_DYNAMIC_CLASS(wxTabLayer) }; /* @@ -152,7 +150,7 @@ public: inline wxPen *GetBackgroundPen(void) const { return m_backgroundPen; } inline wxBrush *GetBackgroundBrush(void) const { return m_backgroundBrush; } - inline void SetViewRect(const wxRectangle& rect) { m_tabViewRect = rect; } + inline void SetViewRect(const wxRect& rect) { m_tabViewRect = rect; } inline wxRect GetViewRect(void) const { return m_tabViewRect; } // Calculate tab width to fit to view, and optionally adjust the view