diff -r 5135b200b376 -r cd413fa2e252 src/dock_gui.cpp --- a/src/dock_gui.cpp Tue Feb 13 23:07:54 2007 +0000 +++ b/src/dock_gui.cpp Tue Feb 13 23:49:01 2007 +0000 @@ -226,7 +226,7 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e) { switch (e->event) { - case WE_CREATE: LowerWindowWidget(w, _station_show_coverage + 3); break; + case WE_CREATE: w->LowerWidget(_station_show_coverage + 3); break; case WE_PAINT: { int rad; @@ -246,9 +246,9 @@ switch (e->we.click.widget) { case 3: case 4: - RaiseWindowWidget(w, _station_show_coverage + 3); + w->RaiseWidget(_station_show_coverage + 3); _station_show_coverage = (e->we.click.widget != 3); - LowerWindowWidget(w, _station_show_coverage + 3); + w->LowerWidget(_station_show_coverage + 3); SndPlayFx(SND_15_BEEP); w->SetDirty(); break; @@ -305,7 +305,7 @@ static void BuildDocksDepotWndProc(Window *w, WindowEvent *e) { switch (e->event) { - case WE_CREATE: LowerWindowWidget(w, _ship_depot_direction + 3); break; + case WE_CREATE: w->LowerWidget(_ship_depot_direction + 3); break; case WE_PAINT: w->DrawWidgets(); @@ -320,9 +320,9 @@ switch (e->we.click.widget) { case 3: case 4: - RaiseWindowWidget(w, _ship_depot_direction + 3); + w->RaiseWidget(_ship_depot_direction + 3); _ship_depot_direction = (e->we.click.widget == 3 ? AXIS_X : AXIS_Y); - LowerWindowWidget(w, _ship_depot_direction + 3); + w->LowerWidget(_ship_depot_direction + 3); SndPlayFx(SND_15_BEEP); UpdateDocksDirection(); w->SetDirty();