]> git.saurik.com Git - wxWidgets.git/commitdiff
wxPanel is a canvas in wxUniv sense of the word
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 May 2002 14:09:47 +0000 (14:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 May 2002 14:09:47 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/panelg.h

index 78c45bce7ee766f2a109048037582b04e9199eae..526efda1a7fa386817db02b2bc5fd31858f82434 100644 (file)
@@ -82,6 +82,7 @@ public:
     virtual void InitDialog();
 
 #ifdef __WXUNIVERSAL__
     virtual void InitDialog();
 
 #ifdef __WXUNIVERSAL__
+    virtual bool IsCanvasWindow() { return TRUE; }
     virtual bool ProvidesBackground() { return TRUE; }
 #endif
 
     virtual bool ProvidesBackground() { return TRUE; }
 #endif