Removed the obsolete HasTabStops() from the Windows backend. It was needed for uiTab due to the incorrect way it worked before; soon I will make it the correct way, and we won't need it.

This commit is contained in:
Pietro Gagliardi 2015-09-02 09:39:21 -04:00
parent 8846af48d4
commit d44f966fc3
3 changed files with 0 additions and 30 deletions

View File

@ -203,22 +203,6 @@ static void boxRelayout(uiWindowsControl *c, intmax_t x, intmax_t y, intmax_t wi
uiWindowsFreeSizing(d);
}
/* TODO
static int boxHasTabStops(uiControl *c)
{
uiBox *b = uiBox(c);
struct child *bc;
uintmax_t i;
for (i = 0; i < b->controls->len; i++) {
bc = ptrArrayIndex(b->controls, struct child *, i);
if (uiControlHasTabStops(bc->c))
return 1;
}
return 0;
}
*/
static void boxContainerUpdateState(uiControl *c)
{
uiBox *b = uiBox(c);

View File

@ -129,13 +129,6 @@ static uintptr_t radiobuttonsSetZOrder(uiControl *c, uintptr_t insertAfter)
}
return insertAfter;
}
static int radiobuttonsHasTabStops(uiControl *c)
{
struct radiobuttons *r = (struct radiobuttons *) c;
return r->hwnds->len != 0;
}
*/
void uiRadioButtonsAppend(uiRadioButtons *r, const char *text)

View File

@ -152,13 +152,6 @@ static uintptr_t spinboxSetZOrder(uiControl *c, uintptr_t insertAfter)
uiWindowsUtilSetZOrder(s->updown, (uintptr_t) (s->hwnd));
return (uintptr_t) (s->updown);
}
static int spinboxHasTabStops(uiControl *c)
{
struct spinbox *s = (struct spinbox *) c;
return uiWindowsUtilHasTabStops(s->hwnd);
}
*/
static void defaultOnChanged(uiSpinbox *s, void *data)