X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..67b81440f079f88e6202a199fd5763af73bbac0f:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 0805a02f98..74e1649158 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -44,7 +44,9 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, const wxString& name) { SetName(name); +#if wxUSE_VALIDATORS SetValidator(validator); +#endif // wxUSE_VALIDATORS if (parent) parent->AddChild(this); m_rangeMax = range; @@ -65,7 +67,7 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, int width = size.x; int height = size.y; - long msFlags = WS_CHILD | WS_VISIBLE | WS_TABSTOP; + long msFlags = WS_CHILD | WS_VISIBLE; #ifndef PBS_VERTICAL #define PBS_VERTICAL 0x04