2
* This file is part of wxSmith plugin for Code::Blocks Studio
3
* Copyright (C) 2006-2007 Bartlomiej Swiecki
5
* wxSmith is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* wxSmith is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
19
* $Id: wxschoicebook.h 4850 2008-01-29 21:45:49Z byo $
20
* $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/contrib/wxSmith/wxwidgets/defitems/wxschoicebook.h $
23
#ifndef WXSCHOICEBOOK_H
24
#define WXSCHOICEBOOK_H
26
#include "../wxscontainer.h"
28
/** \brief Choicebook container */
29
class wxsChoicebook : public wxsContainer
33
wxsChoicebook(wxsItemResData* Data);
37
virtual void OnEnumContainerProperties(long Flags);
38
virtual bool OnCanAddChild(wxsItem* Item,bool ShowMessage);
39
virtual wxsPropertyContainer* OnBuildExtra();
40
virtual wxString OnXmlGetExtraObjectClass();
41
virtual void OnAddChildQPP(wxsItem* Child,wxsAdvQPP* QPP);
42
virtual wxObject* OnBuildPreview(wxWindow* Parent,long PreviewFlags);
43
virtual void OnBuildCreatingCode();
44
virtual bool OnMouseClick(wxWindow* Preview,int PosX,int PosY);
45
virtual bool OnIsChildPreviewVisible(wxsItem* Child);
46
virtual bool OnEnsureChildPreviewVisible(wxsItem* Child);
48
void UpdateCurrentSelection();
50
wxsItem* m_CurrentSelection;