Fixed some errors in the Windows code.

This commit is contained in:
Pietro Gagliardi 2015-04-16 09:33:21 -04:00
parent b134f898fe
commit 9f65a67671
3 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ static void setChecked(uiCheckbox *c, int checked)
SendMessage(hwnd, BM_SETCHECK, check, 0); SendMessage(hwnd, BM_SETCHECK, check, 0);
} }
uiControl *uiNewCheckbox(const char *text) uiCheckbox *uiNewCheckbox(const char *text)
{ {
struct checkbox *c; struct checkbox *c;
uiWindowsNewControlParams p; uiWindowsNewControlParams p;

View File

@ -42,7 +42,7 @@ static void setText(uiEntry *e, const char *text)
uiWindowsControlSetText(uiControl(e), text); uiWindowsControlSetText(uiControl(e), text);
} }
uiControl *uiNewEntry(void) uiEntry *uiNewEntry(void)
{ {
struct entry *e; struct entry *e;
uiWindowsNewControlParams p; uiWindowsNewControlParams p;

View File

@ -41,7 +41,7 @@ static void setText(uiLabel *l, const char *text)
uiWindowsControlSetText(uiControl(l), text); uiWindowsControlSetText(uiControl(l), text);
} }
uiControl *uiNewLabel(const char *text) uiLabel *uiNewLabel(const char *text)
{ {
struct label *l; struct label *l;
uiWindowsNewControlParams p; uiWindowsNewControlParams p;