From 4363187d4e86c63d9465cbe7296d11fdc7815e32 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 17 Feb 2017 15:00:52 +0100 Subject: Replace obsolete WIN32 ifdefs with platform define. --- plugingui/filebrowser.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugingui/filebrowser.h') diff --git a/plugingui/filebrowser.h b/plugingui/filebrowser.h index 64ef4da..bc7170a 100644 --- a/plugingui/filebrowser.h +++ b/plugingui/filebrowser.h @@ -27,6 +27,7 @@ #pragma once #include +#include #include "widget.h" #include "button.h" @@ -36,7 +37,8 @@ #include "image.h" #include "directory.h" -namespace GUI { +namespace GUI +{ class FileBrowser : public Widget { public: @@ -59,7 +61,7 @@ private: void handleKeyEvent(); Directory dir; -#ifdef WIN32 +#if DG_PLATFORM == DG_PLATFORM_WINDOWS bool above_root; bool in_root; #endif -- cgit v1.2.3