X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78e858331664a1002c8e4c814c6c4414ec75467..42782237f24807ddb0bae1c84997e29573f5c2df:/src/msw/statbr95.cpp diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 42c4d3272b..64078bf0db 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/statbr95.cpp +// Name: src/msw/statbr95.cpp // Purpose: native implementation of wxStatusBar // Author: Vadim Zeitlin // Modified by: @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "statbr95.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -27,7 +23,7 @@ #include "wx/dcclient.h" #endif -#if wxUSE_STATUSBAR && defined(__WIN95__) && wxUSE_NATIVE_STATUSBAR +#if wxUSE_STATUSBAR && wxUSE_NATIVE_STATUSBAR #include "wx/intl.h" #include "wx/log.h" @@ -36,9 +32,8 @@ #include "wx/msw/private.h" #include -#if defined(__WIN95__) && !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)) - #include -#endif +// include "properly" +#include "wx/msw/wrapcctl.h" // ---------------------------------------------------------------------------- // macros @@ -390,5 +385,4 @@ wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return wxStatusBarBase::MSWWindowProc(nMsg, wParam, lParam); } -#endif // __WIN95__ && wxUSE_NATIVE_STATUSBAR - +#endif // wxUSE_STATUSBAR && wxUSE_NATIVE_STATUSBAR