1
//////////////////////////////////////////////////////////////////////////
3
// pgAdmin III - PostgreSQL Tools
4
// RCS-ID: $Id: ctlMessageWindow.h 6136 2007-03-29 10:38:10Z hiroshi $
5
// Copyright (C) 2002 - 2008, The pgAdmin Development Team
6
// This software is released under the Artistic Licence
8
// ctlMessageWindow.h - debugger
10
//////////////////////////////////////////////////////////////////////////
12
////////////////////////////////////////////////////////////////////////////////
13
// class ctlMessageWindow
15
// This class implements the window that displays DBMS messages at the
16
// bottom of the debugger window. When we create a ctlMessageWindow, the parent
17
// is a ctlTabWindow (the ctlMessageWindow becomes a tab in a tab control).
19
////////////////////////////////////////////////////////////////////////////////
21
#ifndef CTLMESSAGEWINDOW_H
22
#define CTLMESSAGEWINDOW_H
24
class ctlMessageWindow : public wxTextCtrl
26
DECLARE_CLASS( ctlMessageWindow )
29
ctlMessageWindow( wxWindow * parent, wxWindowID id );
31
void addMessage( wxString message ); // Add a message to the window
32
void delMessage( const char * name = NULL ); // Remove a message from the window
33
wxString getMessage( int row );
39
int m_row; // Row number for this variable/grid cell