X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..6ba7c06eeeda47b88783025428ca0f290e3bf236:/include/wx/generic/panelg.h diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 076011ac79..b7f14c0af2 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_PANEL_H_ #define _WX_GENERIC_PANEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "panelg.h" #endif @@ -81,6 +81,11 @@ public: virtual void InitDialog(); +#ifdef __WXUNIVERSAL__ + virtual bool IsCanvasWindow() { return TRUE; } + virtual bool ProvidesBackground() { return TRUE; } +#endif + WX_DECLARE_CONTROL_CONTAINER(); protected: