xh_statpict.h

来自「Wxpython Implemented on Windows CE, Sou」· C头文件 代码 · 共 40 行

H
40
字号
/////////////////////////////////////////////////////////////////////////////
// Name:        xh_statpict.h
// Purpose:     XRC resource handler for wxStaticPicture
// Author:      David A. Norris
// Created:     2005/03/13
// RCS-ID:      $Id: xh_statpict.h,v 1.5 2005/09/23 12:47:00 MR Exp $
// Copyright:   David A. Norris
// Licence:     wxWindows Licence
/////////////////////////////////////////////////////////////////////////////

#ifndef _WX_XH_STATPICT_H
#define _WX_XH_STATPICT_H

#include "wx/xrc/xmlres.h"
#include "wx/gizmos/gizmos.h"

//
// XML resource handler for the wxStaticPicture class in wxContrib.
//

class WXDLLIMPEXP_GIZMOS_XRC wxStaticPictureXmlHandler
    : public wxXmlResourceHandler
{
public:

    // Constructor.
    wxStaticPictureXmlHandler();

    // Creates the control and returns a pointer to it.
    virtual wxObject *DoCreateResource();

    // Returns true if we know how to create a control for the given node.
    virtual bool CanHandle(wxXmlNode *node);

    // Register with wxWindows' dynamic class subsystem.
    DECLARE_DYNAMIC_CLASS(wxStaticPictureXmlHandler)
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?