From 488e50ee501032acf27ae7ddbb61931ab6c6899a Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Sat, 28 Oct 2006 18:27:42 +0000 Subject: [PATCH] fixed some compiler warnings in wxaui git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/aui/auibook.h | 4 ++++ src/aui/auibook.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/wx/aui/auibook.h b/include/wx/aui/auibook.h index f10d6801a5..57a605bbf9 100644 --- a/include/wx/aui/auibook.h +++ b/include/wx/aui/auibook.h @@ -34,6 +34,9 @@ class wxTabArt { public: + wxTabArt() { } + virtual ~wxTabArt() { } + virtual void DrawBackground( wxDC* dc, const wxRect& rect) = 0; @@ -57,6 +60,7 @@ class wxDefaultTabArt : public wxTabArt public: wxDefaultTabArt(); + virtual ~wxDefaultTabArt(); void DrawBackground( wxDC* dc, diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 07cf4c0216..5d7b97897f 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -125,6 +125,10 @@ wxDefaultTabArt::wxDefaultTabArt() m_selected_bkpen = wxPen(selectedtab_colour); } +wxDefaultTabArt::~wxDefaultTabArt() +{ +} + void wxDefaultTabArt::DrawBackground( wxDC* dc, const wxRect& rect) -- 2.45.2