X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c48e1e53d74cef62d15f08f015d9efeb45a0c1..7e04f44c8df9a8571d5304718de9a5617701dbab:/interface/wx/panel.h?ds=sidebyside diff --git a/interface/wx/panel.h b/interface/wx/panel.h index cd76e4bee9..934673f5cd 100644 --- a/interface/wx/panel.h +++ b/interface/wx/panel.h @@ -26,6 +26,11 @@ @remarks By default, a panel has the same colouring as a dialog. + @beginEventEmissionTable{wxNavigationKeyEvent} + @event{EVT_NAVIGATION_KEY(func)} + Process a navigation key event. + @endEventTable + @library{wxbase} @category{miscwnd} @@ -48,10 +53,10 @@ public: @param id An identifier for the panel. @c wxID_ANY is taken to mean a default. @param pos - The panel position. The value @c wxDefaultPosition indicates a default position, + The panel position. The value ::wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform. @param size - The panel size. The value @c wxDefaultSize indicates a default size, chosen by + The panel size. The value ::wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform. @param style The window style. See wxPanel. @@ -64,7 +69,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 +101,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.