From: Vadim Zeitlin Date: Mon, 6 May 2002 14:09:47 +0000 (+0000) Subject: wxPanel is a canvas in wxUniv sense of the word X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/19f0aa9a2f8d65aa61d8b02af1526194ebcf8a83 wxPanel is a canvas in wxUniv sense of the word git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 78c45bce7e..526efda1a7 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -82,6 +82,7 @@ public: virtual void InitDialog(); #ifdef __WXUNIVERSAL__ + virtual bool IsCanvasWindow() { return TRUE; } virtual bool ProvidesBackground() { return TRUE; } #endif