]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/gauge95.h
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFram...
[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
65571936 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
f4998a1c 19#if wxUSE_GAUGE
780d37ac 20
ef359b43 21extern WXDLLEXPORT_DATA(const wxChar*) wxGaugeNameStr;
780d37ac
JS
22
23// Group box
da0f19f8 24class WXDLLEXPORT wxGauge95 : public wxGaugeBase
780d37ac 25{
bfc6fde4 26public:
da0f19f8
VZ
27 wxGauge95() { }
28
29 wxGauge95(wxWindow *parent,
30 wxWindowID id,
31 int range,
32 const wxPoint& pos = wxDefaultPosition,
33 const wxSize& size = wxDefaultSize,
34 long style = wxGA_HORIZONTAL,
35 const wxValidator& validator = wxDefaultValidator,
36 const wxString& name = wxGaugeNameStr)
bfc6fde4 37 {
da0f19f8 38 (void)Create(parent, id, range, pos, size, style, validator, name);
bfc6fde4
VZ
39 }
40
da0f19f8
VZ
41 bool Create(wxWindow *parent,
42 wxWindowID id,
43 int range,
44 const wxPoint& pos = wxDefaultPosition,
45 const wxSize& size = wxDefaultSize,
46 long style = wxGA_HORIZONTAL,
47 const wxValidator& validator = wxDefaultValidator,
48 const wxString& name = wxGaugeNameStr);
bfc6fde4 49
da0f19f8
VZ
50 // set gauge range/value
51 virtual void SetRange(int range);
52 virtual void SetValue(int pos);
bfc6fde4 53
d9317fd4 54 // overriden base class virtuals
da0f19f8
VZ
55 virtual bool SetForegroundColour(const wxColour& col);
56 virtual bool SetBackgroundColour(const wxColour& col);
780d37ac 57
bfc6fde4 58protected:
da0f19f8
VZ
59 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
60 virtual wxSize DoGetBestSize() const;
fc7a2a60
VZ
61
62
63 DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95)
780d37ac
JS
64};
65
1e6feb95
VZ
66#endif // wxUSE_GAUGE
67
780d37ac
JS
68#endif
69 // _GAUGEMSW_H_