]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
Fixed Refresh to use a "const wxRect *" parameter.
[wxWidgets.git] / include / wx / generic / panelg.h
index cc40e39182aed2cddc88cc73e8019946ff7208ef..b7f14c0af22944aac86f27460f59901bb6c02d2b 100644 (file)
@@ -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,7 +81,8 @@ public:
 
     virtual void InitDialog();
 
-#ifdef __WXUNIV__
+#ifdef __WXUNIVERSAL__
+    virtual bool IsCanvasWindow() { return TRUE; }
     virtual bool ProvidesBackground() { return TRUE; }
 #endif