X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ceade76a4913f9c6fd8dfda1fb291bf08e1d89..5c62cb6c7dfce1fac3ec9ac23cfef8cd2a043214:/src/msw/popupwin.cpp diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index 20f337d99a..d28e3cdfa6 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/popupwin.cpp +// Name: src/msw/popupwin.cpp // Purpose: implements wxPopupWindow for MSW // Author: Vadim Zeitlin // Modified by: @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "popup.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,12 +24,11 @@ #pragma hdrstop #endif +#if wxUSE_POPUPWIN + #ifndef WX_PRECOMP -#include "wx/defs.h" #endif //WX_PRECOMP -#if wxUSE_POPUPWIN - #include "wx/popupwin.h" #include "wx/msw/private.h" // for GetDesktopWindow() @@ -116,4 +111,3 @@ bool wxPopupWindow::Show(bool show) } #endif // #if wxUSE_POPUPWIN -