X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27dc7e21d9bc78c7c0c991eb9c0c0350278d163d..6308151359ba88ae05d8d61ad82adf6d51c19fc0:/include/wx/generic/panelg.h diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index c5442a15e0..308be49ecb 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -6,11 +6,11 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __PANELH_G__ -#define __PANELH_G__ +#ifndef _WX_GENERIC_PANEL_H_ +#define _WX_GENERIC_PANEL_H_ #ifdef __GNUG__ #pragma interface "panelg.h" @@ -78,8 +78,12 @@ public: // set the focus to the first child if we get it void OnFocus(wxFocusEvent& event); + // calls layout for layout constraints and sizers void OnSize(wxSizeEvent& event); + // overridden to tab move focus into first focusable child + virtual void SetFocus(); + // called by wxWindow whenever it gets focus void SetLastFocus(wxWindow *win) { m_winLastFocused = win; } wxWindow *GetLastFocus() const { return m_winLastFocused; } @@ -100,4 +104,4 @@ private: }; #endif - // __PANELH_G__ + // _WX_GENERIC_PANEL_H_