X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6f6393c3f42fc0d14b6815fb7a4cf5549b53501..9ef4a31e643ce01bef16b37f10be125df0c2ab0f:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 5ae093690b..b3a02100ee 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -85,6 +85,7 @@ protected: class WXDLLEXPORT wxTabLayer: public wxList { + DECLARE_DYNAMIC_CLASS(wxTabLayer) }; /* @@ -149,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