]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/nativdlg.cpp
fixed y position of the drop point in HandleDropFiles() (patch 455658)
[wxWidgets.git] / src / msw / nativdlg.cpp
index 5eef575db79bb69f9dfe3905f09d47235f6f5109..d77267951f3c00fe5f17cc8ea7a499026a13b09f 100644 (file)
@@ -245,11 +245,13 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
         win = new wxSpinButton;
     }
 #endif
+#if wxUSE_SLIDER
     else if (str == wxT("MSCTLS_TRACKBAR32"))
     {
         // Need to ascertain if it's horiz or vert
         win = new wxSlider;
     }
+#endif // wxUSE_SLIDER
     else if (str == wxT("STATIC"))
     {
         int style1 = (style & 0xFF);