]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
Added missing includes
[wxWidgets.git] / samples / widgets / slider.cpp
index 748049a4efc9d6f74f925cd1a1ce545bf1270ee1..b23a4a74536405009c710441be6faf939de95486 100644 (file)
@@ -562,11 +562,11 @@ void SliderWidgetsPage::OnUpdateUIRadioSides(wxUpdateUIEvent& event)
 
 void SliderWidgetsPage::OnUpdateUIBothSides(wxUpdateUIEvent& event)
 {
-#if defined(__WIN95__) || defined(__WXUNIVERSAL__)
+#if defined(__WXMSW__) || defined(__WXUNIVERSAL__)
     event.Enable( m_chkTicks->GetValue() );
 #else
     event.Enable( false );
-#endif // defined(__WIN95__) || defined(__WXUNIVERSAL__)
+#endif // defined(__WXMSW__) || defined(__WXUNIVERSAL__)
 }
 
 void SliderWidgetsPage::OnSlider(wxScrollEvent& event)