add XRC handler for wxSearchCtrl (extended patch 1751516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
31
include/wx/xrc/xh_srchctrl.h
Normal file
31
include/wx/xrc/xh_srchctrl.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/xrc/xh_srchctl.h
|
||||
// Purpose: XRC resource handler for wxSearchCtrl
|
||||
// Author: Sander Berents
|
||||
// Created: 2007/07/12
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2007 Sander Berents
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_XH_SRCH_H_
|
||||
#define _WX_XH_SRCH_H_
|
||||
|
||||
#include "wx/xrc/xmlres.h"
|
||||
|
||||
#if wxUSE_XRC && wxUSE_SEARCHCTRL
|
||||
|
||||
class WXDLLIMPEXP_XRC wxSearchCtrlXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
public:
|
||||
wxSearchCtrlXmlHandler();
|
||||
|
||||
virtual wxObject *DoCreateResource();
|
||||
virtual bool CanHandle(wxXmlNode *node);
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxSearchCtrlXmlHandler)
|
||||
};
|
||||
|
||||
#endif // wxUSE_XRC && wxUSE_SEARCHCTRL
|
||||
|
||||
#endif // _WX_XH_SRCH_H_
|
Reference in New Issue
Block a user