1
//////////////////////////////////////////////////////////////////////////
3
// pgAdmin III - PostgreSQL Tools
5
// Copyright (C) 2002 - 2011, The pgAdmin Development Team
6
// This software is released under the PostgreSQL Licence
8
// ctlAuiNotebook.cpp - Custom AUI Notebook class
10
//////////////////////////////////////////////////////////////////////////
12
// The primary purpose of this class is to pass child focus events from
13
// the notebook to the parent window. This is the only way we can grab
14
// focus events from the page controls.
16
#ifndef CTLAUINOTEBOOK_H
17
#define CTLAUINOTEBOOK_H
21
#include <wx/aui/auibook.h>
23
class ctlAuiNotebook : public wxAuiNotebook
26
ctlAuiNotebook(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE) :
27
wxAuiNotebook(parent, id, pos, size, style) { }
30
void OnChildFocus(wxChildFocusEvent &evt);