]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stubs/statbrxx.h
WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland
[wxWidgets.git] / include / wx / stubs / statbrxx.h
CommitLineData
7c23a0b0
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: msw/statbrxx.h
3// Purpose: native implementation of wxStatusBar. Optional.
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBRXX_H
13#define _WX_STATBRXX_H
14
15#ifdef __GNUG__
16#pragma interface "statbrxx.h"
17#endif
18
19class WXDLLEXPORT wxStatusBarXX : public wxStatusBar
20{
21 DECLARE_DYNAMIC_CLASS(wxStatusBarXX);
22
23public:
24 // ctors
25 wxStatusBarXX();
26 wxStatusBarXX(wxWindow *parent, wxWindowID id = -1, long style = wxST_SIZEGRIP);
27
28 // create status line
29 bool Create(wxWindow *parent, wxWindowID id = -1, long style = wxST_SIZEGRIP);
30
31 // a status line can have several (<256) fields numbered from 0
32 virtual void SetFieldsCount(int number = 1, const int widths[] = NULL);
33
34 // each field of status line has it's own text
35 virtual void SetStatusText(const wxString& text, int number = 0);
36 virtual wxString GetStatusText(int number = 0) const;
37
38 // set status line fields' widths
39 virtual void SetStatusWidths(int n, const int widths_field[]);
40
41 // we're going to process WM_SIZE (of the parent window)
42 void OnSize(wxSizeEvent& event);
43
44 DECLARE_EVENT_TABLE()
45};
46
47#endif
48 // _WX_STATBRXX_H