X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d6f99cb41d940f1fe2963e25e0377b595e3e232..38723be1d50facc0176455b69b409dcd457ac07a:/interface/wx/slider.h diff --git a/interface/wx/slider.h b/interface/wx/slider.h index d1fd50460e..86db24b6a2 100644 --- a/interface/wx/slider.h +++ b/interface/wx/slider.h @@ -24,11 +24,12 @@ @style{wxSL_AUTOTICKS} Displays tick marks. Windows only. @style{wxSL_MIN_MAX_LABELS} - Displays minimum, maximum labels. + Displays minimum, maximum labels (new since wxWidgets 2.9.1). @style{wxSL_VALUE_LABEL} - Displays value label. + Displays value label (new since wxWidgets 2.9.1). @style{wxSL_LABELS} - Displays minimum, maximum and value labels (same as the two above together). + Displays minimum, maximum and value labels (same as wxSL_VALUE_LABEL + and wxSL_MIN_MAX_LABELS together). @style{wxSL_LEFT} Displays ticks on the left and forces the slider to be vertical. @style{wxSL_RIGHT} @@ -44,6 +45,13 @@ compatible with wxSL_SELRANGE. @endStyleTable + Notice that @c wxSL_LEFT, @c wxSL_TOP, @c wxSL_RIGHT and @c wxSL_BOTTOM + specify the position of the slider ticks in MSW implementation and that the + slider labels, if any, are positioned on the opposite side. So, to have a + label on the left side of a vertical slider, @b wxSL_RIGHT must be used (or + none of these styles at all should be specified as left and top are default + positions for the vertical and horizontal sliders respectively). + @beginEventEmissionTable{wxScrollEvent} You can use EVT_COMMAND_SCROLL... macros with window IDs for when intercepting scroll events from controls, or EVT_SCROLL... macros without window IDs for