X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a98423eb038738b5c4c76c575435034ee8b7d56..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/panel.h?ds=sidebyside diff --git a/interface/wx/panel.h b/interface/wx/panel.h index 59acc6534a..b1e83bd223 100644 --- a/interface/wx/panel.h +++ b/interface/wx/panel.h @@ -3,7 +3,7 @@ // Purpose: interface of wxPanel // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -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. @@ -97,7 +102,13 @@ public: virtual void InitDialog(); /** - The default handler for wxEVT_SYS_COLOUR_CHANGED. + 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 @c wxEVT_SYS_COLOUR_CHANGED. @param event The colour change event.