From a34d639546249bb660fca14e114442cfa7d69758 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 21 Sep 2002 20:32:53 +0000 Subject: [PATCH] really override IsCanvasWindow() in wxPanel (this wasn't the case because of a missing const before) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/panelg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index b7f14c0af2..31a326736e 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -82,7 +82,7 @@ public: virtual void InitDialog(); #ifdef __WXUNIVERSAL__ - virtual bool IsCanvasWindow() { return TRUE; } + virtual bool IsCanvasWindow() const { return TRUE; } virtual bool ProvidesBackground() { return TRUE; } #endif