]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/panel.h
MYcopystring is not required anymore when compat2.8 is off
[wxWidgets.git] / interface / wx / panel.h
index cd76e4bee936633694c47af89786377264a15a06..f836f6c6a1f35557f7c1fa843504ee3c72c88d30 100644 (file)
@@ -64,7 +64,7 @@ public:
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxTAB_TRAVERSAL,
-            const wxString& name = "panel");
+            const wxString& name = wxPanelNameStr);
 
     /**
         Destructor. Deletes any child windows before deleting the physical window.
@@ -96,6 +96,12 @@ public:
     */
     virtual void InitDialog();
 
+    /**
+        See wxWindow::SetAutoLayout(): when auto layout is on, this function gets
+        called automatically when the window is resized.
+    */
+    virtual bool Layout();
+
     /**
         The default handler for wxEVT_SYS_COLOUR_CHANGED.