2
* This file is part of wxSmithAui plugin for Code::Blocks Studio
3
* Copyright (C) 2008-2009 César Fernández Domínguez
5
* wxSmithAui 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
* wxSmithAui 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 wxSmithAui. If not, see <http://www.gnu.org/licenses/>.
19
#ifndef WXSAUINOTEBOOK_H
20
#define WXSAUINOTEBOOK_H
22
#include <wxwidgets/wxscontainer.h>
25
class wxsAuiNotebook : public wxsContainer
28
wxsAuiNotebook(wxsItemResData* Data);
29
virtual ~wxsAuiNotebook();
32
virtual void OnEnumContainerProperties(long Flags);
33
virtual bool OnCanAddChild(wxsItem* Item,bool ShowMessage);
34
virtual wxsPropertyContainer* OnBuildExtra();
35
virtual wxString OnXmlGetExtraObjectClass();
36
virtual void OnAddChildQPP(wxsItem* Child,wxsAdvQPP* QPP);
37
virtual wxObject* OnBuildPreview(wxWindow* Parent,long PreviewFlags);
38
virtual void OnBuildCreatingCode();
39
virtual bool OnMouseClick(wxWindow* Preview,int PosX,int PosY);
40
virtual bool OnIsChildPreviewVisible(wxsItem* Child);
41
virtual bool OnEnsureChildPreviewVisible(wxsItem* Child);
42
virtual void OnPreparePopup(wxMenu* Menu);
43
virtual bool OnPopup(long Id);
45
void UpdateCurrentSelection();
47
wxsItem* m_CurrentSelection;
50
#endif // WXSAUINOTEBOOK_H