Add wx headers and ext
This commit is contained in:
parent
6390dcef6a
commit
66d3c7b811
1531 changed files with 295895 additions and 0 deletions
39
wxheaders/wx/xrc/xh_editlbox.h
Normal file
39
wxheaders/wx/xrc/xh_editlbox.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/xrc/xh_editlbox.h
|
||||
// Purpose: declaration of wxEditableListBox XRC handler
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2009-06-04
|
||||
// Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_XRC_XH_EDITLBOX_H_
|
||||
#define _WX_XRC_XH_EDITLBOX_H_
|
||||
|
||||
#include "wx/xrc/xmlres.h"
|
||||
|
||||
#if wxUSE_XRC && wxUSE_EDITABLELISTBOX
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxEditableListBoxXmlHandler: XRC handler for wxEditableListBox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_XRC wxEditableListBoxXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
public:
|
||||
wxEditableListBoxXmlHandler();
|
||||
|
||||
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
||||
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
bool m_insideBox;
|
||||
wxArrayString m_items;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxEditableListBoxXmlHandler);
|
||||
};
|
||||
|
||||
#endif // wxUSE_XRC && wxUSE_EDITABLELISTBOX
|
||||
|
||||
#endif // _WX_XRC_XH_EDITLBOX_H_
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue