(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "player_gui.h"
|
||||
#include "settings_type.h"
|
||||
#include "toolbar_gui.h"
|
||||
#include "statusbar_gui.h"
|
||||
#include "variables.h"
|
||||
#include "tilehighlight_func.h"
|
||||
|
||||
@@ -431,8 +432,6 @@ void SetupColorsAndInitialWindow()
|
||||
}
|
||||
}
|
||||
|
||||
extern void ShowStatusBar();
|
||||
|
||||
void ShowVitalWindows()
|
||||
{
|
||||
AllocateToolbar();
|
||||
|
Reference in New Issue
Block a user