added wxEditbaleListBox XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "wx/xrc/xh_datectrl.h"
|
||||
#include "wx/xrc/xh_dirpicker.h"
|
||||
#include "wx/xrc/xh_dlg.h"
|
||||
#include "wx/xrc/xh_editlbox.h"
|
||||
#include "wx/xrc/xh_filepicker.h"
|
||||
#include "wx/xrc/xh_fontpicker.h"
|
||||
#include "wx/xrc/xh_frame.h"
|
||||
|
40
include/wx/xrc/xh_editlbox.h
Normal file
40
include/wx/xrc/xh_editlbox.h
Normal file
@@ -0,0 +1,40 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/xrc/xh_editlbox.h
|
||||
// Purpose: declaration of wxEditableListBox XRC handler
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2009-06-04
|
||||
// RCS-ID: $Id$
|
||||
// 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();
|
||||
virtual bool CanHandle(wxXmlNode *node);
|
||||
|
||||
private:
|
||||
bool m_insideBox;
|
||||
wxArrayString m_items;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxEditableListBoxXmlHandler)
|
||||
};
|
||||
|
||||
#endif // wxUSE_XRC && wxUSE_EDITABLELISTBOX
|
||||
|
||||
#endif // _WX_XRC_XH_EDITLBOX_H_
|
||||
|
Reference in New Issue
Block a user