]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gaugemsw.cpp
add wxFontEncoding member into wxNativeEncodingInfo
[wxWidgets.git] / src / msw / gaugemsw.cpp
index 542c1231638dd064ba77987fabc5ca444b2b4484..cb8c2b91d518c5a132a13436bc8712fe2d351c33 100644 (file)
@@ -80,7 +80,9 @@ bool wxGaugeMSW::Create(wxWindow *parent, wxWindowID id,
   }
 
   SetName(name);
+#if wxUSE_VALIDATORS
   SetValidator(validator);
+#endif // wxUSE_VALIDATORS
 
   if (parent) parent->AddChild(this);
   m_rangeMax = range;