]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/gauge95.h
added wxTextCtrl::MarkDirty()
[wxWidgets.git] / include / wx / msw / gauge95.h
CommitLineData
780d37ac
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: gauge95.h
3// Purpose: wxGauge95 class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
1e6feb95 9// Licence: wxWindows licence
780d37ac
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _GAUGE95_H_
13#define _GAUGE95_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
780d37ac
JS
16#pragma interface "gauge95.h"
17#endif
18
1e6feb95
VZ
19#if wxUSE_SLIDER
20
780d37ac
JS
21#include "wx/control.h"
22
32c1cda2 23WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
780d37ac
JS
24
25// Group box
da0f19f8 26class WXDLLEXPORT wxGauge95 : public wxGaugeBase
780d37ac 27{
bfc6fde4 28public:
da0f19f8
VZ
29 wxGauge95() { }
30
31 wxGauge95(wxWindow *parent,
32 wxWindowID id,
33 int range,
34 const wxPoint& pos = wxDefaultPosition,
35 const wxSize& size = wxDefaultSize,
36 long style = wxGA_HORIZONTAL,
37 const wxValidator& validator = wxDefaultValidator,
38 const wxString& name = wxGaugeNameStr)
bfc6fde4 39 {
da0f19f8 40 (void)Create(parent, id, range, pos, size, style, validator, name);
bfc6fde4
VZ
41 }
42
da0f19f8
VZ
43 bool Create(wxWindow *parent,
44 wxWindowID id,
45 int range,
46 const wxPoint& pos = wxDefaultPosition,
47 const wxSize& size = wxDefaultSize,
48 long style = wxGA_HORIZONTAL,
49 const wxValidator& validator = wxDefaultValidator,
50 const wxString& name = wxGaugeNameStr);
bfc6fde4 51
da0f19f8
VZ
52 // set gauge range/value
53 virtual void SetRange(int range);
54 virtual void SetValue(int pos);
bfc6fde4 55
d9317fd4 56 // overriden base class virtuals
da0f19f8
VZ
57 virtual bool SetForegroundColour(const wxColour& col);
58 virtual bool SetBackgroundColour(const wxColour& col);
780d37ac 59
bfc6fde4 60protected:
da0f19f8
VZ
61 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
62 virtual wxSize DoGetBestSize() const;
fc7a2a60
VZ
63
64
65 DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95)
780d37ac
JS
66};
67
1e6feb95
VZ
68#endif // wxUSE_GAUGE
69
780d37ac
JS
70#endif
71 // _GAUGEMSW_H_