]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / src / msw / gauge95.cpp
index 0805a02f9811754134af42b5f7bbb548753a66fb..38b99d60dc660b1b6eff46d9355bcc9f02cc547c 100644 (file)
@@ -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;