X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..592584e4e9c3c01a05fda770dcd1f88a8a8d69f1:/interface/panel.h?ds=inline diff --git a/interface/panel.h b/interface/panel.h index f11b7a65d8..571a17ac1d 100644 --- a/interface/panel.h +++ b/interface/panel.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: panel.h -// Purpose: documentation for wxPanel class +// Purpose: interface of wxPanel // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -28,8 +28,7 @@ @library{wxbase} @category{miscwnd} - @seealso - wxDialog + @see wxDialog */ class wxPanel : public wxWindow { @@ -37,7 +36,7 @@ public: //@{ /** Constructor. - + @param parent The parent window. @param id @@ -55,7 +54,7 @@ public: Used to associate a name with the window, allowing the application user to set Motif resource values for individual dialog boxes. - + @see Create() */ wxPanel(); @@ -77,7 +76,7 @@ public: can accept the focus. This is reevaluated each time a child window is added or removed from the panel. */ - bool AcceptsFocus(); + bool AcceptsFocus() const; /** Used for two-step panel construction. See wxPanel() @@ -92,24 +91,24 @@ public: /** Sends a wxInitDialogEvent, which in turn transfers data to the dialog via validators. - + @see wxInitDialogEvent */ void InitDialog(); /** The default handler for wxEVT_SYS_COLOUR_CHANGED. - + @param event The colour change event. - + @remarks Changes the panel's colour to conform to the current settings (Windows only). Add an event table entry for your panel class if you wish the behaviour to be different (such as keeping a user-defined background colour). If you do override this function, call wxEvent::Skip to propagate the notification to child windows and controls. - + @see wxSysColourChangedEvent */ void OnSysColourChanged(wxSysColourChangedEvent& event); @@ -120,7 +119,7 @@ public: the focus and TAB logic for controls which usually have child controls. In practice, if you call this method and the control has at least one child window, the focus will be given to the child window. - + @see wxFocusEvent, wxWindow::SetFocus */ virtual void SetFocus(); @@ -132,3 +131,4 @@ public: */ virtual void SetFocusIgnoringChildren(); }; +