X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39d2f9a7c866338762ca974209219f40d4420af6..d471bb2d4c029e0f9a47e191fa28a56a5588f75e:/include/wx/msw/wince/tbarwce.h diff --git a/include/wx/msw/wince/tbarwce.h b/include/wx/msw/wince/tbarwce.h index 938559aca3..b8041224e3 100644 --- a/include/wx/msw/wince/tbarwce.h +++ b/include/wx/msw/wince/tbarwce.h @@ -12,7 +12,7 @@ #ifndef _WX_BARWCE_H_ #define _WX_BARWCE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarwce.h" #endif @@ -112,7 +112,7 @@ protected: virtual wxToolBarToolBase *CreateTool(wxControl *control); // override WndProc mainly to process WM_SIZE - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); // return the appropriate size and flags for the toolbar control virtual wxSize DoGetBestSize() const;