]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / univ / toplevel.h
index a02df1872697ee3dd83d5725253e01bc8e482398..9edcf899f66953ec8170531faee4c4d381a18b2b 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "wx/univ/inpcons.h"
 #include "wx/univ/inphand.h"
+#include "wx/icon.h"
 
 // ----------------------------------------------------------------------------
 // constants
@@ -142,6 +143,8 @@ public:
     virtual int GetMinWidth() const;
     virtual int GetMinHeight() const;
 
+    virtual bool ProvidesBackground() { return TRUE; }
+    
 protected:
     // handle titlebar button click event
     virtual void ClickTitleBarButton(long button);