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

« back to all changes in this revision

Viewing changes to pgadmin/include/debugger/ctlTabWindow.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
1
//////////////////////////////////////////////////////////////////////////
2
2
//
3
3
// pgAdmin III - PostgreSQL Tools
4
 
// RCS-ID:      
5
 
// Copyright (C) 2002 - 2010, The pgAdmin Development Team
 
4
// RCS-ID:
 
5
// Copyright (C) 2002 - 2011, The pgAdmin Development Team
6
6
// This software is released under the PostgreSQL Licence
7
7
//
8
 
// ctlTabWindow.h - debugger 
 
8
// ctlTabWindow.h - debugger
9
9
//
10
10
//////////////////////////////////////////////////////////////////////////
11
11
 
13
13
//      class ctlTabWindow
14
14
//
15
15
//      The ctlTabWindow class implements the tab control that displays at the
16
 
//      bottom of the debugger window.  
 
16
//      bottom of the debugger window.
17
17
//
18
18
//      A ctlTabWindow object holds a notebook control, a result window (a window
19
19
//  that displays the result set generated by a query), and a varWindow (a
25
25
#define CTLTABWINDOW_H
26
26
 
27
27
#include <wx/notebook.h>
 
28
#include <wx/aui/aui.h>
28
29
 
29
30
#include "debugger/ctlVarWindow.h"
30
31
#include "debugger/ctlMessageWindow.h"
33
34
 
34
35
WX_DECLARE_HASH_MAP( int, int, wxIntegerHash, wxIntegerEqual, wsTabHash );
35
36
 
36
 
class ctlTabWindow : public wxNotebook
 
37
class ctlTabWindow : public ctlAuiNotebook
37
38
{
38
39
        DECLARE_CLASS( ctlTabWindow )
39
40
 
40
 
  public:
 
41
public:
41
42
 
42
 
        ctlTabWindow(wxWindow *parent, wxWindowID id, const wxPoint & pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString& name = wxT( "layoutWindow" ));
 
43
        ctlTabWindow(wxWindow *parent, wxWindowID id, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString &name = wxT( "layoutWindow" ));
43
44
 
44
45
        ctlVarWindow    *getVarWindow( bool create = true );            // Returns a pointer to the local-variables window (creates it if requested)
45
46
        ctlVarWindow    *getPkgVarWindow( bool create = true ); // Returns a pointer to the package-variables window (creates it if requested)
50
51
        ctlMessageWindow *getMessageWindow( void );                                     // Returns a pointer to the DBMS messages window (creates it if necessary)
51
52
        void    selectTab( wxWindowID id );
52
53
 
53
 
  private:
 
54
private:
54
55
        ctlResultGrid   *m_resultWindow;        // Displays the result set from a query
55
56
        ctlVarWindow    *m_varWindow;           // Displays the local variables when debugging a PL function
56
57
        ctlVarWindow    *m_pkgVarWindow;        // Displays the package variables when debugging a PL function