ToolMap
Loading...
Searching...
No Matches
managed_aui_wnd.h
1/***************************************************************************
2 managed_aui_wnd.h
3 Main class for managed aui windows
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17// comment doxygen
18
19#ifndef MANAGED_AUI_WND_H
20#define MANAGED_AUI_WND_H
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30#include <wx/aui/aui.h>
31
32class ManagedAuiWnd : public wxEvtHandler {
33 protected:
34 wxAuiManager* m_AuiMgr;
35 wxString m_AuiPanelName;
36
37 // private member function
38 void InitValues();
39
40 public:
41 ManagedAuiWnd(wxAuiManager* AuiManager);
42
44
45 void AddManagedPane(wxWindow* window, const wxAuiPaneInfo& paneinfo, bool bShow = FALSE);
46
47 void ShowPanel();
48
49 void HidePanel();
50
51 bool IsPanelShown();
52};
53
54#endif
Definition managed_aui_wnd.h:32