(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.

This commit is contained in:
rubidium
2008-05-06 21:28:30 +00:00
parent 7b6ce158fe
commit 8796331d83
21 changed files with 86 additions and 86 deletions

View File

@@ -296,6 +296,7 @@ private:
public:
Window(WindowProc *proc) : wndproc(proc) {}
virtual ~Window();
uint16 flags4; ///< Window flags, @see WindowFlags
WindowClass window_class; ///< Window class
@@ -345,6 +346,8 @@ public:
void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);
void InvalidateWidget(byte widget_index) const;
void SetDirty() const;
virtual void HandleWindowEvent(WindowEvent *e);
};
@@ -548,7 +551,6 @@ void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int
void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam);
Window *FindWindowById(WindowClass cls, WindowNumber number);
void DeleteWindow(Window *w);
void DeletePlayerWindows(PlayerID pi);
void ChangeWindowOwner(PlayerID old_player, PlayerID new_player);
Window *BringWindowToFrontById(WindowClass cls, WindowNumber number);