Vertical toolbar is drawn okay, but does not work
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
#include "base_media_base.h"
|
||||
#include "gamelog.h"
|
||||
#include "settings_func.h"
|
||||
#include "settings_gui.h"
|
||||
#include "ini_type.h"
|
||||
#include "ai/ai_config.hpp"
|
||||
#include "ai/ai.hpp"
|
||||
@@ -1072,7 +1073,11 @@ static bool ZoomMinMaxChanged(int32 p1)
|
||||
|
||||
static bool VerticalToolbarChanged(int32 p1)
|
||||
{
|
||||
|
||||
if (FindWindowByClass(WC_MAIN_TOOLBAR)) {
|
||||
HideVitalWindows();
|
||||
ShowVitalWindows();
|
||||
ReInitAllWindows();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user