(svn r16230) -Codechange: Moving chat widgets enum outside window struct.

This commit is contained in:
alberth 2009-05-05 20:03:12 +00:00
parent a75e73fa1f
commit e04d2c88d9

View File

@ -258,16 +258,15 @@ static void SendChat(const char *buf, DestType type, int dest)
}
}
struct NetworkChatWindow : public QueryStringBaseWindow {
private:
enum NetWorkChatWidgets {
NWCW_CLOSE,
NWCW_BACKGROUND,
NWCW_TEXTBOX,
NWCW_SENDBUTTON,
};
/** Widget numbers of the chat window. */
enum NetWorkChatWidgets {
NWCW_CLOSE,
NWCW_BACKGROUND,
NWCW_TEXTBOX,
NWCW_SENDBUTTON,
};
public:
struct NetworkChatWindow : public QueryStringBaseWindow {
DestType dtype;
int dest;