X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed7919869508ccd5c868683c28706f82e82a1b9b..3684ade82ec6f5fb7ff72341e26060b6ea0793c8:/include/wx/msw/statbr95.h diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index b84a016a6a..66446448db 100644 --- a/include/wx/msw/statbr95.h +++ b/include/wx/msw/statbr95.h @@ -12,7 +12,7 @@ #ifndef _STATBR95_H #define _STATBR95_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbr95.h" #endif @@ -58,15 +58,15 @@ public: virtual int GetBorderX() const; virtual int GetBorderY() const; - void OnSize(wxSizeEvent& event); - protected: void CopyFieldsWidth(const int widths[]); void SetFieldsWidth(); + // override base class virtual + void DoMoveWindow(int x, int y, int width, int height); + private: - DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxStatusBar95); + DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95) }; #endif // wxUSE_NATIVE_STATUSBAR