X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..b7341fe06f10dbe562f077c9a5ed9ea7afa9195a:/interface/wx/panel.h diff --git a/interface/wx/panel.h b/interface/wx/panel.h index 18affd636a..4bf26f3f07 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} @@ -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. @@ -86,7 +91,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, - const wxString& name = "panel"); + const wxString& name = wxPanelNameStr); /** Sends a wxInitDialogEvent, which in turn transfers data to the dialog via @@ -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.