From 0407d74eaaa62fd2f7ab7be5e5ca890417a8cd23 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 14 Apr 2022 00:40:36 +0200 Subject: [PATCH] Remove __WXSTUBS__ mention and test This has never really been a thing and there remained just one (never used) test for it in the sources, so simply remove it. No real changes. --- docs/doxygen/mainpages/const_cpp.h | 1 - src/common/file.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/docs/doxygen/mainpages/const_cpp.h b/docs/doxygen/mainpages/const_cpp.h index 7a513be52b..0397d3afb6 100644 --- a/docs/doxygen/mainpages/const_cpp.h +++ b/docs/doxygen/mainpages/const_cpp.h @@ -43,7 +43,6 @@ while __WINDOWS__ should be used for the platform tests.} @itemdef{__WXOSX_COCOA__, macOS using Cocoa (AppKit)} @itemdef{__WXOSX_MAC__, macOS (Cocoa)} @itemdef{__WXPM__, OS/2 native Presentation Manager (not used any longer).} -@itemdef{__WXSTUBS__, Stubbed version ('template' wxWin implementation)} @itemdef{__WXXT__, Xt; mutually exclusive with WX_MOTIF, not implemented in wxWidgets 2.x} @itemdef{__WXX11__, wxX11 (__WXUNIVERSAL__ will be also defined)} @itemdef{__WXWINE__, WINE (i.e. WIN32 on Unix)} diff --git a/src/common/file.cpp b/src/common/file.cpp index da15d06d89..e231ca0c8d 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -50,9 +50,6 @@ #ifdef __GNUWIN32__ #include "wx/msw/wrapwin.h" #endif -#elif (defined(__WXSTUBS__)) - // Have to ifdef this for different environments - #include #else #error "Please specify the header with file functions declarations." #endif //Win/UNIX