~ubuntu-branches/ubuntu/utopic/pgadmin3/utopic-proposed

« back to all changes in this revision

Viewing changes to pgadmin/include/ctl/ctlAuiNotebook.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2011-06-07 23:03:54 UTC
  • mfrom: (1.3.1 upstream) (13 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20110607230354-3td4j9y71u4ahcvj
Tags: 1.14.0~beta1-1
* New upstream development release, adding Build-Depends on
  postgresql-server-dev-all >= 117~.
* Add Build-Depends on quilt, (un)patch to debian/rules and patch for fixing
  the include for kwlist.h in pgadmin/db/keywords.c.
* Add pg_config --includedir-server output to CPPFLAGS.
* Remove unrecognized configure options: --with-wx-config,
  --with-pgsql-include, --enable-gtk2, --enable-unicode.
* Clean up manually the files that are left behind after the broken
  distclean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////////
 
2
//
 
3
// pgAdmin III - PostgreSQL Tools
 
4
//
 
5
// Copyright (C) 2002 - 2011, The pgAdmin Development Team
 
6
// This software is released under the PostgreSQL Licence
 
7
//
 
8
// ctlAuiNotebook.cpp - Custom AUI Notebook class
 
9
//
 
10
//////////////////////////////////////////////////////////////////////////
 
11
 
 
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.
 
15
 
 
16
#ifndef CTLAUINOTEBOOK_H
 
17
#define CTLAUINOTEBOOK_H
 
18
 
 
19
// wxWindows headers
 
20
#include <wx/wx.h>
 
21
#include <wx/aui/auibook.h>
 
22
 
 
23
class ctlAuiNotebook : public wxAuiNotebook
 
24
{
 
25
public:
 
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) { }
 
28
 
 
29
protected:
 
30
        void OnChildFocus(wxChildFocusEvent &evt);
 
31
 
 
32
        DECLARE_EVENT_TABLE()
 
33
};
 
34
 
 
35
#endif
 
36