#ifndef _WX_SCROLBAR_H_
#define _WX_SCROLBAR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "scrolbar.h"
#endif
// Scrollbar item
class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
{
- DECLARE_DYNAMIC_CLASS(wxScrollBar)
-
public:
wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
~wxScrollBar();
int m_objectSize;
DECLARE_EVENT_TABLE()
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrollBar)
};
#endif