X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..2c990ba6d4f88e18e6666f61efe55c7a8b5cc948:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 56556a4c06..decf37139d 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbox.h" #endif @@ -42,7 +42,7 @@ public: // implementation from now on // -------------------------- - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); // overriden base class virtuals virtual bool AcceptsFocus() const { return FALSE; }