X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c48e1e53d74cef62d15f08f015d9efeb45a0c1..232b2162776e08c0b16d5280b90f5c075f38c667:/interface/wx/panel.h diff --git a/interface/wx/panel.h b/interface/wx/panel.h index cd76e4bee9..f836f6c6a1 100644 --- a/interface/wx/panel.h +++ b/interface/wx/panel.h @@ -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.