Applied patch from SF on menu command not blocked
if they are disabled but still emitted by an accelerator First attempt at adding wxSizer::Clear(). Further testing pending :-) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,6 +47,8 @@ public:
|
||||
wxSizerItem( wxSizer *sizer, int option, int flag, int border, wxObject* userData );
|
||||
|
||||
~wxSizerItem();
|
||||
|
||||
virtual void DeleteWindows();
|
||||
|
||||
virtual wxSize GetSize();
|
||||
virtual wxSize CalcMin();
|
||||
@@ -143,6 +145,9 @@ public:
|
||||
virtual bool Remove( wxWindow *window );
|
||||
virtual bool Remove( wxSizer *sizer );
|
||||
virtual bool Remove( int pos );
|
||||
|
||||
virtual void Clear( bool delete_windows=FALSE );
|
||||
virtual void DeleteWindows();
|
||||
|
||||
void SetMinSize( int width, int height )
|
||||
{ DoSetMinSize( width, height ); }
|
||||
|
Reference in New Issue
Block a user