X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/278c927dd9d163dd67d90cd5e01e77fecfcbac91..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/msw/tbar95.h diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index b06b0fa46f..0f74e3da58 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -12,7 +12,7 @@ #ifndef _WX_TBAR95_H_ #define _WX_TBAR95_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbar95.h" #endif @@ -67,6 +67,7 @@ public: void OnMouseEvent(wxMouseEvent& event); void OnSysColourChanged(wxSysColourChangedEvent& event); + void OnEraseBackground(wxEraseEvent& event); void SetFocus() {} @@ -101,7 +102,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;