]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
use iostream.h and not iostream with OpenWatcom (part of patch 910058)
[wxWidgets.git] / include / wx / generic / panelg.h
index 947d9a4b22e4990cf306ff0e9145aa96b9cf47f4..28852dd454c0bacfa86bfcaf1a214bc8fea3363c 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GENERIC_PANEL_H_
 #define _WX_GENERIC_PANEL_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "panelg.h"
 #endif
 
@@ -86,6 +86,10 @@ public:
     virtual bool ProvidesBackground() const { return TRUE; }
 #endif
 
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
+
+    
     WX_DECLARE_CONTROL_CONTAINER();
 
 protected: