void-packages/srcpkgs/filezilla/patches/fix-missing-include-fz-bug-...

40 lines
805 B
Diff

--- src/interface/Mainfrm.h 2015/03/02 20:28:30 6542
+++ src/interface/Mainfrm.h 2015/03/03 15:54:36 6543
@@ -1,13 +1,18 @@
#ifndef __MAINFRM_H__
#define __MAINFRM_H__
+#include "statusbar.h"
+#include "engine_context.h"
+
+#include "wx/timer.h"
+
#ifndef __WXMAC__
#include <wx/taskbar.h>
#endif
-#include "statusbar.h"
-
-#include "engine_context.h"
+#if FZ_MANUALUPDATECHECK
+#include "updater.h"
+#endif
class CAsyncRequestQueue;
class CContextControl;
@@ -25,13 +30,7 @@
class CToolBar;
class CWindowStateManager;
-
-#if FZ_MANUALUPDATECHECK
-#include "updater.h"
-#endif
-class CWindowStateManager;
-
-class CMainFrame : public wxNavigationEnabled<wxFrame>
+class CMainFrame final : public wxNavigationEnabled<wxFrame>
#if FZ_MANUALUPDATECHECK
, protected CUpdateHandler
#endif